Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Nextcloud

Featured Replies

Hoping someone can help, I am not finding anything through search on this thread or google.

 

I had a large sync running overnight and I woke up to errors stating that the connection was lost. Was getting 404 error when trying to access the web UI. I restarted mariaDB and nextcloud dockers and I can get back to the web UI now, but it only gives me the initial setup screen where it asks ytou to enter an admin user and fill out db info.

 

I tried filling in the admin and db info that I used previously, but it says the user already exists....

 

Any help is appreciated :-), thank you!

  • Replies 7.1k
  • Views 1.7m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Here's my list of instructions....    Use them at your own risk.....   If upgrading to v12 please see here:   ##Turn on maintenance mode docker exec -it nextcloud occ m

  • When i did enter the docker container with ssh and did run the following command the error message was gone   sudo -u abc php /config/www/nextcloud/occ db:add-missing-indices   Onl

  • gustomucho
    gustomucho

    After tinkering with this for a while, it seems the solution is much simpler than I thought. For some reason, the only step required is to modify the config.php file. No need to install ffmp

Posted Images

Hoping someone can help, I am not finding anything through search on this thread or google.

 

I had a large sync running overnight and I woke up to errors stating that the connection was lost. Was getting 404 error when trying to access the web UI. I restarted mariaDB and nextcloud dockers and I can get back to the web UI now, but it only gives me the initial setup screen where it asks ytou to enter an admin user and fill out db info.

 

I tried filling in the admin and db info that I used previously, but it says the user already exists....

 

Any help is appreciated :-), thank you!

 

Got any logs?  But it sounds like Nextcloud config has been overwritten, done any upgrades or anything recently?

This is all that's in that log file:

{"reqId":"mgrZ5+da+3hLhmLRqYPD","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-11T18:15:00+00:00","method":"--","url":"--","user":"--"}

{"reqId":"6Ocoe6WWdAljtLQ8M73l","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-11T18:30:00+00:00","method":"--","url":"--","user":"--"}

{"reqId":"HHD32v\/CuKto4LxjSemB","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-11T18:45:00+00:00","method":"--","url":"--","user":"--"}

{"reqId":"WGxu8sIhkut19dJ9sAHl","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-11T19:00:00+00:00","method":"--","url":"--","user":"--"}

{"reqId":"tMEL04p\/23xXxBNxjbGl","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-11T19:15:00+00:00","method":"--","url":"--","user":"--"}

{"reqId":"n0KC065kK77+10GKmjLE","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-11T19:30:00+00:00","method":"--","url":"--","user":"--"}

{"reqId":"puafRDf9IIIbeKMHHnKW","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-11T19:45:00+00:00","method":"--","url":"--","user":"--"}

{"reqId":"4yzGn3c2VwZh1YlBF0cX","remoteAddr":"192.168.1.106","app":"core","message":"starting upgrade from 9.1.1.5 to 9.1.2.2","level":0,"time":"2016-12-11T22:36:32+00:00","method":"GET","url":"\/core\/ajax\/update.php?requesttoken=digaSTczSi03LUQ0b1oHA0pxPjx1KHMRBAA8fhAeEEg%3D%3ABCBqFWaXBUtq61H7r2PJDMCCClT2QguyeIAgyw8sD%2FE%3D","user":"--","version":"9.1.1.5"}

{"reqId":"uXppdumAmZn7n8HcQxsq","remoteAddr":"192.168.1.109","app":"PHP","message":"mkdir(): No such file or directory at \/config\/www\/nextcloud\/lib\/private\/Setup.php#289","level":3,"time":"2016-12-12T15:52:09+00:00","method":"POST","url":"\/index.php","user":"--","version":"9.1.2.2"}

{"reqId":"Lte\/I8sFphrxsVBM3Z6s","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-12T16:00:00+00:00","method":"--","url":"--","user":"--","version":"9.1.2.2"}

{"reqId":"nHlpqvopjIJxVN29rKgW","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-12T16:15:00+00:00","method":"--","url":"--","user":"--","version":"9.1.2.2"}

{"reqId":"vjwuyrtLE0hwbgWk42Sr","remoteAddr":"","app":"cron","message":"Not installed","level":4,"time":"2016-12-12T16:30:00+00:00","method":"--","url":"--","user":"--","version":"9.1.2.2"}

 

It's a new install with nothing special (that I know of), I upgraded to 10.0.2 prior to starting the large 108 GB sync.

