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

Same thing, slow to load login page and then a gateway timeout on login attempt. As for the resource thought, that was just me rambling about things I thought it might have been when I was going through it haha.

  • 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

I am using https. I don't think it's a resource issue, as Unraid only shows a peak load of like 15% and available RAM. Like I said I nuked it and started over and that didn't change anything. I've also cleared the browser cache and what not, as the only time I got it to login successfully was in an Incognito window, but even that failed multiple times.

At this point, how married are you to apache? If it were me, I'd temporarily stand up a letsencrypt nginx docker and see if that works any better. Just be sure you don't have both apache and nginx running at the same time, and you should be able to seamlessly swap between the two for testing. It really doesn't take long to set up, WAY less time than you've already beat on apache at this point.

Also, I'd strongly advocate setting it up as nextcloud.server.com 

 

I've found it more reliable, easier to setup and just generally people seem to have more problems with server.com/nextcloud

Here is what shows in the nginx error log inside nextcloud:

2016/11/18 12:40:17 [error] 304#0: *52 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /index.php/apps/theming/styles?v=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.121:444"
2016/11/18 12:40:17 [error] 304#0: *53 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /index.php/apps/theming/js/theming?v=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.121:444"
2016/11/18 12:41:27 [error] 304#0: *56 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "POST /index.php/login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.121:444"

As for switching from Apache, I may give that a go tonight, but if I can get it to work in Apache I'd prefer that.

I can go back through your guide and set it up that way, I was just using this method for continuity with everything else.

Here is what shows in the nginx error log inside nextcloud:

2016/11/18 12:40:17 [error] 304#0: *52 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /index.php/apps/theming/styles?v=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.121:444"
2016/11/18 12:40:17 [error] 304#0: *53 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /index.php/apps/theming/js/theming?v=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.121:444"
2016/11/18 12:41:27 [error] 304#0: *56 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.17.0.1, server: _, request: "POST /index.php/login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.121:444"

As for switching from Apache, I may give that a go tonight, but if I can get it to work in Apache I'd prefer that.

 

Was it working before you tried the reverse proxy stuff?

Yeah, it was. As far as setting this up as nextcloud.server.com, would changing the servername/alias, redirect, and moving the proxypass out of the location tag mess with everything else that is set up?

As for switching from Apache, I may give that a go tonight, but if I can get it to work in Apache I'd prefer that.

At this point, setting up nginx is just another troubleshooting tool we can use. If it works with nginx, then probably the issue lies with apache. It it doesn't work, then something is up with the nextcloud config. At least then you can concentrate on one or the other. Right now, it's rather difficult to tell which one is giving you a problem, apache or nextcloud.

I'll mess with Nginx for the time being. It may be awhile though, using aptalca's container and it's throwing an NXDOMAIN error at me and failing first time setup

I'd recommend using the linuxserver one purely because that's the one that's going to be updated from this point forwards...

 

Sent from my LG-H815 using Tapatalk

 

 

Yep, switched to that one haha. Probably wont be able to work on it til later, probably need to switch to ddclient too since I'm still seeing that error

Yeah they will only work if the WAN IP address actually resolves to the right place..

 

Sent from my LG-H815 using Tapatalk

 

 

I had DDNS handled through my router configured with Google Domains so I'm not sure what the deal is, but I'll get back to it tomorrow.

OK, try this from telnet/ssh

 

docker exec -it mariadb /bin/bash
chmod 644 /config/custom.cnf

 

Back to the original error message:

 

Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'172.17.0.1' (using password: YES)

 

I've sent you a PM

 

Mr. N.

 

I am trying Nextcloud and I am running into the same issue as this thread:

https://lime-technology.com/forum/index.php?topic=50090.msg501938#msg501938

 

Please, how did you end up solving this issue?

 

I was getting the original error, and I tried the chmod command, and now I get the following error:

 

XueeIzE.png

 

Thanks!

 

H.

I'm afk at the moment but the error tells me that myconf.cnf doesn't have binlogging set or it isn't registering because of perms or something else.

 

