PROBLEM
After making a backup of the 2024 ArcGIS Monitor Server and restoring the deployment, attempts to log into ArcGIS Monitor return either one of the following errors:
Error: ArcGIS Monitor database not connected
Error: ArcGIS Monitor database not registered
This issue occurs in the PostgreSQL database. Information on the .env file has been altered after the disaster recovery process. Part of the restoring process involves copying the config-store folder into a new location. The .env file stores information regarding connection details of the old PostgreSQL database. The details include:
BD_ADDRESS= <The hostname of the PostgreSQL instance> DB_CONNECTION= <The type of database connection> DB_DATABASE= <The name of the database> DB_ENCRYPT= <If encryption is used> DB_PASSWORD= <The password of the connecting user> DB_USER= <The username for the connecting user>
If any of the above information is altered after the disaster recovery process, the information will not tally with the .env file, and ArcGIS Monitor returns the errors.
Update the new PostgreSQL database information in ArcGIS Monitor. Refer to ArcGIS Monitor: Edit database connection settings for instructions.
Article ID: 000032844
Get help from ArcGIS experts
Download the Esri Support App