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

1 hour ago, TDA said:

Hello Everyone,

I've a strange problem.
I can't login into Nextcloud anymore.

Last week it was working, and now - when I try to login, i get back to the login screen (Without error or something).

I have 2FA on NextCloud.

 

Do someone has an idea, or knows where to start looking?

 

Thanks alot.

Check nextcloud.log in /data folder of your nextcloud install

  • 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

On 3/5/2021 at 11:24 PM, Monroe1701 said:

Hello, I'm trying to update my way up into modern times. I'm currently at Nextcloud 17 an stuck. "occ update:check" shows:

Nextcloud 18.0.14 is available. Get more information on how to update at https://nextcloud.com/outdated-php-7-1/

 

The docker container in unraid is up-to-date and "php --version" shows 7.1.17. I couldn't find a solution anywhere.

What am i missing? Thanks.

 

On 3/6/2021 at 12:22 AM, skois said:

run "updater.phar"

after it is done withour errors do "occ upgrade"

I'd suggest a backup of nextcloud and db appdata before updating. You are several major releases behind, and things have more chances to go wrong.

Hello,

 

I tried "updater.phar" and nothing happend

and "occ upgrade" says: "Nextcloud ist already latest version"

 

But "occ update:check" says:

Quote

 

"Nextcloud 18.0.14 is available. Get more information on how to update at https://nextcloud.com/outdated-php-7-1/.
1 update available"

(same as in the UI)

 

 

It still seems I need a newer PHP. This is a standard linuxserver.io unraid docker container and I couldn't find anything about this problem, so the update from Nextcloud 17 to 18 probably worked for most, but why not for me?

56 minutes ago, Monroe1701 said:

 

Hello,

 

I tried "updater.phar" and nothing happend

and "occ upgrade" says: "Nextcloud ist already latest version"

 

But "occ update:check" says:

 

It still seems I need a newer PHP. This is a standard linuxserver.io unraid docker container and I couldn't find anything about this problem, so the update from Nextcloud 17 to 18 probably worked for most, but why not for me?

updater.phar had NO output at all?

Open nextcloud template (Right click docker , click edit) 
Top right corner click advanced
Put a screenshot of it (i need the Repository field)

Hide any personal info if there is any

Getting this error when updating my nextcloud and occ upgrade. Any idea how to change this table?


 

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'ALTER TABLE oc_groups ADD displayname VARCHAR(255) DEFAULT 'name' NOT NULL':

SQLSTATE[HY000]: General error: 1036 Table 'oc_groups' is read only

 

Edited by waymon

I have a rather big issue. I've accidentally nuked my /data directory with no backups available. 

I've created a new directory (called differently than the last one) but now get the error that the .ocdata is missing, which makes sense. Can somebody tell me how to fix the issue or does anyone have at least experience with this? I would really like to avoid setting it all up again. 

7 hours ago, DezzyTee said:

I have a rather big issue. I've accidentally nuked my /data directory with no backups available. 

I've created a new directory (called differently than the last one) but now get the error that the .ocdata is missing, which makes sense. Can somebody tell me how to fix the issue or does anyone have at least experience with this? I would really like to avoid setting it all up again. 

just create a file named .ocdata, its should be an emtpy file.
 

Edited by skois

12 hours ago, skois said:

updater.phar had NO output at all?

Open nextcloud template (Right click docker , click edit) 
Top right corner click advanced
Put a screenshot of it (i need the Repository field)

Hide any personal info if there is any

Yes, updater.phar had NO output at all, or any reaction I could see.

 

Repository: linuxserver/nextcloud:140

Docker Hub URL: https://hub.docker.com/r/linuxserver/nextcloud

 

image.thumb.png.ebe3f766704f9e3f24f130b5b8c3ec2c.png

13 minutes ago, Monroe1701 said:

Yes, updater.phar had NO output at all, or any reaction I could see.

 

Repository: linuxserver/nextcloud:140

Docker Hub URL: https://hub.docker.com/r/linuxserver/nextcloud

 

image.thumb.png.ebe3f766704f9e3f24f130b5b8c3ec2c.png

Wow this tag (140) is 3 years old.
try this tag, and try to update and upgrade again.
linuxserver/nextcloud:18.0.4-ls81

17 hours ago, skois said:

Check nextcloud.log in /data folder of your nextcloud install

 

Hello,

I saw alot of:

Wed Mar 17 06:55:00 2021 (392): Fatal Error Unable to create lock file: Bad file descriptor (9)

 

In the docker log. What could it be?

 

Any help is really appreciated.

1 minute ago, TDA said:

 

Hello,

I saw alot of:

Wed Mar 17 06:55:00 2021 (392): Fatal Error Unable to create lock file: Bad file descriptor (9)

 

In the docker log. What could it be?

 

Any help is really appreciated.

Its probably permissions issue, try going to Tools -> New Permissions 
Select your nextcloud shares both /data and /config. (the shares you mapped on those folders)
And try again, Also there might be permissions on the docker image. With this i can't help much to fix, 
 

1 minute ago, skois said:

Its probably permissions issue, try going to Tools -> New Permissions 
Select your nextcloud shares both /data and /config. (the shares you mapped on those folders)
And try again, Also there might be permissions on the docker image. With this i can't help much to fix, 
 

I will try, but I changed nothing 😐 Really strange

4 minutes ago, skois said:

Its probably permissions issue, try going to Tools -> New Permissions 
Select your nextcloud shares both /data and /config. (the shares you mapped on those folders)
And try again, Also there might be permissions on the docker image. With this i can't help much to fix, 
 