Sent from my LG-H815 using Tapatalk

 

 

I'm afk at the moment but the error tells me that myconf.cnf doesn't have binlogging set or it isn't registering because of perms or something else.

 

Sent from my LG-H815 using Tapatalk

 

Thank you Mr. N.

 

I was able to "fix" things by simply downloading the entire nextcloud zip file into one of my /apache/www folders. I added these 3 lines to my *.cnf files in /appdata/mariadb/...

 

log-bin        = /var/log/mysql/mariadb-bin
log-bin-index  = /var/log/mysql/mariadb-bin.index
binlog_format  = mixed

 

I added a new folder connection to my Apache docker to point to a share in my array for the location where nextcloud will store the files.

 

I did not realize that the Nexcloud docker included nginx... This would conflict with my Apache, existing certificates, and reverse proxy.

I'm afk at the moment but the error tells me that myconf.cnf doesn't have binlogging set or it isn't registering because of perms or something else.

 

Sent from my LG-H815 using Tapatalk

 

Thank you Mr. N.

 

I was able to "fix" things by simply downloading the entire nextcloud zip file into one of my /apache/www folders. I added these 3 lines to my *.cnf files in /appdata/mariadb/...

 

log-bin        = /var/log/mysql/mariadb-bin
log-bin-index  = /var/log/mysql/mariadb-bin.index
binlog_format  = mixed

 

I added a new folder connection to my Apache docker to point to a share in my array for the location where nextcloud will store the files.

 

I did not realize that the Nexcloud docker included nginx... This would conflict with my Apache, existing certificates, and reverse proxy.

 

H, you so overcomplicated that!

 

binlog format = mixed was all you need.

 

You can reverse proxy the SSL'd Nginx Nextcloud container with Apache with SSL as a reverse proxy no problems.  That's exactly what I did in the guide on our website.

I had not seen your guide. Very helpful. Any reason why you did a separate install of MariaDB? Is it a safety thing? Or does the "mixed" setting affect other databases... like "kodi"?

 

Thanks you always!

 

H.

I used a separate MariaDB so the binlogging doesn't affect any other databases I run.

 

Sent from my LG-H815 using Tapatalk

 

 

Thank you Mr. N.

 

I followed you guide to the letter and I am having a nice new shinny Nexcloud Docker running. 

 

Tomorrow I will mention your name at the Thanksgiving table... you know, us Yanks!  ;)

 

:D  :D

 

H.

Thank you Mr. N.

 

I followed you guide to the letter and I am having a nice new shinny Nexcloud Docker running. 

 

Tomorrow I will mention your name at the Thanksgiving table... you know, us Yanks!  ;)

 

:D  :D

 

H.

 

Glad you found it useful, between getting mentioned at your Thanksgiving table and Monkeyair's shrine to me I'm starting to feel very honoured.

 

Happy Thanksgiving Hernandito, (And all you others over the pond)

 

;D

Hello, some of the nextcloud apps like calibre and the ocr plugin require installing it on the server.  Would there be any way to do this inside the docker?

Btw thanks for the awesome docker as it is ?.

  • 2 weeks later...

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!)

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.

Thanks! Your instructions worked well. I wasn't sure if that was still the preferred method when NextCloud has a new updater built-in to the admin page now (as of 10.0.1?). I tried theirs, and it failed sometime after maintenance mode was enabled, but before the update could finish. I ran your update instructions, and it seems to have updated perfectly.

 

I'm new to OwnCloud/NextCloud, and I was surprised when some of the apps I was expecting to be available are apparently only available for people running NextCloud v11. It appears that 10.0.2 is the latest stable version, so have developers just  pulled apps until v11 is available? A quick Google search seems to say that v11 is when a new app store-ish feature will be released - so developers are just targeting that?

 

If so, that all makes sense, and I'm happy to wait. I just wanted to make sure I'm not missing some easy/obvious way to run these apps in the meantime? They just don't seem to be showing up in my NextCloud apps section as being available to install. Specifically, I'm looking for the News app, the Spreedbox video/audio calls, QOwnNotes API, etc.

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.