Lost configured domains

Issue #1090 resolved
Ullrich Neiss created an issue

On container start up I see the following message in the log:

[cont-init.d] 32-database.sh: exited 0.
[cont-init.d] 33-domains.sh: executing...
* initalizing settings for domains
09:36:39 CRITICAL [console] Error thrown while running command "domain:warm-up". Message: "An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 no such table: domains" ["exception" => Doctrine\DBAL\Exception\TableNotFoundException { …},"command" => "domain:warm-up","message" => "An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 no such table: domains"]

In ExceptionConverter.php line 52:

An exception occurred while executing a query: SQLSTATE[HY000]: General err
or: 1 no such table: domains

In Exception.php line 28:

SQLSTATE[HY000]: General error: 1 no such table: domains

In Connection.php line 71:

SQLSTATE[HY000]: General error: 1 no such table: domains

version analogic/poste.io:2.3.21

Is there any way to recover the domains table?

Comments (1)

  1. SH repo owner

    If you are lucky, you will find the file users.db-backup... and replace the users.db file with it. Or you can open the file and copy the data - it is just a sqlite3 file.

    And upgrade to the latest version!

  2. Log in to comment