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] knex666 - Nextcloud

Featured Replies

20 hours ago, kanuracer said:

 

The command for the unraidterminal should be:

docker exec -u www-data DOCKERNAME php occ upgrade

 

i did that and this comes what do i need to do ?
AD779DF0-DFA2-40FC-A77A-075B7A958DFA.thumb.png.74082a8ede6854413df7a6cd41f82af7.png

  • Replies 771
  • Views 218.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • randomninjaatk
    randomninjaatk

    Option 2 seems easiest, created the following script below and set it to run every 5 min using the "Users Scripts" plugin #!/bin/bash docker exec -u www-data Nextcloud php -f /var/www/html/cron.ph

  • nextcloud-cronjob container in CA with user set to 99 should work  

  • Try   docker exec -u 99 Nextcloud php occ upgrade   This template by default runs NC as 99:100.

Posted Images

12 minutes ago, Onyxdigital said:

i did that and this comes what do i need to do ?
AD779DF0-DFA2-40FC-A77A-075B7A958DFA.thumb.png.74082a8ede6854413df7a6cd41f82af7.png

Check ur permissions for /config and ur config.php

Try

 

docker exec -u 99 Nextcloud php occ upgrade

 

This template by default runs NC as 99:100.

  • 3 weeks later...
On 4/27/2025 at 10:44 AM, Kilrah said:

Try

 

docker exec -u 99 Nextcloud php occ upgrade

 

This template by default runs NC as 99:100.

Also had the issue that i had to update manually, your command fixed it, thanks! :)

  • 2 weeks later...
On 4/2/2024 at 9:47 PM, xokia said:

image.png

 

/mnt/user/appdata/nextcloud/nginx/site-confs/default.conf

add_header X-Robots-Tag                         "noindex, nofollow, nosnippet, nofollow" always;

 

I also have it in the swag nginx container

 

Any clue why I still get this?

Did you ever figure this out? i've had this error for awhile and idk what to do. The folder /site-confs/ doesn't exist on my installation.

Hi all,

Could use some help fixing the webgui on my Nextcloud container. I've updated it a while ago and since then it is active but the Webgui isn't running. Didn't had the time to troubleshoot and installed another update over that, so not sure from what version to what version the issue appeared. Apologies for that!

The docker boots up, but GUI isn't available, neither does the app.

Errors are shown in the log:

text error warn system array login

/etc/s6-overlay/s6-rc.d/init-migrations/run: line 28: /config/.migrations: Permission denied

/etc/s6-overlay/s6-rc.d/init-migrations/run: line 28: /config/.migrations: Permission denied

mkdir: cannot create directory ‘/config/keys’: Permission denied

mkdir: cannot create directory ‘/config/php’: Permission denied

mkdir: cannot create directory ‘/config/www’: Permission denied

mkdir: cannot create directory ‘/config/log’: Permission denied

mkdir: cannot create directory ‘/config/log’: Permission denied

mkdir: cannot create directory ‘/config/nginx’: Permission denied

s6-rc: warning: unable to start service init-folders: command exited 1

/etc/s6-overlay/s6-rc.d/init-migrations/run: line 28: /config/.migrations: Permission denied

/etc/s6-overlay/s6-rc.d/init-migrations/run: line 28: /config/.migrations: Permission denied

mkdir: cannot create directory ‘/config/keys’: Permission denied

mkdir: cannot create directory ‘/config/php’: Permission denied

mkdir: cannot create directory ‘/config/www’: Permission denied

mkdir: cannot create directory ‘/config/log’: Permission denied

mkdir: cannot create directory ‘/config/log’: Permission denied

mkdir: cannot create directory ‘/config/nginx’: Permission denied

s6-rc: warning: unable to start service init-folders: command exited 1

╚═════════════════════════════════════════════════════════════════════════╝

[migrations] started

[migrations] 01-nginx-site-confs-default: executing...

[migrations] 01-nginx-site-confs-default: succeeded

