# Invalid stage name cannot be renamed

**URL:** <https://www.finalbuilder.com/forums/t/invalid-stage-name-cannot-be-renamed/6975>\
**Category:** Bugs\
**Tags:** fixed\
**Created:** [February 2, 2021, 9:28pm UTC](https://www.finalbuilder.com/forums/t/invalid-stage-name-cannot-be-renamed/6975 "2021-02-02T21:28:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjansen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@bjansen](https://www.finalbuilder.com/forums/u/bjansen)\
**Post date:** [February 2, 2021, 9:28pm UTC](https://www.finalbuilder.com/forums/t/invalid-stage-name-cannot-be-renamed/6975/1 "2021-02-02T21:28:12Z")

</div>

I have a project with a stage name ‘TE \> PR’. This was no problem in the past but recently I upgraded to the latest version of Continua.  
When I save my project I get a warning / exception:

> An error occurred while trying to save the configuration data. Error: One field failed validation. ConfigurationVersion.Configuration.Latest.Stages.Name: Stage Name must start with a letter, number or underscore and can only contain alphanumeric characters with spaces and the following special characters: {}-\_():. The value of ‘Name’ property is ‘TE \> PR’.

So now I have a project with an invalid stage name that I cannot rename. I also can’t make any other changes to the project.

How can I change the name to a valid one so that I can save the project?

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [February 2, 2021, 11:24pm UTC](https://www.finalbuilder.com/forums/t/invalid-stage-name-cannot-be-renamed/6975/2 "2021-02-02T23:24:59Z")

</div>

Hi @bjansen,

Thank you for reporting this. The previous configuration version is incorrectly being validated when a new configuration version is saved.

This has now been fixed for the next version of Continua CI, which we hope to release in the next couple of days.

Meanwhile, you can update the stage name in the database.

If you are using the bundled PostgreSQL database then use [pgAdmin4](https://www.pgadmin.org/download/pgadmin-4-windows/) to connect to the PostgreSQL server.

The connection details are in the server configuration file ( `C:\Program Files\VSoft Technologies\ContinuaCI\Server\Continua.Server.Service.exe.config`). Look in the `hibernate-configuration` section under `<property name="connection.connection_string">`.

Open the `Query Tool` from the `Tools` menu and run the following SQL command:

```auto
UPDATE builds_stagedefinition SET name = 'TE to PR' WHERE name = 'TE > PR';

```

Ensure that you shutdown the `Continua CI Server` service before making changes to the database. The changes will be picked up when the service is restarted.

---

<div class="post-metadata">

**Author:** ![bjansen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@bjansen](https://www.finalbuilder.com/forums/u/bjansen)\
**Post date:** [February 3, 2021, 7:36am UTC](https://www.finalbuilder.com/forums/t/invalid-stage-name-cannot-be-renamed/6975/3 "2021-02-03T07:36:41Z")

</div>

Thanks for your quick answer and fix!
