Portal import site throws "Failed to import site. Failed to start the database server. The startup timed out. " error

877
3
11-10-2021 12:29 PM
NikhilParupalli
New Contributor

I am trying to import portalsite to a new Arc GIS Portal.

when i use Import site tool from portal admin , below error throws up

Failed to import site. Failed to start the database server. The startup timed out. Please check the log file at C:\arcgisportal\logs\database\pgsql.log.

0 Kudos
3 Replies
JonathanQuinn
Esri Notable Contributor

You'll need to look at the Event Viewer logs to determine why the database doesn't start up. You should look at events 5 minutes prior to the error message in the portal logs.

0 Kudos
NikhilParupalli
New Contributor

I see this error in event viewer 

"C:/arcgisportal/db" is not a database cluster directory
0 Kudos
JonathanQuinn
Esri Notable Contributor

The db directory that's restored should have a fair amount of files/folders in it. If it doesn't, then it can't start. You may want to extract the db folder from the backup, (extract the webgissite backup and then the portalsite backup) to validate whether the db backup was created successfully. If it was, then the issue is when it's restored to the target site.

0 Kudos