Jump to content
linuxserver.io

[Support] Linuxserver.io - Nextcloud

2421 posts in this topic Last Reply

Recommended Posts

1 hour ago, Toobie said:

Seems so - yes.

 

Thank you.

No problem, been there done that ;)

i would not tinker with any other settings not knowing what they do.

Share this post


Link to post
Don't think so no. Did you try the suggestions above your post?
I'm not getting any luck on upgrading. If I were to install a new nextcloud with new appdata, would the new installation see the existing user /data?

How is the user mapping like with the fresh install of nextcloud 16?

Sent from my ONEPLUS A6003 using Tapatalk

Share this post


Link to post
Posted (edited)

Hello everybody, I have recently installed Nextcloud in combination with MariaDB.  The Nextcloud environment is very slow and uploading files is hardly possible. Can someone help me with this?

 

The error message while uploading: 505 gateway time-out to PUT link......

 

Update: I now also get the 504 error message... I'm quite new with linux and docker and I'm wondering if someone can help me.

 

 

 

Schermafbeelding 2019-07-12 om 17.04.53.png

Edited by Rick007

Share this post


Link to post
2 hours ago, pingmanping said:

I'm not getting any luck on upgrading. If I were to install a new nextcloud with new appdata, would the new installation see the existing user /data?

How is the user mapping like with the fresh install of nextcloud 16?

Sent from my ONEPLUS A6003 using Tapatalk
 

 

You will have to scan for new files after you install nextcloud. This is mentioned somewhere in this thread and also in the official nextcloud documentation.

Share this post


Link to post
 
You will have to scan for new files after you install nextcloud. This is mentioned somewhere in this thread and also in the official nextcloud documentation.
Is that the "occ file: scan"?
Would I have to re create the users manually after running the command?


Sent from my ONEPLUS A6003 using Tapatalk

Share this post


Link to post
On 7/11/2019 at 9:06 PM, pingmanping said:

Is that the "occ file: scan"?
Would I have to re create the users manually after running the command?


Sent from my ONEPLUS A6003 using Tapatalk
 

 

I don't know.

Share this post


Link to post
Posted (edited)

Hello,

 

When trying to access my Nextcloud webgui I receive:

 

"This version of Nextcloud is not compatible with > PHP 7.2.
You are currently running 7.3.6."

 

Can I force Nextcloud to update the php version it is using and if so how? 

Edited by ramius87

Share this post


Link to post
1 hour ago, ramius87 said:

Hello,

 

When trying to access my Nextcloud webgui I receive:

 

"This version of Nextcloud is not compatible with > PHP 7.2.
You are currently running 7.3.6."

 

Can I force Nextcloud to update the php version it is using and if so how? 

Start reading here.

https://forums.unraid.net/topic/48383-support-linuxserverio-nextcloud/?do=findComment&comment=755742

 

Share this post


Link to post

The latest update of the container breaking nextcloud was a big pain in the butt for me.  I ended up without my nextcloud install for nearly a week before I got everything back up and running (probably could have gotten it figured out and reinstalled faster but just not enough time in the day).

 

I had to downgrade the docker container with the "linuxserver/nextcloud:140 tag.  From there I upgrade nextcloud from within the docker using the command line.  But I could not just jump from version 13, which I think was the one within the docker for the tag I installed.  I had to upgrade to 14, which had it's own set of issues, then to 15, which went fine, and then to 16 which also when fine.  Once nextcloud was all up to date within the docker I had to manually run some fo the indices updates for nextcloud, and then remove the :140 tag from the docker container to get up to date on the latest docker.

 

I did manager to get everything squared away and running again but it was not an overly easy process and for someone not comfortable with the command line might be more than they are willing to tackle.

Share this post


Link to post

Ran into the “Updates between major versions and downgrades are unsupported” when trying to upgrade from NextCloud version 14 to the new 16.

This solved my issue and made the upgrade fairly straightforward : https://mergy.org/2018/10/nextcloud-14-upgrade-error-updates-between-major-versions-and-downgrades-are-unsupported-fix/

 

Simply comment out 3 lines in the upgrade in Updater.php and you prevent the halt from the version check. Went straight from v14 to v16 without issue

 

Hopefully this may help some folks.

 

Share this post


Link to post
Posted (edited)

Started getting a 502 Bad Gateway coming from the nginx on the docker. Has been working for for weeks.

 

The nginx error log from the docker has:

 

2019/07/17 12:04:02 [error] 331#331: *58 connect() failed (111: Connection refused) while connecting to upstream, client: 10.8.0.2, server: _, request: "GET / HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.30.70:8443", referrer: "http://192.168.30.70/Docker"
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nextcloud' --net='bridge' --log-opt max-size='50m' --log-opt max-file='1' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -p '8443:443/tcp' -v '/mnt/user/nextcloud':'/data':'rw' -v '/mnt/user/apps/nextcloud':'/config':'rw' 'linuxserver/nextcloud' 
83f96cabb70714e96a1ac2c75894fe6917ca7bda9e30dfbd07f10c2b00d380de

 

Edited by impalerware
Added docker run command

