From the user panel: https://.../index.php/settings/user/externalstorages
Global from administrator panel: https://.../index.php/settings/admin/externalstorages. Here you can also forbid to create external storages from the user panel. Only admin can create external storage linked to local folder.
Please check if you enable or disable creation of external shares for users in 2, in this case 1 will not work as you described (user will see storages set by admin, but will not be able to change them or added new).
Check if web user has rights to write to the directory. Try to set it to 777 and check if it works, this will give you a hint.
Thanks! I was looking for the admin/externalstorages page but really could not find it again, I thought it just disappeared and got replaced by the user/externalstorages after ‘enabling’ external storage!
I have went back to that page and added both my user account and the admin account in the “Available for” field. However, this did not solve the issue.
I have also chmod 777’ed the mount point for my HDDs which I am trying to use as external storage, and that does not work either. I can create files in the Ubuntu file system, but this is not reflected on Nextcloud.
Could you please verify if this is the right way to point to a local storage folder?
I have entered /mnt/lvm under the “Configuration” field since it says Location before I enter anything.
I see this error message at the top:
"smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it.
You can test if your NC user has access to your local folder. E.g. for user www-data it could be: sudo -u www-data ls -la /mnt/lvm/
Check if you can see content of the folder and then just try to access 1 particular file: sudo -u www-data tail /mnt/lvm/someFile.txt
if not - you have access rights issue.
I have a few external shares and to not mount it in root for this particular user you can create folder e.g. Externals and by mounting just set it as per screenshot. Folder fill be mounted under Externals under SomeFolder.
Nope, for snap it is totally different.
All Apps are installed under you home in .snap, e.g. ~/.snap. Applications suppose to access regular user files, but I do not use it and could not help you exactly.
Wiki says your snap files under $SNAP_DATA ( /var/snap/nextcloud/current/ by default)
Also note that the interface providing the ability to access removable media is not automatically connected upon install, so if you’d like to use external storage (or otherwise use a device in /media for data), you need to give the snap permission to access removable media by connecting that interface:
I am having the same issue.
I have installed ncpi with dockers.
I have tried the comand line above sudo -u www-data ls -la and it returned: ls: não foi possível acessar ‘/media/pi/744cd53e-d66a-4d25-a05d-a9e5afec7d01’: Permissão negada
How can I access my external HD? I have already installed external storage app like in this video and it didn’t work: https://youtu.be/pcAvknt53vs
Cound anyone help?
I am really a newbie.
Thank you very much.
Then try to mount your folder to docker container as was mentioned above.
Posiible that it will not work 100% at the end, becaus you need to give a special permissions, or do chmod -R 777 /media/pi/744cd53e-d66a-4d25-a05d-a9e5afec7d01 to the folder (allow to all), what I will not recommend. Please write back when you finished with folder mount and added it to NC.
Update: I found in tickets, solution how it should looks like (read from “For anyone setting this up for the first time, and wanting to add their filesystems they’ve attached to the docker container”):
I did not make this command yet because you said you did not recommend it. [quote=“gas85, post:12, topic:55081”]
chmod -R 777 /media/pi/744cd53e-d66a-4d25-a05d-a9e5afec7d01
I have made this instead: sudo docker run -d -p 443:443 -p 80:80 -v /media/pi/9C84EEE084EEBC40/:/data --name nextcloudpi ownyourbits/nextcloudpi 192.168.0.35 --restart:always
And it appeared in nextcloud server, but says that I do not have permission to see or write there.
Not sure if this is what you want to achieve, but could
sudo mkdir /mnt/LocalFolder1
Now you can use docker volume option -v
docker run -d -v /media/pi/ae99c1bc-5cdd-46a5-beab-284ae0637f9b:/mnt/localFolder1:rw nextcloud
Could not work for you as you copied verbatim UUID of example, you should insert UUID of your drive which we have established as ae99c1bc-5cdd-46a5-beab-284ae0637f9b
Also assume for second part of the -v option : /mnt/LocalFolder1 needs to exist on your system.
Hum. Unfortunately it did not work. I can not see my external hard drive. I mean, I can see it, but it says that O do not have permission to write or read.
‘’‘docker logs -f nextcloudpi’’’
‘’‘docker update --restart=always IDCONTAINER’’’
Is there any other easy way to install ncpi? Is it easier to install ncpi iso?
Thank you for your time, OliverV.