TBH I got no idea, it looks pretty broke....  :-[

 

We updated the container to 10.0.0.2 so might be just as quick to re-install with a new mariadb. 

 

Maybe test with something a little less than 102GB first.....

removed and reinstalled nextcloud from the unraid docker UI, no change.

 

I guess I will try removing mariadb and reinstalling now

reinstalling mariadb did the trick!

 

I still had to go through the admin setup screen, but it did not tell me my user already existed.

 

Looks like my files are still intact too.

 

reinstalling mariadb did the trick!

 

I still had to go through the admin setup screen, but it did not tell me my user already existed.

 

Looks like my files are still intact too.

 

Yeah, should have mentioned that, setting up from scratch, as long as you leave /data untouched of course, means your data is preserved.  Also means you can copy direct to the /data folder using whatever method you like, restart the nextcloud container and your files will be there, negating the need to do everything through the Nextcloud webui/app....

Wow, this happened again. This must be related the unraid mover?

 

I changed the nextcloud /config from my cache/appdata path to the user/appdata path, restarted the container and at least this time did not have to go through the admin setup process again.

Wow, this happened again. This must be related the unraid mover?

 

I changed the nextcloud /config from my cache/appdata path to the user/appdata path, restarted the container and at least this time did not have to go through the admin setup process again.

 

Sounds like your appdta is being moved to the array instead of being kept on the cache drive.

I'm new to all this... With NextCloud 10.0.2 released today: do we use the new updater in NextCloud? Or wait for an update from this docker, instead? (Thank you for making this docker!)

 

Answered in the first post.

 

EDIT:  I've just upgraded to 10.0.0.2 without issue using aforementioned instructions.

I followed your instructions to the letter and everything worked wonders. Thanks! :D

Any news on the 11 update?

 

You'll need to update it using the instructions linked to on the first post.  Fresh new installs will be 11.0.0 from Friday... However if you already have this installed you have to manually update.

 

pVphx9M.png

Once all is confirmed as working

 

##Open terminal in container
docker exec -it nextcloud bash

##remove  backup folder
cd /config/www/
rm -rf nextcloud-backup

##Remove Nextcloud tar file
rm nextcloud-11.0.0.tar.bz2

 

Great guides CHBMB much appreciated. However I had to stop at the "Once all is confirmed as working" step :-)

 

I just upgraded and having difficulties to activate calendar and contacts:

2016/12/15 08:37:31 [error] 309#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.178.21, server: _, request: "PROPFIND /nextcloud/remote.php/webdav/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.178.28:444"
2016/12/15 08:37:31 [error] 309#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.178.21, server: _, request: "PROPFIND /nextcloud/remote.php/webdav/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.178.28:444"
2016/12/15 08:38:03 [error] 309#0: *12 FastCGI sent in stderr: "PHP message: {"reqId":"0z6FKw2hdXuM52WxHvye","remoteAddr":"192.168.178.21","app":"PHP","message":"touch(): Utime failed: Permission denied at \/config\/www\/nextcloud\/lib\/private\/Config.php#229","level":3,"time":"2016-12-15T07:38:03+00:00","method":"GET","url":"\/nextcloud\/status.php","user":"--","version":""}
PHP message: {"reqId":"0z6FKw2hdXuM52WxHvye","remoteAddr":"192.168.178.21","app":"PHP","message":"fopen(\/config\/www\/nextcloud\/config\/config.php): failed to open stream: Permission denied at \/config\/www\/nextcloud\/lib\/private\/Config.php#230","level":3,"time":"2016-12-15T07:38:03+00:00","method":"GET","url":"\/nextcloud\/status.php","user":"--","version":""}
PHP message: {"reqId":"0z6FKw2hdXuM52WxHvye","remoteAddr":"192.168.178.21","app":"PHP","message":"chmod(): Operation not permitted at \/config\/www\/nextcloud\/lib\/private\/Config.php#233","level":3,"time":"2016-12-15T07:38:03+00:00","method":"GET","url":"\/nextcloud\/status.php","user":"--","version":""}
PHP message: {"reqId":"0z6FKw2hdXuM52WxHvye","remoteAddr":"192.168.178.21","app":"remote","message":"Can't write into config directory!","level":4,"time":"2016-12-15T07:38:03+00:00","method":"GET","url":"\/nextcloud\/status.php","user":"--","version":""}
PHP message: {"reqId":"0z6FKw2hdXuM52WxHvye","remoteAddr":"192.168.178.21","app":"PHP","message":"chmod(): No such file or directory at \/config\/www\/nextcloud\/lib\/private\/Log\/File.php#119","level":3,"time":"2016-12-15T07:38:03+00:00","method":"GET","url":"\/nextcloud\/status.php","user":"--","version":""}" while reading response header from upstream, client: 192.168.178.21, server: _, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.178.28:444"
2016/12/15 08:38:25 [error] 309#0: *1 open() "/config/www/nextcloud/images/thumbs/05.jpg" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /nextcloud/images/thumbs/05.jpg HTTP/1.1", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"
2016/12/15 08:38:25 [error] 309#0: *2 open() "/config/www/nextcloud/assets/js/jquery.min.js" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /nextcloud/assets/js/jquery.min.js HTTP/1.1", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"
2016/12/15 08:38:25 [error] 309#0: *4 open() "/config/www/nextcloud/assets/js/util.js" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /nextcloud/assets/js/util.js HTTP/1.1", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"
2016/12/15 08:38:25 [error] 309#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /nextcloud/images/thumbs/05.jpg HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"
2016/12/15 08:38:25 [error] 309#0: *3 open() "/config/www/nextcloud/assets/js/jquery.poptrox.min.js" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /nextcloud/assets/js/jquery.poptrox.min.js HTTP/1.1", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"
2016/12/15 08:38:25 [error] 309#0: *2 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /nextcloud/assets/js/jquery.min.js HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"
2016/12/15 08:38:25 [error] 309#0: *4 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /nextcloud/assets/js/util.js HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"
2016/12/15 08:38:25 [error] 309#0: *3 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /nextcloud/assets/js/jquery.poptrox.min.js HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.178.28:443", referrer: "https://192.168.178.28/nextcloud/"

 

