Change the mariadb docker repository to "linuxserver/mariadb:110.4.21mariabionic-ls31" (without the " of course) and let it run. Show Then edit the docker repository again to "linuxserver/mariadb:latest" and it should run fine again.
Edited August 26, 2021 by whitedwarf
Link to commentPavaPosted August 26, 2021 Pava
Posted August 26, 2021 (edited) Hello, thank you for help. I change repository to linuxserver/mariadb:110.4.21mariabionic-ls31, click apply, but now can not find Mariadb in Docker Containers. Its missing.
Please where I can find now Mariadb config file to change and start again? Now I find container in orphan image. How I can rebuild again? Edited August 26, 2021 by Pava
Link to commentRockikonePosted August 26, 2021 Rockikone
Posted August 26, 2021 @whitedwarf Thanks so much. Your instruction works for me. I always looked for the error in the nextcloud container
Greetings from Bavaria ๐
Link to commentScoopsy13Posted August 26, 2021 Scoopsy13
Posted August 26, 2021 Thanks very much @whitedwarf
This fixed my issue as well.
Link to commentdaveo132Posted August 26, 2021 daveo132
Posted August 26, 2021 Thank you @whitedwarf, I just updated my docker containers I couldn't for the life of me figure out what went wrong. That trick solved if for me right away.
Link to commentPavaPosted August 26, 2021 Pava
Posted August 26, 2021 For me also ok. I was backup appdata/mariadb, reinstall image, roll back appdata/mariedb did like what whiredraft wrote, and now all is ok. Thank you so much for help.
Link to commenttomtom77550Posted August 26, 2021 tomtom77550
Posted August 26, 2021 (edited) Hello. Folowing mariaDB update hi experienced the same problem.
MariaDB was updated while nextcloud was running. i don't know if this is wyse to do it like this, but i wanted to test and see what happenend.
and of course it crashed with the same problem.
following instructions posted by @whitedwarfi have done the following steps
Webui for nextcloud up and running again.
many thanks to @whitedwarffor the solution. ๐ Edited August 26, 2021 by tomtom77550
Link to commentab5gPosted August 27, 2021 ab5g
Posted August 27, 2021
An alternate way is here https://forums.unraid.net/topic/48383-support-linuxserverio-nextcloud/?do=findComment&comment=1028554
Link to commentdaveo132Posted August 28, 2021 daveo132
Posted August 28, 2021 (edited) Well it did work, Since today I'm now getting "unexpectedly closed the connection" errors
EDIt, trying the fix again to see if it helps. I did notice that my Maria DB is constantly logging like this
Spoiler ErrorWarningSystemArrayLogin
Those last lines just go on and on for the rest of the log Edited August 28, 2021 by daveo132
Link to commentdaveo132Posted August 28, 2021 daveo132
Posted August 28, 2021 Nevermind I think I fixed it now. My NoIP updated around the same time but something broke with the cached IP address.
Taken me a little while to figure it out but I can log back into my next cloud again now.
Link to commentBatman11Posted August 28, 2021 Batman11
Posted August 28, 2021
This too worked for me. Thank you
Link to commentDchodPosted August 30, 2021 Dchod
Posted August 30, 2021 (edited) @whitedwarf
Thanks so much for the instructions. Solution worked like a charm! Edited August 30, 2021 by Dchod
Link to commentbsimonianPosted August 30, 2021 bsimonian
Posted August 30, 2021
Awesome, thanks for the share; seems to have fixed it!
Link to commentMartintheshredPosted August 31, 2021 Martintheshred
Posted August 31, 2021
Thanks @Tomtom77550 & @whitedwarf for your info this was foxing me good style
Link to comment1q8448q1Posted August 31, 2021 1q8448q1
Posted August 31, 2021
Thank you very much! This saved my evening quick! Thank you!!!
Link to commentluizmontPosted September 1, 2021 luizmont
Posted September 1, 2021 It solved the problem for me as wel!! Thank you very much!
Link to commentMogoolPosted September 3, 2021 Mogool
Posted September 3, 2021 (edited)
You're my Hero Thanks a lot! Edited September 3, 2021 by Mogool
Link to commentstarwak3Posted September 10, 2021 starwak3
Posted September 10, 2021 Got this error last week - the posted solution worked.
Got this error this evening, the posted solution does not work now. Any ideas?
Log for: mariadb [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 40-initialise-db: executing... [cont-init.d] 40-initialise-db: exited 0. [cont-init.d] 90-custom-folders: executing... [cont-init.d] 90-custom-folders: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Warning: World-writable config file '/etc/my.cnf.d/custom.cnf' is ignored Warning: World-writable config file '/etc/my.cnf.d/custom.cnf' is ignored 210909 22:01:41 mysqld_safe Logging to '/config/databases/aae9e9e9ff69.err'. 210909 22:01:41 mysqld_safe Starting mariadbd daemon with databases from /config/databases
Log for: nextcloud [cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing...
[cont-init.d] 40-config: exited 0.
[cont-init.d] 50-install: executing...
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
[cont-init.d] 60-memcache: exited 0.
[cont-init.d] 70-aliases: executing...
[cont-init.d] 70-aliases: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Link to commentSimplexPosted September 14, 2021 Simplex
Posted September 14, 2021
Working fine, thanks a lot.
Link to commentSpyderturbo007Posted September 25, 2021 Spyderturbo007
Posted September 25, 2021
Thanks for the help @whitedwarf that worked perfectly.
Link to commentbraydinationPosted October 27, 2021 braydination
Posted October 27, 2021 I had the same issue where I stupidly forgot to stop all dockers that had a db in mariadb, so now the docker has vanished altogether. Is there a way that I can restore just the one docker rather than doing the complete restore for all dockers via the CA Backup/Restore app?
Link to commentsmithCanaryPosted November 30, 2021 smithCanary
Posted November 30, 2021
Hello everyone. I have followed the following instructions provided by @tomtom77550 and have not been able to get it to work again.... Accessing the log, I get the following error: [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-config: executing... [cont-init.d] 20-config: exited 0. [cont-init.d] 30-keygen: executing... using keys found in /config/keys [cont-init.d] 30-keygen: exited 0. [cont-init.d] 40-config: executing... [cont-init.d] 40-config: exited 0. [cont-init.d] 50-install: executing... [cont-init.d] 50-install: exited 0. [cont-init.d] 60-memcache: executing... [cont-init.d] 60-memcache: exited 0. [cont-init.d] 70-aliases: executing... [cont-init.d] 70-aliases: exited 0. [cont-init.d] 90-custom-folders: executing... [cont-init.d] 90-custom-folders: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] Host is unreachable in /config/www/nextcloud/lib/private/DB/Connection.php:87 Searching for information about the error I found this post, but I don't quite understand what I should do. What should I do? Any suggestions?
Link to commentSnowmanPosted December 2, 2021 Snowman
Posted December 2, 2021
I tried this as well as deleting the the log files mentioned in the alternate way and neither work. It just sits there saying this over and over when switching it to theย linuxserver/mariadb:110.4.21mariabionic-ls31. I let it even run over night and still same result. Is there something I'm missing as stuck with this and nextcloud won't work, still have internal server error? How do I fix Nextcloud internal server error?Step 1 : Install APCu and Redis. ... . Step 2: Edit the redis configuration file. ... . Step 3: Restart.. Step 4: Add the Redis user redis to the www-data group. ... . Step 5: Restart Apache. ... . Step 6: Start Redis server. ... . Step 7: Add the chaching configuration to the Nextcloud config file.. How do I check my Nextcloud logs?The logfile of Nextcloud is located in the data directory /var/www/nextcloud/data/nextcloud. log .
How do I get Nextcloud out of maintenance mode?There are two ways to set Maintenance Mode on or off:. via config.php. go to your nextcloud folder and then open config/config.php. search for 'maintenance' => true, ... . via โoccโ command on the command line. find out the user which runs the web server (usually www-data, http or apache). |