Restore Nextcloud docker instance

  • For some reason my Nextcloud Docker image was not listed anymore in the "running" section.


    1. So I did a backup of the the "sharedfolders/AppData" and "sharedfolders/Nextcloud" folders.
    2. Started the Nextcloud docker again, with the according config, data and port parameters.


    Now, when I'm trying to access Nextcloud via https://192.168.0.11:444, I get following:


    Screen Shot 2019-07-10 at 15.22.40.png


    Digging deeper into the nginx logs it looks like it cannot connect to the DB. Probably because the IP of the DB has changed:


    Code
    [error] 330#330: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory in /config/www/nextcloud/lib/private/DB/Connection.php:64


    How and where do I have to update the Nextcloud config, when I don't get the "Nextcloud Installer GUI" served?



    Thanks in advance.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!