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

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?

 

Solution to my problem if anyone else encounters the same thing:

 

1. Downloaded the new tar file from nexcloud website. (probably not needed)

2. SSH to server

3. run docker ps to get the docker ID

5. Enter the docker SSH: docker exec -it abcIDxyz bash

6. Go to the nextcloud directory: cd /config/www/

7. Give the webserver user (abc) ownership of the files: chown -R abc:abc nextcloud

8. Enter nextcloud directory: cd nextcloud

9. Run the upgrader manually: sudo -u abc php occ upgrade

  • 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

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.

 

Wow, a quick and easy fix. I swear I had tried multiple passwords, but I guess Nextcloud not giving a message as to why it was failing led me down the path of thinking I was experiencing the problem others had reported.  Thanks

Hi - just installing nextcloud for the first time, using the guide in the original post

 

I get all the way to configuring nextcloud via the webgui and get this error when clicking "finish"  (see attached screenshot).

 

both dockers seem to be installed correctly- not sure on how to troubleshoot this.

 

thanks

 

 

nextcloud_error.PNG.a34e032d5a6bb3fc56f3da3f4e7be797.PNG

Hi - just installing nextcloud for the first time, using the guide in the original post

 

I get all the way to configuring nextcloud via the webgui and get this error when clicking "finish"  (see attached screenshot).

 

both dockers seem to be installed correctly- not sure on how to troubleshoot this.

 

thanks

 

Be helpful if you showed us the rest of that screen

see attached for whole screenshot

 

for database name I have tried "mariadb-nextcloud" which is the name in the mariadb docker, and and just "nextcloud" which is used in the install guide.

 

thanks

nextcloud_error2.PNG.63bce56ac14f144eaee71a1e0e3df955.PNG

see attached for whole screenshot

 

for database name I have tried "mariadb-nextcloud" which is the name in the mariadb docker, and and just "nextcloud" which is used in the install guide.

 

thanks

 

The name of the database can be anything you want it to be.  You sure you're putting the correct root password in?  Should be the one in the docker template for Mariadb

Hi - just tried a new password in mariadb docker and then the nextcloud webgui again - it did not work but the error is slightly different

(see attachment)

 

thanks

nextcloud_error3.PNG.4e67d74368bbeb2e19ba02a20c74be61.PNG

all_dockers.PNG.95ad14e4ed25c5ccf7b897b55393b46a.PNG

mariadb_setup.PNG.c37e1c05723c369d092a93fa04863cdb.PNG

and nextcloud docker image attached - previous post ran out of image room.

nextcloud_docker.PNG.9384bc2d7bef039345e4c43adc878c5d.PNG

and nextcloud docker image attached - previous post ran out of image room.

 

I think Nextcloud has changed the setup a little bit from when I last tried.

 

Remove the container & image for nextcloud and mariadb, wipe you nextcloud appdata and wipe your mariadb appdata (assuming this is solely being used for nextcloud) and pull it again.  Gonna have to get down and dirty with the terminal I'm afraid.

 

Edit custom.cnf and do two thing.  Change line 118 to read

 

binlog_format=mixed

 

and change line 124 to read

 

bind-address=0.0.0.0

 

Then in a terminal in your /config folder

 

chmod 644 custom.cnf

 

Then

 

docker exec -it mariadb-nextcloud bash
mysql -uroot -p 

 

Enter your root password for MariaDB

 

CREATE DATABASE IF NOT EXISTS nextcloud;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'root'@'localhost' IDENTIFIED BY '$MARIADB-ROOT-PASSWORD';
quit

 

Restart the MariaDB container.

 

Then pull the nextcloud image and at the setup screen use

root
$MARIADB-ROOT-PASSWORD
$UNRAID-IP:PORT

 

Database name will be nextcloud.

 

to connect to it.

thanks- I made it all the way down to terminal code with "Create user..."

I can't tell in those line what is a comment from you and what I am supposed to type..

 

for example for this

CREATE USER '$WHATEVER-USER'@'$UNRAID-IP' IDENTIFIED BY '$WHATEVER-PASSWORD'

would I type

 

"CREATE USER [email protected] IDENTIFIED BY password"

 

 

thanks- I made it all the way down to terminal code with "Create user..."

I can't tell in those line what is a comment from you and what I am supposed to type..

 

for example for this

CREATE USER '$WHATEVER-USER'@'$UNRAID-IP' IDENTIFIED BY '$WHATEVER-PASSWORD'

would I type

 

"CREATE USER [email protected] IDENTIFIED BY password"

 

