I’m running Nextcloud Hub 9 (30.0.6) on a fresh installation of Ubuntu 24.04. I have a brand new 5tb hdd that is mounted at /media/rakelbara/Expansion.
I have installed the External Storage App, but when I try to add my drive, my password is not accepted. I can see this is a bug that others have experienced. But I haven’t figured out how to get around this issue.
Can someone help?
same here, people say that you can do it from the occ cli but personally i dont want to, if there is a gui for external storage i will use that instead of writing on a cli, no solution for it yet, i dont want to criticize the developer of the app but anyways… i left the link of the topic here if you want to take a look but its not a definitive solution bc when you mount storage it will be visible for all users and you have to CHANGE PROPERTIES AGAIN on the occ cli, its exhausting to do a simple task with 23342455 lines of commands..
link to the “”““solution””“”
My workaround is to do it via command line CCO command:
Share is on my QNAP \192.168.100.20\Media, Subfolder are Files\I-Tunes
Share should be acessible only to a group Audio:
sudo -u www-data php ./occ files_external:create AUDIO smb password::password -c host=192.168.100.20 -c share=/Media/ -c root=/Files/I-Tunes -c user=username -c password='Password'
--> Will return a ID for the Share, for example 9
sudo -u www-data php ./occ files_external:applicable --add-group Audio 9
Workaround to add SMB External Storage to Nextcloud
if the GUI experiences bugs or errors.
All steps are made CLI copy-paste friendly.
TEMPLATE VARIABLES
Replace the values below with your own environment values:
<CONTAINER_NAME> = Nextcloud container name
<MOUNT_NAME> = Display name of the storage in Nextcloud
<SMB_HOST> = SMB server IP or hostname
<SMB_SHARE> = SMB share name
<SMB_USERNAME> = SMB username
<SMB_PASSWORD> = SMB password
<MOUNT_ID> = External storage mount ID (usually 1 if first mount)