Issue: When a Domino environment has been archived it is no longer visible in the environments tab or can be selected for use in any new projects/workspace. Archived environments will continue to be used in projects where they were set a default until the default for the given project is changed, however they can not be modified.
Solution: There are 2 methods to continue using/modifying the environment after it has been archived. One option would be to navigate to the environment page via workspace settings view or project settings view . The overview of an archived environment will still have the option to duplicate it. This will essentially allow to create and edit an active copy of the archived environment.
Alternative method is to unarchive the environment from mongodb.
This can be done with the following commands.
First we can verify the environment based on the name, this will ensure it is archived and is the correct one as per the _id . We need to verify this as you can have more than 1 environment with the same name .
db. environments_v2.find({ "name" : "test-rs" })
Replace "test-rs" with the name of your environment.
This command will return similar result to this below where we can see the isArchived flag is set to true.
{
"_id" : ObjectId("6380becce88e2b0cb72369a0"),
"name" : "test-rs",
"description" : "",
"visibility" : "Global",
"isArchived" : true,
"activeRevisionId" : ObjectId("6380c748e88e2b0cb72369a5")
}
To unarchive the environment you will need to modify the record and set the flag to false with the following command .
db. environments_v2.update({ "name" : "test-rs" },{$set: {"isArchived" : false} })
Upon success you should see output similar to the one below:
WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })
Comments
0 comments
Please sign in to leave a comment.