16.12.2016 · Is there a way to change the data directory nextcloud is using to an external drive mounted on /media/? I obviously don't want everything on my rather small SSD. Thanks!
Move (or copy) the current data directory to the new location: sudo mv /var/snap/nextcloud/common/nextcloud/data /media/my/new/data . Re-enable the snap: sudo ...
11.04.2019 · By default, Nextcloud data folder is located in the /srv/nextcloud/data folder. For example, after installation I had only 6Gb available. It depends of your system and the amount of storage you have. In this little wiki, I’ll show you how to move your data to a bigger location. Be careful, do this only when you are not transferring files. First of all, you need to edit the …
08.07.2020 · I have installed nextcloud via snap, made my data location to /media/usbhd/(data), made the changes. sudo nano /etc/fstab /dev/sda1 /media/usbhd ntfs defaults 0 1 sudo chown -R root:root /media/usbhd sudo chmod -R 0770 /media/usbhd. but still I get the message : "Your data directory is readable by other users
Re-enable the snap: sudo snap enable nextcloud. Now you don't need to bother with the external media solution: all of Nextcloud's data will be there. Note that this only covers the raw data (e.g. files) hosted by Nextcloud. The database and apps are still in /var/snap/nextcloud/current/. I suggest you leave them there. Note: if you have issues ...
Data directory (/...../nextcloud/data) is invalid Please check that the data directory contains a file ".ocdata" in its root. From researching this issue, I have modified the ownership to www-data and changed the files/directory permissions to 770. The issue seems to be that I …
05.12.2019 · Note that snap Nextcloud cannot access your files in your home folder. 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:
17.07.2017 · Snap/Docker/VM user read this! Note that this HowTo does not apply to Nextcloud containers/appliances or the official Nextcloud VM from Hansson IT.. If you use Nextcloud Snap, follow their official simple instructions: Change data directory to use another disk partition · nextcloud/nextcloud-snap Wiki · GitHub If you use the Nextcloud Docker container, the GitHub …
31.01.2020 · Note that running snap connect nextcloud:removable-media only whitelists some common folders/mountpoints like /mnt or probably /run/media and whatever. I tried to use the path /zpool/nextcloud/data, which did not work, so i had to change the mountpoint of my ZFS storage pool to /mnt/zpool.. re:devnull guy, yes, kind of annoying, but I get how snap tries to be …
20.09.2019 · Your data directory is invalid Ensure there is a file called ".ocdata" in the root of the data directory. Your data directory is readable by other users Please change the permissions to 0770 so that the directory cannot be listed by other users.
20.12.2017 · Ok I ran touch .ocdata and when signing to web ui through lan ip I was greeted with this `Access through untrusted domain. Please contact your administrator. If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php.