Share this post


Link to post
4 minutes ago, impalerware said:

Started getting a 502 Bad Gateway coming from the nginx on the docker. Has been working for for weeks.

 

The nginx error log from the docker has:

 


2019/07/17 12:04:02 [error] 331#331: *58 connect() failed (111: Connection refused) while connecting to upstream, client: 10.8.0.2, server: _, request: "GET / HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.30.70:8443", referrer: "http://192.168.30.70/Docker"

 

you're gonna need this info in your post

 

Docker Run Command

Share this post


Link to post
1 hour ago, impalerware said:

Started getting a 502 Bad Gateway coming from the nginx on the docker. Has been working for for weeks.

 

The nginx error log from the docker has:

 


2019/07/17 12:04:02 [error] 331#331: *58 connect() failed (111: Connection refused) while connecting to upstream, client: 10.8.0.2, server: _, request: "GET / HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.30.70:8443", referrer: "http://192.168.30.70/Docker"

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nextcloud' --net='bridge' --log-opt max-size='50m' --log-opt max-file='1' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -p '8443:443/tcp' -v '/mnt/user/nextcloud':'/data':'rw' -v '/mnt/user/apps/nextcloud':'/config':'rw' 'linuxserver/nextcloud' 
83f96cabb70714e96a1ac2c75894fe6917ca7bda9e30dfbd07f10c2b00d380de

 

Just did a force update of the container from the unraid gui and started working again. Very strange.

Share this post


Link to post
On 7/3/2019 at 10:54 AM, Niklas said:

 

Thank you.

Can I sync files between my desktop folder and mounted external harddrive on UNRAID?

 

I noticed something odd when syncing - files are being created in nextcloud de-novo. here are steps

 

1. I mounted external storage on UNRAID

2. I installed nextcloud on my desktop

3. I configured syncing between folder on my desktop and folder on mounted external harddrive (UNRAID server).

4. Syncing started, and Nextcloud created a folder on my nextcloud(!), but didn't sync with folder on my UNRAID external storage

 

Does that mean that in order to sync files (between desktop and my server), I have to move all my folders FROM UNRAID external storage TO Nextcloud first?

 

The manual seems to imply that....but wanted to double check just in case.

 

Thanks!

 

On 7/3/2019 at 10:54 AM, Niklas said:

You need to configure them first. Select "External storages" further down in the admin part of the menu.
 

1325665870_Capture_Support_Linuxserver.io_-_Nextcloud_-_Page_91_-_D_2019-07-03_16-53-00_68622505.thumb.png.dac6804fc233a24aebdabcb1c1727d74.png

 

 

Share this post


Link to post

Not too sure if I'm in the right place here.  I have the Nextcloud docker installed in unRAID 6.7.2. For my local network Nextcloud was working fine then I decided to follow spaceinvaderone video/ Linuxserver io page on running Nextcloud and other docker containers with letsencrypt. I did get plex to work but Im having an issue with Nextcloud. Checked the nextcloud docker log and I saw this:

 

 

 

[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] 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.
PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /config/www/nextcloud/cron.php:160
Stack trace:

}
thrown in /config/www/nextcloud/cron.php on line 160
PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /config/www/nextcloud/cron.php:160

 

Wasn't sure what this was or even how to fix it. From the app side Im getting the message that the server cannot be found (SSL initialization failed)

 

I did change my config files to match the tutorial from Linuxserver io specs, I received the same message previous to the config file changes and after the file changes. I believe my Nextcloud version is 16.0.3? Ill be checking what i can find online for help on  this issue also.

 

Im a newby and i appreciate the guidance

 

Thanks,

 

RHELGK

 

 

Share this post


Link to post

This docker is a joke. It is the second time I had to reinstall it completly because of PHP bullshit. It was competently impossible to downgrade and make it work. This happens around every 6 months. Can you please get it together and make sure the container updates the Nextcloud as well? Would be nice.

Share this post


Link to post
This docker is a joke. It is the second time I had to reinstall it completly because of PHP bullshit. It was competently impossible to downgrade and make it work. This happens around every 6 months. Can you please get it together and make sure the container updates the Nextcloud as well? Would be nice.
Well f off and fork your own. Been running my install since we released without a problem.

I got no time for comments like this and am going to treat it with the contempt it deserves.

All the code is open source feel free to make a pull request, however, I've yet to see a single person make a comment of this nature actually do so, and I'm not expecting you to be the first.

Sent from my Mi A1 using Tapatalk

Share this post


Link to post
Posted (edited)
12 minutes ago, CHBMB said:

Well f off and fork your own. Been running my install since we released without a problem.

I got no time for comments like this and am going to treat it with the contempt it deserves.

All the code is open source feel free to make a pull request, however, I've yet to see a single person make a comment of this nature actually do so, and I'm not expecting you to be the first.

Sent from my Mi A1 using Tapatalk
 

