After upgrading to liana v7, I made sure everything was OK in development then pushed in staging and production. Problem is the staging environment no longer appears in the environments dropdown.
What’s bugging me is that the staging env and production env are very similar!
Actual behavior
My development environment and my production environment both show up in the dropdown but my staging environment does not.
I can configure the environment in the project settings and see that the liana version has been correctly upgraded.
Interestingly I can access the environment using its URL (https://app.forestadmin.com/Zenvest/staging2/Operations)
Failure Logs
I copied the development layout to staging, I then received an email and when I click the link I get the following error:
Project 44412 not found.
Thanks for reaching out and welcome to this community
I’ve checked your staging environment information and it appears that it was flagged as a development environment and not as a remote. This misconfiguration was probably the cause of your issue.
I’ve fixed it for you just now. Can you tell me if the problem persists?
@saimeunt yes right, the misconfiguration led to the issue too
Could you try to create another role (for instance from “everything allowed”) and see if this new role contains the staging environment (along with the prod environment)?
Unfortunately I can’t create a new role since I’m on the community plan.
I can’t delete the role either because all my users are assigned to it.
We’ve not yet configured the role system and the only role we have is “Admin” with everything enabled, can you create/reset a similar role on my behalf please?
Hey @louis thank you for your help, creating another role copied from “Everything allowed” and then removing the legacy bugged role indeed proved to solve my problem.