Unable to delete old Environment

Hello All,

We are on Octopus Server: v2020.1.10
I am attempting to delete old environment that is not being used anymore. I made sure nothing is referencing it. When attempting to delete via a screen I get this error:

“Attempted to view a document with Id ProjectTriggers-21 and SpaceId Spaces-2 that doesn’t match the current space context”

I also noticed my space id is actually “Spaces-23”. Feel like some data integrity issue on DB.
Any idea how I can fix this so I can delete environment that I no longer need?

Thank you

Hi @kshatalov,

Thank you for contacting Octopus Support. I’m sorry you are running into this issue when trying to delete this environment.

Could you share a copy of your Octopus Server logs?

Feel free to attach them here. Otherwise, you may DM the files to me directly or use the following secure upload link:

Also, could you tell me if any tools were used to migrate data between Spaces in Octopus Server?

Let me know at your earliest convenience.

Best Regards,