Anything starting with $ is a variable you have to choose.

I am not sure if this is right - see attached pic.  no prompts appear that say it worked or did not work.

 

do I just ctrl-c to exit ?

 

thanks

mariadb_terminal.PNG.79a45f26bbc91d5f4c60085bebe6e019.PNG

Hey LinuxServer guys,

 

I saw that the nextcloud docker is no longer on your website (maybe because it's beta?).  Just wanted to verify you're not dropping development of it.

 

Also (unrelated to nextcloud, sorry):

Congrads on making it into the Plex newsletter!  Does that mean you're dropping support for Linuxserver's Plex docker?

 

Keep up the good work!

Hey LinuxServer guys,

 

I saw that the nextcloud docker is no longer on your website (maybe because it's beta?).  Just wanted to verify you're not dropping development of it.

 

It's still there....

 

Also (unrelated to nextcloud, sorry):

Congrads on making it into the Plex newsletter!  Does that mean you're dropping support for Linuxserver's Plex docker?

 

Keep up the good work!

 

Nope, they're two separate entities.

I think I got through it ok - however still an error when configuring nextcloud (see attached)

 

not sure if I made a mistake configuring mariadb or something else.

 

thanks

nextcloud_error_4.PNG.d575a82fd441d29ebafb8d3a4e5e23f9.PNG

I went back to try it all over again - odd but CHBMB your post a few up where you corrected the code

GRANT ALL PRIVILEGES ON nextcloud.* TO '$WHATEVER-USER'@'$UNRAID-IP' IDENTIFIED BY '$WHATEVER-PASSWORD';

 

seems to have disappeared?

I think I got through it ok - however still an error when configuring nextcloud (see attached)

 

not sure if I made a mistake configuring mariadb or something else.

 

thanks

 

Nah, sorry, it's my fault, trying to do several things at once and db management isn't my forte I'm afraid.  I've updated the instructions above.  Try from the beginning.  I've just tested it and it works (I think....)  ???

still no luck :)

 

see attached for error...

 

thanks

nextcloud_error_5.PNG.20903f7ba59db693f608623b44dcc5d1.PNG

Hey Chuga--

 

Just wanted to let you know you're not the only one with this issue.  I'm in the same boat and I believe something has changed.  I had this working several days ago no problems and now I get stuck on the same error as your last post (I had it working then decided to start over yesterday just to clean things up and for learning).  Since then no luck getting past the same error you've reported in the post above.

 

I've gone as far as removing everything (including docker.img) and not using templates.  I've noticed that when pulling the nextcloud docker from the "apps" tab that the orange helpful notes below each section no longer appear.  I've checked in some of the logs (still trying to find out how to get to mariadb syslog!) for nextcloud and there's mention of a 11.0.1 version.  My guess is there's been an update as I'm almost certain my previous version was 10.0.2.

 

 

Hey Chuga--

 

Just wanted to let you know you're not the only one with this issue.  I'm in the same boat and I believe something has changed.  I had this working several days ago no problems and now I get stuck on the same error as your last post (I had it working then decided to start over yesterday just to clean things up and for learning).  Since then no luck getting past the same error you've reported in the post above.

 

I've gone as far as removing everything (including docker.img) and not using templates.  I've noticed that when pulling the nextcloud docker from the "apps" tab that the orange helpful notes below each section no longer appear.  I've checked in some of the logs (still trying to find out how to get to mariadb syslog!) for nextcloud and there's mention of a 11.0.1 version.  My guess is there's been an update as I'm almost certain my previous version was 10.0.2.

 

and nextcloud docker image attached - previous post ran out of image room.

 

I think Nextcloud has changed the setup a little bit from when I last tried.

 

 

still no luck :)

 

see attached for error...

 

thanks

 

Post your mariadb log...

see attached-  copy pasted from the docker log file (let me know if this is not correct log, not sure where to find it)

mariadb_log.txt

I've just tested the instructions I posted, they definitely work.  I used clean nextcloud appdata and clean mariadb appdata and up and running within a couple of minutes.

Hey LinuxServer guys,

 

I saw that the nextcloud docker is no longer on your website (maybe because it's beta?).  Just wanted to verify you're not dropping development of it.

 

It's still there....

 

I was looking here: http://tools.linuxserver.io/dockers

Used to have a beta section.

Hi - just tried again to install from scratch.  Still no luck.

 

I took screenshots along the way of each screen, see attachment,

 

thanks for all of the help on this

nextcloud_install.pdf

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.