I have created a "Remote Components Upgrade" task as described here
The agent on the target host gets updated, but the server upgrade has failed. I have found the following error in the /var/log/eset/RemoteAdministrator/EraServerInstaller.log
2019-11-07 21:54:21 Error: It is not possible to deploy the database, status of the database is: DB_INVALID
2019-11-07 21:54:21 Information: DbCheckConnection: Set output property: P_DB_CONNECTION_STATUS = 77701
2019-11-07 21:54:21 Information: DbCheckConnection: Return code: 0
2019-11-07 21:54:21 Information: Installer: The specified database was not used for this purpose before or it is corrupted.
2019-11-07 21:54:21 Information: Installer: Error: The specified database was not used for this purpose before or it is corrupted.
I have tried to remove database (backed it up previously), then upgrade process creates the empty database but also fails with another message
Error: Cannot upgrade, database 'era_db' is missing
Any idea how to fix this problem?