[migrations] 02-default-location: executing...

[migrations] 02-default-location: succeeded

[migrations] done

Nothing has changed regarding permissions as far as i know, but perfomed a chmod -R 770 on the Nextcloud folder which contains the config cfolder. But nothing as changed.

What am I missing here?

Hey, i have a problem after updating the Nextcloud container. How can i go back to an older version?Screenshot 2025-06-06 143541.png

Add ":30" the the repository line, run it to upgrade to 30, then remove to go to 31.

  • 3 weeks later...
On 10/15/2024 at 10:27 PM, Atorcha said:

After move my old files from a copy of synology to new folder call "files" in nextcloud I ran 

 

docker exec --user 99 Nextcloud php occ files:scan --all

 

But I get that error:

 

root@UnRaid-Atorcha:~# docker exec --user 99 Nextcloud php occ files:scan --all 
Starting scan for user 1 out of 1 (David)
        Entry "files/00 Autocaravana/Suspensión neumatica.txt" will not be accessible due to incompatible encoding
        Entry "files/00 Autocaravana/Manuales Autocaravana/Autocaravana Elnagh 590 L (130 Cv) _ Precio, ficha técnica y fotos.pdf" will not be accessible due to incompatible encoding
        Entry "files/00 Autocaravana/Manuales Autocaravana/CBE_centralitas_PC100,PC200,DS300_manual_español.pdf" will not be accessible due to incompatible encoding

 

 

 

Hello, I still have the same error.

How I can scan new files with letter like ñ or ó

Thanks

  • 4 weeks later...

So I notice this comment in the install notes? I thought needing to use /mnt/cache was a thing of the past?

"At first install a MariaDB or PostgreSQL container. Changing their paths to /mnt/cache/appdata/... (instead of /mnt/user/appdata/...) will enormously boost Nextcloud's loading times!"

  • 2 weeks later...

What's the trick to getting this to work with HTTPS using npm? I'm getting 502s.

  • 1 month later...

I'm having all sorts of issues with my nextcloud instance. I've been with your software for 3-5 years now and have seen my fair share of issues, but this I cannot problem solve. The recognize app is completely broken in my instance, I've tried my best to rebuild what I can and I have semi gotten things working, but I am having a really big problem with the occ maintenance:repair feature.

The repair step for recognize, 'Populating added database structures for workflows' causes an infinite loop in the PHP process when dealing with a large dataset from the Recognize app. During the hang, the Nextcloud container shows high CPU usage while the MariaDB container remains idle, indicating an application-layer performance issue, not a database deadlock.

I could really use some help and maybe some handholding because I feel way out of my league here. Any help is appreciated though! Cheers!!

On 1/29/2025 at 3:09 AM, jpfeifer14 said:

Does anyone have experience with this error: Some headers are not set correctly on your instance - The `Strict-Transport-Security` HTTP header is not set (should be at least `15552000` seconds)?

Ive tried everything to make it go away. Cloudflare proxy both on and off, HSTS set in cloudflare to 6 months, HSTS set in Nginx Proxy Manager, and any combination of those options. When I use a web utility to check HSTS, it says that I have it enable and for far longer than the minimum in the error, but it still will not go away. Ive read about everything I can find and tried all possible solutions I've come across, so I am kind of at a loss here.

Good morning, did you manage to solve this problem? In Docker on a Linux server, it is very easy to change: https://github.com/linuxserver-archive/docker-letsencrypt/blob/535dcee33a866b6921a03b13bd7b50350c76b072/root/defaults/ssl.conf#L20

Unfortunately, the official docker does not have an ssl.conf file.

Does anyone know how to add:

add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;

to this docker using Cloudflare and Nginx?

  • 2 weeks later...

Good evening, I recently upgraded from version '30.0.5.1' to '31.0.4' and didn't realise until now that my upload of files bigger than 100mb does not work anymore. I am using cloudflare and got my chunking configured in the config.php. Before upgrading everything worked fine with big uploads.

