[Support] Linuxserver.io - Nextcloud


4994 posts in this topic Last Reply

Recommended Posts

33 minutes ago, pingmanping said:

Yes, I did turn off the maintenance mode. I just quoted the last few lines of the upgrade portion. The loading ascii bar shows 0/0. I am not sure if it supposed to be like that. The only thing I didn't follow was the second part which is to delete tar and backup copies.

 

Just to be sure, is this the correct version 14 https://download.nextcloud.com/server/releases/latest-14.tar.bz2

 

Then I have no ideas what is wrong.

Link to post
  • Replies 5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Application Name: Nextcloud Application Site: https://nextcloud.com/ Docker Hub: https://hub.docker.com/r/linuxserver/nextcloud/ Github: https://github.com/linuxserver/docker-nextcl

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

Thanks, fixed for me as well, and I also added this line add_header Referrer-Policy no-referrer always; to appdata/nextcloud/nginx/site-confs/default   And now I have a green

Posted Images

12 minutes ago, pingmanping said:

What should be the permission for /config/www/nextcloud folder?

I have mine currently at


drwxrwxr-x 1 nobody users 412 May 15 09:03 nextcloud/

 

Looks correct.

Link to post
14 hours ago, jang430 said:

Hello.  I've bypassed my problem with - ._.DS_Store file, deleted it, and the error disappeared.  Now, I have a new warning.

 

There are some warnings regarding your setup.

The "Referrer-Policy" HTTP header is not set to "no-referrer", "no-referrer-when-downgrade", "strict-origin" or "strict-origin-when-cross-origin". This can leak referer information. See the W3C Recommendation ↗.

 

I don't know what folder and file to modify this?

 

Hello.  Can anyone help regarding this?

Link to post
2 hours ago, saarg said:

Looks correct.

I had to revert from backup then update the container settings with the tag linuxserver/nextcloud:16.0.1-ls22

My Unraid is still on version 6.5.3, the nextcloud upgrade issue is not related to my Unraid version, correct?

What would be best way for me to get to the latest version of Nextcloud?

While on the tag 16.0.1-ls22, I could not login anymore. It just spins then nothing happened.

Link to post
 
Hello.  Can anyone help regarding this?
If you look on the forum you will my question with the exact same problem.

Here you go.

Add this to your config file. I believe in the nextcloud config

add_header Referrer-Policy no-referrer always;

Sent from my Pixel 2 XL using Tapatalk

Link to post
On 3/31/2019 at 7:45 PM, R2JJS said:

Hi All,

 

I have a new install of Nextcloud up and running. Thanks to loads of info on here I have been "cleaning up" a bit.  I have one security Issue I'm having trouble with. 

 

My understanding is that I need to add the lines:

 

add_header Strict-Transport-Security "max-age=63072000; includeSubdomains";

add_header Front-End-Https on;

  

Into my  letsencrypt/nginx/proxy-config/Nextcloud.subdomain.config?   When I do I get a 502 bad gateway error.

Anyone have advise on how to resolve? 

NCerror.jpg

I recently upgraded my installation to 16.0.1 and I am getting the same warning:

 

The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.

Maybe it's a change in the nginx conf files between the last version (15) and the current (16) version by the LinuxServer.io author 

Link to post
4 hours ago, gacpac said:

If you look on the forum you will my question with the exact same problem.

Here you go.

Add this to your config file. I believe in the nextcloud config

add_header Referrer-Policy no-referrer always;

Sent from my Pixel 2 XL using Tapatalk
 

Hello @gacpac

 

Can you point out which specific file, location where I should add that line?

Link to post

I tried to delete the nextcloud folder in the appdata and reinstall nextcloud, but I keep getting this update request.

I tried to use the appdata from last week and still the same. Even the tag linuxserver/nextcloud:16.0.1-ls22 does work anymore.

nextcloud.png

 

EDIT:

Here is the output if I tried to upgrade:

root@eb3e790334f8:/# sudo -u abc php7 /config/www/nextcloud/occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <federatedfilesharing> ...
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT `class` FROM `oc_admin_settings` WHERE `class` = ? LIMIT 1' with params ["OCA\\FederatedFileSharing\\Settings\\Admin"]:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_admin_settings' doesn't exist
Update failed
Maintenance mode is kept active
Reset log level

 

 

Edited by pingmanping
add info
Link to post
13 hours ago, antindragonslayer said:

Go to settings for your Nextcloud docker. Change repository from "linuxserver/nextcloud" to "linuxserver/nextcloud:16.0.1-ls22"
That downgrades your docker.

Next step would be to update Nextcloud from the nextcloud admin GUI. Do it step by step. Worked great for me!

I tried that but it fails so any anything else

Link to post
17 minutes ago, pingmanping said:

I tried to delete the nextcloud folder in the appdata and reinstall nextcloud, but I keep getting this update request.

I tried to use the appdata from last week and still the same. Even the tag linuxserver/nextcloud:16.0.1-ls22 does work anymore.

nextcloud.png

 

EDIT:

Here is the output if I tried to upgrade:


root@eb3e790334f8:/# sudo -u abc php7 /config/www/nextcloud/occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <federatedfilesharing> ...
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT `class` FROM `oc_admin_settings` WHERE `class` = ? LIMIT 1' with params ["OCA\\FederatedFileSharing\\Settings\\Admin"]:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_admin_settings' doesn't exist
Update failed
Maintenance mode is kept active
Reset log level

 

 

 