Rude language is not really helping anyone. I understand your frustration you probably get remarks like this all the time. I am just kinda annoyed that this is the only docker I have to constantly nurse like a baby while the others just work flawlessly with auto update. But I guess that is just the nature of PHP and how Nextcloud is built. I have several linuxserver.io dockers that work great and I appreciate the work you put into this. Slight suggestion though is that you make this information on how to update and fix this issue more available since it is so common? A guide would be nice

Edited by Michel Amberg

Share this post


Link to post

Fundamentally we're volunteers, so if you think something needs doing, feel free to step up and contribute rather than say something is a joke.


Yes, I do hear comments like that all too often and I treat them all in the same way.


When people pay my mortgage and feed my family for the stuff we do then they have the right to complain, because we then we have a customer/client relationship.

But when people are using something, for free, made by us in our spare time, I reserve the right to use whatever language I see fit, as our relationship is most certainly not a customer/client one, essentially we have no obligation to do anything.

One person saying something as non-specific as "PHP is a joke" does not a problem make, and is not something I'm going to waste any more time with.



Sent from my Mi A1 using Tapatalk

Share this post


Link to post
11 hours ago, CHBMB said:

Fundamentally we're volunteers, so if you think something needs doing, feel free to step up and contribute rather than say something is a joke.


Yes, I do hear comments like that all too often and I treat them all in the same way.


When people pay my mortgage and feed my family for the stuff we do then they have the right to complain, because we then we have a customer/client relationship.

But when people are using something, for free, made by us in our spare time, I reserve the right to use whatever language I see fit, as our relationship is most certainly not a customer/client one, essentially we have no obligation to do anything.

One person saying something as non-specific as "PHP is a joke" does not a problem make, and is not something I'm going to waste any more time with.



Sent from my Mi A1 using Tapatalk
 

Now you are just assuming I have not donated money either which I do several times when I use stuff that I like.. 

Share this post


Link to post
50 minutes ago, Michel Amberg said:

Now you are just assuming I have not donated money either which I do several times when I use stuff that I like.. 

We don't get payed anything for this work. Everything that gets donated goes to paying the server expenses or donating to upstream projects.

Donating is not the same as paying for a product.

 

Regarding your problem, I have not seen any others having that issue, so it's something specific to your setup. Probably something that should be reported to the Nextcloud guys.

Share this post


Link to post

Has anyone been successful in getting Nextcloud working through the Nginx Proxy Manager docker?  I've been able to get other dockers and a VM to work through it, but not Nextcloud.  I can't find a guide, and solid info on getting the two working together seems pretty sparse.

 

Thanks

Share this post


Link to post

Some Nextcloud questions I am trying to find answers if anyone knows where to look.  I've searched around but I'm so lost in the forest I can't find the trees.

 

1.  If I want a local sync ONLY Nextcloud, I just need to install the docker and go, right?  That's what I've done and it works great locally, I just want to confirm I'm not leaking stuff online somehow.

 

2.  If I do want to go ahead and open my Nextcloud up to the internet, is the SpaceInvaderOne video the best place to start?  I watched it and can do it, but there were a lot of comments that it was overly complex and not necessary to do all the steps.  Your thoughts?

 

3.  If I wanted to either self host a Nextcloud offsite for backup OR pay a Nextcloud host for backup, where would I begin?

 

The docker has worked great for me.  I appreciate it!

Share this post


Link to post
3 hours ago, ur6969 said:

Some Nextcloud questions I am trying to find answers if anyone knows where to look.  I've searched around but I'm so lost in the forest I can't find the trees.

 

1.  If I want a local sync ONLY Nextcloud, I just need to install the docker and go, right?  That's what I've done and it works great locally, I just want to confirm I'm not leaking stuff online somehow.

 

2.  If I do want to go ahead and open my Nextcloud up to the internet, is the SpaceInvaderOne video the best place to start?  I watched it and can do it, but there were a lot of comments that it was overly complex and not necessary to do all the steps.  Your thoughts?

 

3.  If I wanted to either self host a Nextcloud offsite for backup OR pay a Nextcloud host for backup, where would I begin?

 

The docker has worked great for me.  I appreciate it!

1. You don't leak anything unless you have opened up the ports you use for Nextcloud in your router and port forwarded them to your server.

So you need to have set it up to face the internet before it's accessible.

 

2. Haven't seen the guide, so can't comment.

 

3. From the beginning? On a serious note, I don't know.

Share this post


Link to post
Some Nextcloud questions I am trying to find answers if anyone knows where to look.  I've searched around but I'm so lost in the forest I can't find the trees.
 
1.  If I want a local sync ONLY Nextcloud, I just need to install the docker and go, right?  That's what I've done and it works great locally, I just want to confirm I'm not leaking stuff online somehow.
 
2.  If I do want to go ahead and open my Nextcloud up to the internet, is the SpaceInvaderOne video the best place to start?  I watched it and can do it, but there were a lot of comments that it was overly complex and not necessary to do all the steps.  Your thoughts?
 
3.  If I wanted to either self host a Nextcloud offsite for backup OR pay a Nextcloud host for backup, where would I begin?
 
The docker has worked great for me.  I appreciate it!
Yes to point 1 and point 2.

Sent from my MI 6 using Tapatalk

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.