Приветствую, уважаемые!
На домашний сервер установил связку Docker+Nextcloud+MariaDB+Let’sEncrypt по инструкции: Установка Nextcloud с Docker — DockerHosting.ru
В целом, всё работает, но тормоза напрягают. В поисках причины увидел ошибку :
"SQLite is currently being used as the backend database. For larger installations we recommend that you switch to a different database backend. This is particularly recommended when using the desktop client for file synchronisation. To migrate to another database use the command line tool: “occ db:convert-type”. "
И озадачился. В инструкции установка MariaDB, в docker-compose.yaml тоже MariaDB, а NC жалуется на SQLite.
grep db config/config.php выдаёт ‘dbtype’ => ‘sqlite3’,
Помогите, пожалуйста, разобраться с этим.
Greetings, dear friends!
I installed a bundle on my home server Docker+Nextcloud+MariaDB+Let’sEncrypt according to the instructions: Installation Nextcloud с Docker — DockerHosting.ru
In general, everything works, but the brakes strain the car. While searching for the cause, I saw an error : "SQLite is currently being used as the backend database. For larger installations we recommend that you switch to a different database backend. This is particularly recommended when using the desktop client for file synchronisation. To migrate to another database use the command line tool: “occ db:convert-type”. "
And puzzled. In the installation instructions MariaDB, в docker-compose.yaml too MariaDB, but NC complains about SQLite.
It is crucial to create all the compose.yml and .env file before you start the container! Depending on the current state you could start from scratch or migrate the DB using the occ command.
Thank you for your response. If I understand correctly, then I now just need to re-create and run two containers, with MariaDB and Nextcloud, using my current yaml and env files? Or on the other hand, I won’t lose anything if I try to migrate the DB.