Any step that I missed? Thanks for any advise.

Bildschirmfoto_2016-12-15_um_09_01_18.jpg.5d3001ba7c0b7c7ba64850330b6bd31a.jpg

Looks like it's still in maintenance mode.

 

Sent from my LG-H815 using Tapatalk

 

 

Well, I was trying to upgrade the apps via NextCloud menu. File Sync is working just fine so that is an indicator that it left Maintenance Mode (it reported that as well)

I'm out of ideas, maybe restore, remove the offending apps, repeat upgrade then reinstall the apps.

 

Sent from my LG-H815 using Tapatalk

 

 

I managed to enable notes through the webui without problem.

 

Sent from my LG-H815 using Tapatalk

 

 

I was trying a couple of things:

  • I removed Nextcloud including all appdata and reinstalled from scratch
  • stopped Nextcloud
  • copied just config.php from my old version
  • started Nextcloud
  • Nextcloud told me that it is forbidden to downgrade to version 9.x  :o

 

This is the file I copied: http://pastebin.com/awawUmLx

 

So I used my backup and have the old status. Interestingly enough both calendar and contacts are syncing but I am getting the error messages below.

 

I guess that I would need a fresh install but why was the approach above not working?

Bildschirmfoto_2016-12-19_um_17_16_00.jpg.431c3898764321e79d58737daea12b6d.jpg

I was trying a couple of things:

  • I removed Nextcloud including all appdata and reinstalled from scratch
  • stopped Nextcloud
  • copied just config.php from my old version
  • started Nextcloud
  • Nextcloud told me that it is forbidden to downgrade to version 9.x  :o

 

This is the file I copied: http://pastebin.com/awawUmLx

 

So I used my backup and have the old status. Interestingly enough both calendar and contacts are syncing but I am getting the error messages below.

 

I guess that I would need a fresh install but why was the approach above not working?

 

I assume because we've updated the container to V10.  (Not V11 yet, Sparklyballs is checking dependencies) Perhaps a fresh install and then copy the relevant bits of config.php might work better.

Hi,

 

I just migrated from aptalca's nginx-letsencrypt container to the one provided by Linuxserver.io.

 

Everything went fine and I can access my Nextcloud page via https and http just like before.

The iPhone App works aswell without any issue again.

 

But my desktop client on my Windows machine reports the following error since switching the container:

"Error downloading https://myserver.de/nextcloud/owncloud/status.php - server replied: Not Found"

 

I didn't change anything else but the Nginx container. Does anyone has a solution for this?

 

 

I was trying a couple of things:

  • I removed Nextcloud including all appdata and reinstalled from scratch
  • stopped Nextcloud
  • copied just config.php from my old version
  • started Nextcloud
  • Nextcloud told me that it is forbidden to downgrade to version 9.x  :o

 

This is the file I copied: http://pastebin.com/awawUmLx

 

So I used my backup and have the old status. Interestingly enough both calendar and contacts are syncing but I am getting the error messages below.

 

I guess that I would need a fresh install but why was the approach above not working?

 

I assume because we've updated the container to V10.  (Not V11 yet, Sparklyballs is checking dependencies) Perhaps a fresh install and then copy the relevant bits of config.php might work better.

 

Thanks a lot CHBMB, I activated the apps within the database table. That worked but it is not ideal. That means the issue might be caused by MariaDB (I am using Needo's Docker).

I had to delete my docker image file for an unrelated issue and when i rebuilt it (my nextcloud wasnt updated before) it nows gives me this:

 

Update needed

Please use the command line updater because you have a big instance.

For help, see the documentation.

 

I have no idea how to fix it.  Any ideas?

Unable to create new users, found a bug post that seems similar,

https://github.com/nextcloud/server/issues/2734

 

 

But no clues on how to fix, anyone else ran into this?  I saw several people report that time discrepancies can be the cause.  I glanced around and while the Nextcloud docker is running GMT, and everything else CST, the actual time is correct for the time zone. Could the GMT/CST be at play? Or is this just some sort of other bug going on?

 

 

 

Unable to create new users, found a bug post that seems similar,

https://github.com/nextcloud/server/issues/2734

 

 

But no clues on how to fix, anyone else ran into this?  I saw several people report that time discrepancies can be the cause.  I glanced around and while the Nextcloud docker is running GMT, and everything else CST, the actual time is correct for the time zone. Could the GMT/CST be at play? Or is this just some sort of other bug going on?

Look at "Additional settings" - "Password policy" and uncheck the enforcement options.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.