Skip to content

How to change the Default data directory of the Nextcloud Digitalocean 1-click Droplet? #644

Answered by szaimen
S0ulf3re asked this question in Questions
Discussion options

You must be logged in to vote

Hello, the Nextcloud datadir variable is on digital ocean by default set to /mnt/ncdata. See https://github.com/nextcloud-releases/all-in-one/blob/16e1c468317481128010badeabc5a342988c6f72/.build/digitalocean/files/var/lib/cloud/scripts/per-instance/001_onboot#L19

So if you mount your external drive there before the first startup (and adjust the permissions correctly), you do not need to adjust the container startup command...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@S0ulf3re
Comment options

@szaimen
Comment options

@S0ulf3re
Comment options

Answer selected by szaimen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants