March 24, 20251 yr 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.
April 8, 20251 yr 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?
April 12, 20251 yr 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
April 26, 20251 yr 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,
February 9Feb 9 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!
February 10Feb 10 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/Paperlessreally 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_MOUNTvalue: /mnt/user/Paperlessstop the containers via the AIO UI.restart the mastercontainerstart 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 sectionIn External storage add a new entryFolder name = paperless-consume (or whatever you want)External storage = LocalAuth = noneConfiguration = /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 leftAnd it works! Edited February 10Feb 10 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.