I can't select only my NEXTCLOUD data and config with the "NEW PERMISSION".

Since they /config for example, isn't a share, but under APPDATA.
It's under

/mnt/user/appdata/nextcloud/

 

So the only option seems to be to select the APPDATA correct?

I can't select only my NEXTCLOUD data and config with the "NEW PERMISSION".
Since they /config for example, isn't a share, but under APPDATA.
It's under
/mnt/user/appdata/nextcloud/
 
So the only option seems to be to select the APPDATA correct?
Do only the /data for now, restart docker and see if that works
And if that don't work post all docker log.

Sent from my Mi 10 Pro using Tapatalk


1 minute ago, skois said:

Do only the /data for now, restart docker and see if that works
And if that don't work post all docker log.

Sent from my Mi 10 Pro using Tapatalk

 

Also the data isn't a share itself.

I find the tool quite bad if you cannot select the correct folders...

2 minutes ago, TDA said:

Also the data isn't a share itself.

I find the tool quite bad if you cannot select the correct folders...

You 'll need then to find how to use terminal. chown is the command you need to use. But you need to find the correct permissions and flags to pass.
Because this could do more harm than good with wrong flags, i can't help.

5 hours ago, skois said:

just create a file named .ocdata, its should be an emtpy file.
 

That did it! Thank you.

1 hour ago, skois said:

You 'll need then to find how to use terminal. chown is the command you need to use. But you need to find the correct permissions and flags to pass.
Because this could do more harm than good with wrong flags, i can't help.

 

hm... perfect...

2 hours ago, skois said:

You 'll need then to find how to use terminal. chown is the command you need to use. But you need to find the correct permissions and flags to pass.
Because this could do more harm than good with wrong flags, i can't help.

 

I solved it.

I had configured following inside the docker:

 

TMP to RAM
/tmp = /tmp/swag/

 

Now it has worked for quite long time - no idea why it wasn't working anymore.

Maybe the upgrade to 6.9.1 is the culprit, I don't know.

 

 

 
I solved it.
I had configured following inside the docker:
 
TMP to RAM
/tmp = /tmp/swag/
 
Now it has worked for quite long time - no idea why it wasn't working anymore.
Maybe the upgrade to 6.9.1 is the culprit, I don't know.
 
 
Well if you just upgraded unraid and started this, you should have said that! It would be easier to pin point it. Any way, glad it works now

Sent from my Mi 10 Pro using Tapatalk

5 minutes ago, skois said:

Well if you just upgraded unraid and started this, you should have said that! It would be easier to pin point it. Any way, glad it works now

Sent from my Mi 10 Pro using Tapatalk
 

 

Other Docker haven't this problem - so I didn't think that this could be the problem.

 

4 hours ago, skois said:

Wow this tag (140) is 3 years old.
try this tag, and try to update and upgrade again.
linuxserver/nextcloud:18.0.4-ls81

Yes, I started my update-journey somewhere around Nextcloud 14.

I will try the tag tonight.

 

When I reach the current Nextcloud version, is it save to use the "latest" tag, or should I  match the tag with the Nextcloud version?

 

Thanks.

11 minutes ago, Monroe1701 said:

Yes, I started my update-journey somewhere around Nextcloud 14.

I will try the tag tonight.

 

When I reach the current Nextcloud version, is it save to use the "latest" tag, or should I  match the tag with the Nextcloud version?

 

Thanks.

It's safe, just don't let nextcloud not updated.
Update after the first patch of a major release. For best results!

On 11/19/2020 at 4:34 PM, capt.shitface said:

 

Thank you!

It was the Collabora plugin that broke nextcloud!
Just open a terminal to the nextcloud-docker and type:

sudo -u abc php /config/www/nextcloud/occ app:disable richdocumentscode
sudo -u abc php /config/www/nextcloud/occ app:disable richdocuments

Then restart docker.

I had the same issue and have been looking for a solution for literally days!! Thank you SO much for this my friend, you saved me :D

On 4/26/2020 at 6:34 AM, PzrrL said:

Hi,

 

I am having an issue using the external storage. I want share files of my unraid share to my friends, so I mounted a SMB mount so that my nextcloud docker could access the UnRaid's share. Then, I can create a share link in the nextcloud and send it to my friend.

 

The problem is, my friend can use the link and see the file, and download at fullspeed (the limit of my home network to ISP). But after awhile, it just suddenly saying "Failed - Network error" in Google Chrome. Tried for few times but still not able to download to whole file. The file is around 14GB large. Clicking continue to download does not work, it starts from the beginning.

 

I tried to mount using both SMB and local, but the problem is still existing. I mount local by setting up another path in the nextcloud docker settings. Both of them have the same problem of "Failed - Network error". When I download the file locally, meaning that I use my computer in the same LAN to download it, it is fine and always complete the download.

 

Any advice would help. Thanks a lot!

 

 

came here because i have the same problem. anyone ever answer this?

21 hours ago, skois said:

It's safe, just don't let nextcloud not updated.
Update after the first patch of a major release. For best results!

 

Thank you very much for your help. With the new tag I was able to update all the way to Nextcloud 20.0.8.1. I also change the tag to "20.0.0-ls122", with "latest" I couldn't log in anymore.

One question: My Nextcloud says it is Version 20 and up-to-date, but I thought version 21 ist the current version of Nextcloud? Even changing to beta channel it says it's up-to-date. Or is Nextcloud Hub different to Nextcloud?

 

Thanks.

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.