I trie to upload via the browser and the drag and drop function. The Upload stops immediately (or after 1-5sec) and I get the error message in the upper right corner "Some files could not be uploaded" and "Unknown error during upload". Both errors do not show up in the log file.

I really hope someone knows this problem, cause after trying for 5,5hours I got no clue, or idea left what i could try. I even was not smart enough (or probably to tired by now) to downgrade back because the moment I start the container after restoring from "APPDATA.BACKUP" the container automatically upgrades.

I am using the "https://hub.docker.com/r/terratrax/nextcloud-multimedia" image.

EDIT:

I have no idea what was the problem, but today it is working again. I double checked my nginx proxy manager to be sure that client_max_body_size is set correctly and after changing that to a low number and then back to 100 now it works. Dunno why it stopped working in the first place.

Edited by Herbert Horst

  • 2 months later...

I've tried some searches but haven't found my specific issue. And this may cross the line between a Nextcloud/Cloudflare issue...

I've got Nextcloud installed (along with Nextcloud Office). I have a Cloudflare tunnel for accessing Nextcloud from outside my local network. Everything mostly works fine.

However, trying to create/open an Nextcloud Office document isn't working via the Cloudflare tunnel. I get the "Loading (document)..." with the circle spinning forever. The document will load when accessing the Nextcloud container from within my local network.

Any ideas?

Thanks in advance...

  • 4 weeks later...

How to get this working with tailscale?

  • 1 month later...

This Nextcloud Docker works -- But is there a Chance with Tailscale?!

  • 3 weeks later...

Hi all. I'm getting the following error. My server was offline for almost 2 years while dealing with some life situations. Finally setting everything back up.

Initializing nextcloud 32.0.6.1 ...

Can't start Nextcloud because upgrading from 27.1.3.2 to 32.0.6.1 is not supported.

It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.

22 minutes ago, 2000gtacoma said:

Hi all. I'm getting the following error. My server was offline for almost 2 years while dealing with some life situations. Finally setting everything back up.

Initializing nextcloud 32.0.6.1 ...

Can't start Nextcloud because upgrading from 27.1.3.2 to 32.0.6.1 is not supported.

It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.

26 minutes ago, 2000gtacoma said:

Hi all. I'm getting the following error. My server was offline for almost 2 years while dealing with some life situations. Finally setting everything back up.

Initializing nextcloud 32.0.6.1 ...

Can't start Nextcloud because upgrading from 27.1.3.2 to 32.0.6.1 is not supported.

It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.

Hello, you need to change your repository from :latest to an older version.

For example:

nextcloud:28.0

nextcloud:29.0
...

to a version before the latest one, and then change it back to latest.

The latest version from this Docker is 32.

2 minutes ago, kanuracer said:

Hello, you need to change your repository from :latest to an older version.

For example:

nextcloud:28.0

nextcloud:29.0
...

to a version before the latest one, and then change it back to latest.

The latest version from this Docker is 32.

Thank you. Just started it at 28. Had to figure out how to change the repo. Seems to be working.

  • 2 weeks later...

php occ mail:account:sync 1

In ImapToDbSynchronizer.php line 288:

Sync failed for 1:INBOX: IMAP message ID <AcuTm4Lys9onERlaS1O5fvF8c+3J2QAALVEgAAAyWAAAna13IAAAYs8AACoFvTAAADD+kAAAuMBAAAAaY2AALg0C8AABA8lwAA2

sx8AAAAtO0AD9avzAAACVXRAAABDTQAA1l5yAAAPdg5AATf7agACfnb9QAAB3ayAAKE/CoABt3wxQAAAorMAAK2YgMAAAB8YAAAAIpgAADKu9YAAAIIVgAC3T9+AALg5kMAAFoV4AAAAW

Q2AAJZ6s8AEOmj5QACm6tuAAAlyAIAAqCfNwAAvk7uAAJu+0wAABHW+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FwEkAAskIPwAAK8G3A=> is too long for the database