Deleting your appdata wasn't a smart move. Unless you have a backup, there is no return now.

I would just start fresh.

Link to post
Did you try updating through command line?
Yes, I tried updating through cli then UI with the same error.

About the backup, I extracted the nextcloud folder from the CA backup last week and chown nobody:users the backup nextcloud folder.

The config.php says version 13.0.1.1 and the ./occ says version 13.0.1

Sent from my ONEPLUS A6003 using Tapatalk

Link to post
Hello [mention=83915]gacpac[/mention], 
 
Can you point out which specific file, location where I should add that line?
I think it should be here. Appdata/NextCloud/nginx/site-confs/default

That's it. If it doesn't work. Search in this forum where else could you put it, because I don't remember.

But this is a really known question, I found the answer like in 10 minutes on the nextcloud forums and then here.

Sent from my Pixel 2 XL using Tapatalk

Link to post
3 hours ago, pingmanping said:

Yes, I tried updating through cli then UI with the same error.

About the backup, I extracted the nextcloud folder from the CA backup last week and chown nobody:users the backup nextcloud folder.

The config.php says version 13.0.1.1 and the ./occ says version 13.0.1

Sent from my ONEPLUS A6003 using Tapatalk
 

That question was not for you.

Link to post
2 hours ago, Trillingsgaard said:

nop I am not so good to CLI

so witch commands do i use

You could read the last pages where I posted multiple times where the instructions are.

Go to the first post and read it.

Link to post
21 hours ago, saarg said:

 

No idea. Did you follow the instructions linked in the first post or update through the webui?

Initially, I tried through the webui. Afterward, it shows the attached message. The update does not work and the server goes into maintenance mode.

Then I tried updating via the occ, and it showed the error in my initial post.

installation.png

Link to post

Hello!

 

Mi docker recently updated to the most recent version and now it seems to be broken. I lost connection in all my nextcloud clients and when I try to open the web interface I get the following message:

 

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

 

Is there a way to fix this issue?

 

 

Link to post

Simple question, to which I cannot find an answer.

 

Do I need to upload my files from UNRAID shares to nextcloud, or can I MAP nextcloud folder to ACCESS my shares file?

 

For example, on UNRAID I have a share called "myshare" that I have used for a while, which contains all my documents, 150GB of them, and that I want to sync across my UNRAID server, desktop and laptop.

 

Resilio sync is easy....create a folder in Resilio Sync GUI, MAP the folder to your local folder (to UNRAID share "myshare"), and do the same on your other device.

 

Does Next cloud allow the same?

 

OR, do I have to UPLOAD 150GB of my data from "myshare" into nexcloud folder, so that that data will be synced across all device?

 

Thanks.

 

 

 

Link to post
2 minutes ago, emod said:

Simple question, to which I cannot find an answer.

 

Do I need to upload my files from UNRAID shares to nextcloud, or can I MAP nextcloud folder to ACCESS my shares file?

 

For example, on UNRAID I have a share called "myshare" that I have used for a while, which contains all my documents, 150GB of them, and that I want to sync across my UNRAID server, desktop and laptop.

 

Resilio sync is easy....create a folder in Resilio Sync GUI, MAP the folder to your local folder (to UNRAID share "myshare"), and do the same on your other device.

 

Does Next cloud allow the same?

 

OR, do I have to UPLOAD 150GB of my data from "myshare" into nexcloud folder, so that that data will be synced across all device?

 

Thanks.

 

 

 


As said before. Use the "External storage support" app/plugin. Add your share as local storage in settings.

Edited by Niklas
Link to post

Issue: The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the documentation.  

 

I have tried all the suggestions on page 86 

Nothing has worked.  I've used the letsencrypt IP address and port number (both ports 1443 and another line for 180).  I still get the error.  What am I missing?  

Edited by Mlatx
Link to post

Hi guys, sorry for the intrusion but I just discovered I have an issue after updating all my dockers this evening.

 

I can no longer access Nextcloud via letsencrypt; I have started getting the error "This version of Nextcloud is not compatible with > PHP 7.2.
You are currently running 7.3.6."  Both the nextcloud and letsencrypt dockers are from linuxserver.io and I updated both this evening.

 

I got into the letsencrypt console and did a php -v and it is indeed running 7.3.6:

PHP 7.3.6 (cli) (built: Jun 14 2019 11:43:56) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.6, Copyright (c) 1999-2018, by Zend Technologies
 

So, my questions...

1. Is there a change log/release notes or other such page somewhere on the net for each of these dockers so I can read to validate that the version of php changed (I believe it has)?

2. Is there a way to "downgrade" to a previous version of a docker and, if so, how?  A pointer to some educational material on the subject would be appreciated.

3. I find it odd that two dockers from the same publisher are apparently at odds with each other.  Does this happen often?

4. Anyone else having this issue?

 

Thanks

Mike

Link to post
3 hours ago, Niklas said:


As said before. Use the "External storage support" app/plugin. Add your share as local storage in settings.

I tried, and I cannot change the setting ...see screen shot.

 

 

ext. storage.jpg

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.