No local option in menu

i am trying to add a usb drive as a main storage for videos and photos.when i click on external storage under admin services, local option is not listed.i was able to get it to work with installing NC but decided to try NC AIO.

debian bookworm
NC AIO
Docker
drive is mounted and i have www-data as well as user added.
i switched to NC AIO due to ssl cert issues and finally got that fixed.

i have googled and asked on reddit,so far no luck.i followed some tutorials and the documentation listed on NC itself for adding.i am not able to do so at all.

does anyone know what i am missing?

thanks all.

Hi, see GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

thank you for your reply.i have tried that ,many times before with no luck.even with a new installation.yet no local option in storage on NC AIO shows up.not sure if there is another way or not.

Please post your Compose file (or run command) that contains the NEXTCLOUD_MOUNT so we can attempt to assist you. Otherwise we’re just guessing.

i am honestly not sure how to do that at this time.would you be able to point me in the right direction?

It is the Docker command or Docker Compose file you used to install/deploy AIO.

How did you deploy/run AIO?

You said you’ve “tried that many times before” when szaimen posted the link to the doc section that describes how to add a local mount. Perhaps there was a misunderstanding or misstatement? :slight_smile:

i did follow exactly the instructions listed on https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host

to install aio as well as try to mount the external drive with no luck.i did try multiple times even using clean installs to be safe.all came out the same.i actually copied and pasted the commands as i know typing,i make mistakes.

it is weird how when i install and run “regular” NC,i have the option but installing and running AIO.i have no option at all.

.i actually copied and pasted the commands

Okay let’s try this a different way.

What commands did you type?

AIO can be installed multiple ways.

Did you use a docker run command? Or did you use a composd.yml file? Both approaches are described in the AIO documentation.

We need to know what you entered precisely.

it is weird how when i install and run “regular” NC,i have the option but installing and running AIO.i have no option at all

This is because Local mounts are disabled by default in AIO.

1 Like

i did use “docker run”

Again:

We need to know what you entered precisely.

for NC AIO

curl -fsSL https://get.docker.com | sudo sh for docker

the info wanted

sudo docker run
–sig-proxy=false
–name nextcloud-aio-mastercontainer
–restart always
–publish 80:80
–publish 8080:8080
–publish 8443:8443
–volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config
–volume /var/run/docker.sock:/var/run/docker.sock:ro
nextcloud/all-in-one:latest

for drive mount just incase needed

–env NEXTCLOUD_MOUNT="/media/tomainfolder
(that is where my drive is mounted,in media directory)

sudo chown -R 33:0 /mnt/your-drive-mountpoint

sudo chmod -R 750 /mnt/your-drive-mountpoint

after that i opened AIO GUI, stopped containers,started then restarted my device.

thank you for helping :smiley:

Is this the literal command you’re using?

All docker run options need to be specified before the image name. Anything after the image name (nextcloud/all-in-one:latest in this case) is passed by Docker to the running container as a command+argument (which is not what you want here). See Docker’s documentation here.

You likely want something more like:


sudo docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
--env NEXTCLOUD_MOUNT="/media/tomainfolder"
nextcloud/all-in-one:latest
1 Like