In MessageMapper.php line 358:

IMAP message ID <AcuTm4Lys9onERlaS1O5fvF8c+3J2QAALVEgAAAyWAAAna13IAAAYs8AACoFvTAAADD+kAAAuMBAAAAaY2AALg0C8AABA8lwAA2sx8AAAAtO0AD9avzAAACVXRAA

ABDTQAA1l5yAAAPdg5AATf7agACfnb9QAAB3ayAAKE/CoABt3wxQAAAorMAAK2YgMAAAB8YAAAAIpgAADKu9YAAAIIVgAC3T9+AALg5kMAAFoV4AAAAWQ2AAJZ6s8AEOmj5QACm6tuAAA

lyAIAAqCfNwAAvk7uAAJu+0wAABHW+AAGFL1MAABUS3AAAAYDRgAACr3YAAAvAbYAAACaXAAADArdAAMXotMAAmz53wAACXb3AAZJGswAAH143AAAAG8lAAKVzwwAACLseQAAOktqAABV

7REAACyIuwAAAHy/AAIQt0EAAC/xMgAAMIJZAADNFKUAAvIQ1gACqVtEAABRJ8QAAD7aSAAAD790AAJAYJsAABtGoAAAAKZQAAX52uEAAB7bMwAAZXhEAACaW3EAAk8BigAD6Y21AAJGI

WYAACJ13wAAlsPQAAAmtfEAAAG3bgACZojTAACliF0AAAZs8gACoqk7AAABNYoAADtJMgAAEPBuAAWKHgIAAAI5cgAArHVbAAARNtIAABXgaAAAOH2+AAADX7AAAgdlhAAAkt3oAABAU8

YAAC/13AAAFo8IAAKczPYAABcrGwAAFME1AAKCe1AAAAH9CAAAkyqFAAAtjIMAACcEEQACRVwbAAABYusAAB21cgAAPGRBAAABlYAAABPZCgAAHsfKAAA26nQAAA5MjwACn2/LAAcsolo

AAANYmwAAKUJJAAHl4hUAAHRZmwAACdzXAAAKBOwAAJN0cwABxv2QAAAuPT0AACFlmgAAdyCgAAAp4dkAAC40pQAATBMAAAAMB+IAAAHVgAAAAPVSAAHv5ywAADs5IwAADuNRAAAJF/sA

AAnRkQAAGmmxAAAbXQgAAlsgDwAAMpy3AAA3VokAAJSUQQAAWD/bAAAQZ4oAAb37CAAAlEF7AAAw+skABcSomQAAUjtCAABPVKUAACQi4AADOkOCAAMJnFwAAAdifQAAA0zPAAH4rc0AA

DEDKAATzIEGAAVM37MAAAD56AAABMKhAAAEeI8AAADtJgAJlSDKAAAJnhcAACY82gAABDX0AABhLcoAAA+idgAAAvc6AAAj/C0AAArTugAAFfGlAAAAZuEAAhDyNgAA8UXYAAANsN0AAi

NCHQAADT6eAAABGjwAAE5VbgAAC3DKAAARiEEAAAVlvAAAJnSpAABinEMAAABp8gACgNQTAAAh224AAARysAAAAbr8AAAWJsYAAAUEngAAE/j4AAAWg64AAAQMRQACV18VAABZqHwAAAH

YmAAAJg/UAAAFwEkAAskIPwAAK8G3A=> is too long for the database

mail:account:sync [-f|--force] [--] <account-id>

  • 3 months later...

Hello,

I just updated my Nextcloud container, but I'm stuck in the GUI:
nc1.jpg

The 'occ upgrade' completes without any error messages, but the status on the GUI does not change:

docker exec -u 99 Nextcloud php occ upgrade

....

Update successful

Turned off maintenance mode

Unfortunately, this is already the second time. During the last update in May, I encountered a similar issue and had to reinstall MariaDB and Nextcloud.

What am I doing wrong here?

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.