Hi all,
I am running OC 10.x with MariaDB as backend.
For backup purposes I stop mariadb and are backing up the files under /var/lib/mysql
.
Obviously, Owncloud does not like this and daily reports a crash:
{
"date": "2021-05-26T00:01:01+00:00",
"parentId": null,
"id": "f14e82c128d98ae01ce464b60ad8fbd3fdc63.14356812",
"class": "Doctrine\\DBAL\\DBALException",
"message": "Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused",
"stacktrace": [
Before stopping the database I put OC in maintenance mode through occ:
sudo -u www-data /srv/www/owncloud.knebb.de/occ maintenance:mode --on
Looks like maintenance mode is not enough to shut down the database. Do I have to stop the web server/ httpd?
Thanks!
/KNEBB