Change NEXTCLOUD_MOUNT after initial install?

I’m new to Nextcloud. I have it up and running in Docker on MacOS. I used Docker Compose and set NEXTCLOUD_MOUNT, and it works fine. I successfully created an External Storage folder using it. But after giving it some thought, I want to move that directory up a level so I can access other folders.

Meaning, if NEXTCLOUD_MOUNT is currently:
/Volumes/FolderOne/SubFolderOne/

I would like to change it to:
/Volumes/FolderOne/

So I can still access SubFolderOne along with any other SubFolders. I changed it in the Docker Compose and rebuilt it, but it seems that the original value is stuck. I cannot see or access any other folders. How can I do this?

Hello @_Mike,

welcome to the Nextcloud community! :handshake:

many different installation variants exist even with docker please post your compose file.

In general it pretty easy to change the physical location of a docker bind mount.. but

likely this will not match your expectations. Nextcloud data directory has specific structure mainly holding a folder for each user. even if there are more folders they don’t magically appear in the cloud.. and this is always bad idea to mangle with Nextcloud storage from outside (ways exists but better just don’t do).

If you want to share some data with other applications you better add another bind mount and add this as “local external storage” to your cloud config.
external_storage docker-compose