Nextcloud version (eg, 20.0.5): 18.0.12snap1 "SNAP Package"
Operating system and version (eg, Ubuntu 20.04): Ubuntu 19.10
Apache or nginx version (eg, Apache 2.4.25): Apache
The issue:
This system has been in operation for a long time, and suddenly no longer correctly loads. I cannot access any of the Web GUI, etc. But when I run the following command in the hosts terminalā¦:
snap logs nextcloud
Starting MySQL...
[ERROR] --initialize specified but the data directory has files in it. Aborting
[ERROR] Aborting
Starting MySQL
* The server quit without updating PID file (/tmp/pids/mysql.pid)
Waiting for MySQL...
Does anyone have an idea how to correct this, without losing the data? I believe the reason is the above error preventing MySQL from starting, and thus the entire snap fails to start.