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.

Nextcloud AIO (SpaceInvaderOne): Unable to mount local storage as an external storage location

Featured Replies

On 3/21/2025 at 5:42 PM, hylli said:

Made a new share "aio" -> same error.

 

Which permissions could oder should i test?

 

Hylli 

In unraid go to the docker tab and click console on nextcloud-aio-nextcloud container (not the master container)

 

Check Mounted Volumes: df -h.

 

This shoudl show shfs /mnt/user in the list

 

Check Permissions: Navigate to the directory where the external storage is supposed to be mounted and check the permissions.

 

ls -l /mnt/user/Filme

 

Test Access: 

touch /mnt/user/Filme/testfile 

ls -l /mnt/user/Filme

 

Mine shows as root owner and root group.

 

I hope this helps narrow it down.

 

 

  • 2 weeks later...
On 3/21/2025 at 5:42 PM, hylli said:

Made a new share "aio" -> same error.

 

Which permissions could oder should i test?

 

Hylli 

Did you get it working?

Hi,

sorry for my late reply, i was very busy the last 3 weeks.

 

Today i installed Nextcloud-AIO from scratch, after resetting the instance as described here:

https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-properly-reset-the-instance

 

Then i tested all as before and i also tested with the testfiles:

-rw-r--r-- 1 root root            0 Mar 25 13:13  testfile


-rw-r--r-- 1 root root            0 Apr 12 19:30  testfile1
-rw-r--r-- 1 root root            0 Apr 12 19:30  testfile2

It doesn't work either.

 

Hylli

 

  • 2 weeks later...
On 11/1/2024 at 3:31 PM, icarus69 said:

 

@Kilrah @SpaceInvaderOne

I figured out how to enable local storage with this setup, but there are severe limitations:

 

Before hitting apply on the SpaceInvaderOne docker container to build it for the first time, you need to add this Variable:

  • Type: Variable
  • Name: NEXTCLOUD_MOUNT
  • Key: NEXTCLOUD_MOUNT
  • Value: /mnt/the_directory_you_want_to_mount_as_local_storage

 

Hit save, then apply. Then, once you have set Nextcloud up and enabled the external storage app, you will be able to mount that local storage location.

 

I had to completely remove the install and start from scratch to get that to work.

 

The problem with this is that I don't see how you could then add a second location as an external storage mount.

I was finally able to solve this problem, thanks for your explanation,

  • 9 months later...

I found this thread while trying to solve the problem of local mount to nextcloud, primarily for paperless consume function.

I have followed all of these instructions and AI, etc..

The problem I have is that the NEXTCLOUD_MOUNT variable is resulting in what looks to be incorrect binding on the child container.

The mastercontainer contains:

"Env": [

"NEXTCLOUD_DATADIR=/mnt/user/nextcloud/",

"NEXTCLOUD_MOUNT=/mnt/user/Paperless/",

"SKIP_DOMAIN_VALIDATION=false",

But the nextcloud-aio-nextcloud child container contains this in the binds config, which clearly won't work as it not what we want there:

"HostConfig": {

"Binds": [

"nextcloud_aio_nextcloud:/var/www/html:rw",

"/mnt/user/nextcloud/:/mnt/ncdata:rw",

"/mnt/user/Paperless/:/mnt/user/Paperless/:rw"

],

I cannot figure out how this is happening or how to fix it. Any help from users or @SpaceInvaderOne is greatly appreciated.

Cheers!

Ok. I got it working. I was really confused by the bind path I was seeing in the unraid docker ui. Previous reading on this topic indicated that the internal nextcloud name would be "/mnt/ncdata/local" so seeing Docker say

/mnt/user/Paperless<->/mnt/user/Paperless

really threw me off.

Getting the local setting in nextcloud was also not quite what I expected. In my readings I thought the mount point was the starting directory. So if I did a mount for /mnt/user/Paperless then all I would put in the configuration was "consume" but this is not how it worked for me.

Create a new variable in the nextcloud-aio-mastercontainer docker.

name: NEXTCLOUD_MOUNT

value: /mnt/user/Paperless

stop the containers via the AIO UI.

restart the mastercontainer

start all of the containers via the AIO UI

(or if this doesn't work you might have to tear down and rebuild the whole AIO bundle)

In NC config, enable external storage from the admin->applications->disabled apps section

In External storage add a new entry

Folder name = paperless-consume (or whatever you want)

External storage = Local

Auth = none

Configuration = /mnt/user/Paperless/consume (if you are using default paperless values)

Apply it via the check box and watch for the green check on the left

And it works!

Edited by pjneder

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.