Routing bug

I created a project called “new” however the URL project/new is the page for creating a new project.

Now I have a project called “new” which appears on my dashboard however I cannot access the project because the routing takes me straight to the page for creating a new project. How can I delete this project?

Hi,

Thanks for the heads up! I’ve created a github issue to get this fixed: https://github.com/OctopusDeploy/Issues/issues/2728

In the meantime you can use this API script to delete your project: https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/REST/PowerShell/Projects/DeleteProjectByName.ps1

Best regards,
Dalmiro

I have fixed this issue by deleting the project in the database:
DELETE FROM [Octopus].[dbo].[Project] WHERE Name=‘New’;

This seems to work however it’s not ideal. I suggest that you should prevent users from creating a project with the name “new”.

Hi,

Deleting a project from the database like that is not safe, as there might be other references to that project ID in other tables. For that reason I provided an API script to get it done properly.

We’ll prevent users from naming the project “new” once we tackle that github issue.

Regards,
Dalmiro

Notice:

This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.