Iām not good with Linux so please explain what clearly what you need me to provide. Nextcloud in docker on a zimaboard running ubuntu fine for several months then today Iām getting Internal Server Error messages if I try and open Nextcloud.
I can see mariaDB errors: āAborted connection 5 to db: āunconnectedā user: āunauthenticatedā host: ā172.21.0.3ā (This connection closed normally without authentication)ā
I have deleted these Nextcloud & MariaDB containers, I have deleted these images I have downloaded and redeployed the stack and then it wants me to create a Nextcloud admin account I get: "Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2054] Server sent charset (0) unknown to the client. Please, report to the developers "
So here I am wondering what its is Iām supposed to do to fix this and why did it just suddenly break. This is frustrating me to no end I iām not good with Linux but there is no other option but then its breaks and is a nightmare to fix.
Thankyou very much gyterpena you saved me hours and likely was going to dump the zimaboard for Windows running a VMWARE Linux/docker image with Nextcloud as at least VMware can make snapshots to restore, just didnāt want my PC running 24/7/365 or deal with the hassle of Windows updates forcing and unexpected restart potential corrupting mariadb.
I entered : --character-set-server=utf8 at the end of my command, made a new stack in the web editor with your fix added and it all worked again, my command was:
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed --character-set-server=utf8
Its just a pity that an update to mariadb can break nextcloud, surely the solution is for nextcloud to have its own database rather than rely on a third party app.
Its a yaml file that docker compose can run or in Portainer you can go to stack, add stack, name it nextcloud and in the web editor just paste in the contents of the yaml file then deploy. It will download the files and configure them.