nextcloud change data directory

This is not required. Hi. Connect the removable-media plug as mentioned in the README in order to grant the snap permission to access external drives. which are not used any more. My challenge was that I couldnt get NCPi to target to RAID as I was doing a fresh install and RAID was built after NCPi was installed. Admin manual says :On other HTTP servers it is recommended to install Nextcloud outside of the document root., Assumptions: I also set symlink ownership and set the actual data folder ownership (like described in solution2). /var/ncNewData >> 777 UPDATE: I think Ive finally managed to get it working The permissions of the parent directories were likely insufficient. @nickvergessen But the one thing: now I have the one security warning in Administration - Overview: The Referrer-Policy HTTP header is not set to no-referrer, no-referrer-when-downgrade, strict-origin, strict-origin-when-cross-origin or same-origin. Decide where you want the new data to live. Powered by Discourse, best viewed with JavaScript enabled, rename/move the folder to another location as you preffer, register on client software and search the new location of the MAIN FOLDER, Pick a local folder on your computer to sync (for example my Windows, Select a destination folder on Nextcloud server (or create new, also called. My understanding of how to sync a folder in Nextcloud that is not the "Nextcloud" folder is: Add folder sync connection Pick a local folder on your computer to sync (for example my Windows Documents folder) Select a destination folder on Nextcloud server (or create new, also called Documents) However, at that stage I am getting a warning: Indeed your statement (hence this HowTo) and Nextcloud docs do not match here. Im in the same boat running a raid on ubuntu but unable to change data dir. drwxr-x 5 www-data www-data 4096 Mar 15 15:46 data If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php. As there still appear qu. Thats my config: /var/ncData/user1 users data directories, so they may change and delete the files without My NC config was in sites-enabled and your in conf-available. Hi Rotational, does it mention to separate Data in the instructions? That depends on what you mean exactley when you use the term backup. drwxr-x 2 www-data www-data 4096 Mar 15 15:53 config total 164 Navigate to Settings > Personal > Sharing > Files. Include the output of this script. Under administrative settings you can allow users to mount external storage. Ill dig into it by times to check for safe ways to identify the correct entries. -rw-rr-- 1 www-data www-data 2976 Mar 11 10:52 index.php -rw-rr-- 1 www-data www-data 542 Mar 15 15:46 .htaccess drwxr-xr-x 2 www-data www-data 4096 Mar 11 10:52 ocs-provider Even if the data directory above is writable by root, if any part of the path above it (e.g. Logging an issue? I don't know trueNAS, but if you copy the data to the new location, you could either create a symlink to the new folder or edit the filepath in your nextcloud config.php. The data folder. Youll have to create a volume with local-persist driver. The only problem that I faced was to understand how oc_storages DB table can be edited. Could I not create a new folder (separate to my Nextcloud folder) in my Nextcloud account on the server and sync it with another folder on my computer? #nextcloud #hyperv #snap #ubuntu #windows #directory #change Nextcloud snap new setup and data changing directory to windows shared. Best regards But with this setting no file access r/w for user1 was possible. Also running: /etc/apache2/conf-available/nextcloud.conf. That custom directory should then be configured in the config.php via the configuration option skeletondirectory (see Configuration Parameters ). PS: of course since youre running that on a Windows Server 2018, youll have to adapt the path. 100-nextcloud.conf and pack there your old config by: Now you can play with 100-nextcloud.conf only. Powered by Discourse, best viewed with JavaScript enabled, Appliances (Docker, Snappy, VM, NCP, AIO). Powered by Discourse, best viewed with JavaScript enabled, HowTo: Change / Move data directory after installation. Bash shell commands like "cd" can't be "sudo'ed", so do this: $ sudo -i. now you can cd into the directory and do what you like. Could you please check my current config? -rw-rr-- 1 www-data www-data 2381 Mar 11 10:52 status.php But to be sure and not mess up the database with obsolete entries it is recommended to replace the old entry with the new one manually as mentioned in solution 1. For example, I have copied it at /mnt/g/data. Assuming all of the above, also make sure www-data (your web user) owns everything recursively in /var/www/nextcloud/ and /opt/nextcloud/ when youve finished setting things up (before launching the install wizard). I changed the data folder just for one user in my example. Configure the data directory and change it to your data folder path 'datadirectory' => '/usr/local/www/nextcloud/nextclouddata/data' 6. Then go to settings. Can i using SSL without domain? Disable maintenance mode sudo -u www php /usr/www/nextcloud/occ maintence:mode --off 7. Nextcloud's occ command (origins from "ownCloud Console") is Nextcloud's command-line interface. But note that synchronisation is not a backup. Access & sync your files, contacts, calendars and communicate & collaborate across your devices. I'm running NextCloud on Docker for Windows from within Ubuntu WSL. How do you remove user from client sync? There are also few topics about it, but it does not help for me. You should generally not touch the the files directly outside of Nextcloud. unfortunately it doesnt work does anyone have another solution? Moving Nextcloud database to external drive. Please see the discussion, where it is mentioned that editing the database entry is indeed not required (as far as it was tested). However you will want to relocate your data folder completely outside the web folder. with the question Continue with the conversion? them in directory that is readable by the webserver user. Create an account to follow your favorite communities and start taking part in conversations. Hmm, as long as the www-data has R/W access, everything else should not matter. So by just moving the data directory to another location and change the 'datadirectory' directive inside config.php, the oc_filecache will be full of wrong entries from the old location, where the files entries for the new location are missing, thus no files will be shown inside Nextcloud. It seems that the umask is set to 0000 by default. But in case /var/www/nextcloud/ it is not possible to get A+ on scan.nextcloud.com with a __Host-Prefix security hardening issue. Thanks for the pointer on the config file. Press question mark to learn the rest of the keyboard shortcuts. Edit the database: In oc_storages change the path on the local::/old-data-dir/ entry. drwxr-xr-x 2 www-data www-data 4096 Mar 11 10:53 updater -rw-r----- 1 www-data www-data 25937 Mar 15 15:49 nextcloud.log my permissions: Especially if your non-dummy admin Nextcloud user can access the files, from UNIX permissions side, all Nextcloud users must be able, as long as they have Nextcloud-internal permissions of course. Stop apache. One question for me if this is a security issue or not, Oh damn. Thanks, was able to review the document and move the data directory to a new one. Edited 2 times, last by Alomon (Feb 3rd 2020). Then, youll have to map this volume to your Nextcloud docker when you create it. On the left side under Administration select External Storage. You can see details here: Haven't tried to move data location but other users did and pointed to some guides: Trying to change nextcloud data location Support $ ls /etc/apache2/sites-enabled Although phpMyAdmin provides a nice GUI, it is not required to alter the database. Error with the data file location and it doesnt work. Start a shell in the Nextcloud container ( docker exec -it name-of-nc-container bash) and run chown -R www-data: /var/www/html. In the Folder name field enter the folder name that you want to appear on your Nextcloud Files page.. See Configuring External Storage (GUI) for additional mount options and . But it is of course also possible to use the Nextcloud as a storage backend for backups. Thanks for advice, MichaIng. Again, read the HowTo, putting Nextcloud in maintenance mode assures that no data R/W is done, hence is absolutely sufficient to have a safe data transfer. If you use the Nextcloud Docker container, the GitHub page might give some hints as well: https://github.com/nextcloud/docker So, other nextcloud users will not have a problem. This may take longer, because all the files have to be downloaded from the server again, but on the plus side it works without potential sync conflicts, which in the worst case could lead to data loss, I tried to move the already synchronized directory from one hard drive to another new hard drive without downloading all the data from the server from the beginning, so I followed step by step as described here and still there were a few directories that must be downloaded from the server from the start, and it took a long time. Everything should work if I create a folder on that partition, /mnt/external_hdd/nextcloud as an example, then I move everything from that partition into that folder, and then I run ln -s /mnt/external_hdd/nextcloud /var/nextcloud, right? empty to not copy any skeleton files. Locate the app in question from that list and then disable the offending app with the command: sudo . I didnt find any tutorial for this precise use case but I can give you some answer. I dont have the second menu with status setzen, abmelden and Konto Lschen there. I have mount disk on UCS 4.3. My standard permissions for folders are 750 and for files 640. /etc/apache2/conf-available/nextcloud.conf. Developer . The entire /mnt/MyData now have permissions (set with sudo chmod -R 777 /mnt Im not sure how secure this is but it works. As you can see in my 100-nextcloud.conf, it has line: Header always set Referrer-Policy no-referrer. I think the idea here is that in case of a web server malfunction or breach that it could theoretically straight up serve your files on the web page. one, do a suggestion to have it added. Once, to store nextcloud data, I created a raid and mounted it in a separate directory. (Recently, my MicroSD on my phone died, taking thousands of pictures with it - I have them backed up on Google Drive, but at lower quality). Admin or other sers will use the user folder whats stated in the nextcloud config (/var/ncData/). drwxr-xr-x 3 www-data www-data 4096 Mar 15 15:41 . 000-default.conf 000-default-le-ssl.conf, My nextcloud.conf is here: How can I achive this? If so then add your new data-folder! Also in my .htaccess file there is a following section existing: But for some reason the warning message is present. Dude, thank you so much for this. Move the nextcloud data folder to new directory, 5. What Information do you need? Reddit and its partners use cookies and similar technologies to provide you with a better experience. Also note that the interface providing the ability to access removable media is not automatically connected upon install, so if youd like to use external storage (or otherwise use a device in /media or /mnt for data), you need to give the snap permission to access removable media by connecting that interface: Powered by Discourse, best viewed with JavaScript enabled, Snap installation with changed data directory, https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition, Set up with 2 hard drives in raid 0 server error, When I do it after creating the admin user, I fail as described in my other posting, When I do it prior creating the admin user, my changes in file. We'll use /media/nextcloud/data. Then with your regular user account you go to settings -> External storage. Nextcloud config config.php. By default this imports the database, config, and data. If omitted the tool will ask you (optional) --clear-schema clear schema (optional) Therefore it creates the tables oc_storages for the data directory and oc_filecache for the files. With the default data directory everything works fine. Can someone assist? My Site config example was listed here: This is my LIVE config for NC ( 100-nextcloud.conf ). apps will not be converted even with option --all-apps. first login. Make sure root has write access, but it's not accessible by others, for example: Important: Posix permissions take the entire path into account. Edit 1: Solved, I was able to move it to a new directory, Mount the dataset you want to the nextcloud jail and called it what you want , mine would be "nextclouddata", 3. Then you switch the data-dir in config/config.php To access the settings for configuring external storage mounts, click on your Profile icon in the top right and select settings from the dropdown. Thank you very much for your explanation. Pick a file or folder and click on Choose >> The chosen file or folder name gets displayed. Ive successfully got the external drive feature to work in nextcloud, but I want the data directory to be using the dataset I choose. You are absolutely right - I am not looking to have a backup in case my files are deleted; rather I am looking to have a backup in case my own PC/Mac/Mobile device drive fails, so there is a perfect copy of specific folders on Nextcloud. See nextcloud.export -h for more information. total 12 Im also not sure how secure this is but its works for me too. This means that even if I run chmod -R 0770 ./html on my data directory, any new file will still have the incorrect permissions.. You can simply stop the server, move data directory, change path in config and start server again. But anyway the warning still exists. : Move (or copy) the current data directory to the new place: And you should be up and running using external storage for Nextcloud's data. Add-ons --> My Add-ons --> Nextcloud --> Configure --> Map /data. 000-default-le-ssl.conf - per default serving your HTTPS requests with document root /var/www/html. Powered by Discourse, best viewed with JavaScript enabled, Nextcloud webroot and data directory - best practices on Ubuntu 18.04 LTS, Aufruf Nextcloud ber https://meinedomain/Nextcloud statt nur ber https://meinedomain, HowTo: Change / Move data directory after installation, https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition, Nextcloud 16 Security Scan: __Host-Prefix. So yes, your idea works fine, as of Solution 1. Make your admin user as usual and carry on, Nextcloud is using the external data. Add it to fstab so it is mounted at boot. no file access r/w for user1 was possible. See the W3C. drwxr-xr-x 3 root root 4096 Mar 15 15:38 I had not this warning message until moved to virtual host from my old config. The new root nextcloud user data location for this single nextcloud user ist now /var/ncNewData. To not mess things, within this thread, lets stay with the provided two solutions or, if you find yours the better (3.) Your webroot is /var/www/, and youll want to change the location of your data folder. So, if it is a bug, it still not fixed in the latest version. Im installing Nextcloud 18.0.2 manually onto a Raspberry Pi 4 (Raspian 10 - Buster), using MariaDB. drwxr-xr-x 3 www-data www-data 4096 Mar 11 10:52 themes The solution describes the update from brrrlinguist very well. The only thing that I had to do slightly different was to grant access to the www user and group to the mounted dataset. Then I tried to follow the instructions from @MichaIng to change the data directory (specifically Solution 1). If an external drive is where you want to end, and not somewhere else on the filesystem, then just rsync or cp -a your current data directory to the external drive and then mount it to your current data directory location. With the default data directory everything works fine. But after this Ive got Not Found trying to open my Nextcloud in a browser. Nextcloud data location change Installation NC17 on Debian 10 and transfer the data folder to the NAS tflidd January 28, 2018, 4:53pm 2 Please check the parent folders as well, www-data needs to be able to read and execute within them. After doing so you can use occ to scan the new location and update the database accordingly as needed. Then Install as normal lets me add a user then try to move the data file over to the raid 0 in the config.php file and when attempt to log in through local host. And that will tell docker-compose that youve already created this volume and its name is nextcloud-data otherwise docker-compose will create a new volume named nextcloud-data and will prefix it with the stack name (here nextcloud so it would be nextcloud_nextcloud-data. existing users will not see files that are added to this directory after their Configure the data directory and change it to your data folder path, https://docs.nextcloud.com/server/20/admin_manual/configuration_server/occ_command.html#command-line-installation-label. This was exactly what I was looking for and it was harder to find than it needed to be. drwxr-x 49 www-data www-data 4096 Mar 15 15:47 apps This screenshot shows a set of photos in the skeleton directory. You can mount the drive manually first (mount command), copy data over, then modify fstab to have the mount persistent for next reboot, or modify fstab first, reboot to have the drive mounted automatically, then copy data, as you like. Touching files only with the webserver unix user www-data. If anyone finds this when searching the answer is on the nextcloud-snap github page. I would go to the folder /etc/apache2/sites-available and create there file e.g. Unfortunately, I cant make a specific recommendation, since I dont use a Mac myself. > Everything under *-enabled is something are using now. If you updated your Nextcloud instance, there might be remnants of old tables Nextcloud is an open source, self-hosted file sync & communication app platform. If Nextcloud finds no matching database entry, it creates an additional one, which then works fine according to quick tests and user reports above. the strange thing is that when i was logged in it was still working and my HD was detected but when i logged out i got this message . If you delete something on your Mac inside of one of these folders, it also gets deleted on your Nextcloud server and vice versa. If you use Nextcloud Snap, follow their official simple instructions: https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition If you use the Nextcloud Docker container, the GitHub page might give some hints as well: https://github.com/nextcloud/docker The official Nextcloud VM has the data already And here I have little concerns about the 777 permission. But to be sure and not mess up the database with obsolete entries it is recommended to replace the old entry with the new one manually as mentioned in solution 1. -rw-rr-- 1 www-data www-data 0 Mar 15 15:46 .ocdata, Additionally, I have tried Solution 2 (symlinking), but I get stuck again on the same step (turning maintenance mode off) with the same exact error message. can't cd into nextcloud data directory. BTW, Im using Nextcloud 16.0.3. By accepting all cookies, you agree to our use of cookies to deliver and maintain our services and site, improve the quality of Reddit, personalize Reddit content and advertising, and measure the effectiveness of advertising. Just to mention (because i was thinking of that) there is no need to name your new path data at the very end. The default path for user templates is at /Templates (translated in the users language). affecting the originals. I still get Data directory (/mnt/myexternaldrive/nextcloud) is invalid. What do I do if an update breaks Nextcloud. I selected my /data folder on Nextcloud parameters box (on Libreelec), but shouldn't I change something in fstab? Hence, intense search on changing Data after install. There should be an option to delete or remove the account. After that save it: CTRL+O and exit using CTRL+X. because those changes will be overwritten on the next update of the Nextcloud Thanks for pointing me the right direction. NTFS). What is the best location for the nextcloud data directory. Im trying to to do an install Im having issues when I try and switch the data directory file over to mounted two drives in raid 0. click add folder synchronisation. At the moment the data folder is located under /usr/share/webapps/nextcloud/data (I need to move this to /mnt/drivex/data) and I don't have any conf folder under /usr/share/webapps/nextcloud, The only conf file I found is; /etc/httpd/conf/extra/nextcloud.conf, any suggestions on "how to change the location of data folder?" First, list out all of your installed apps with the command: sudo -u www-data php occ app:list. Configuration Parameters). -rw-rr-- 1 www-data www-data 3056 Mar 11 10:52 public.php I dont like 777 permissions, so perhaps somebody can give us an advice if this is a security issue or not. I just installed next cloud and it is up and running. This protection is important, otherwise users could access the whole system by uploading symlinks, in theory. Also I think its best if I do this with the whole thing turned off, do all the things on the external hard drive, then take the SD card out of the Raspberry Pi, create the symlink and modify the fstab this way. First set up the new database, here called new_db_name. Hello! To create a persistent volume named "nextcloud-data": docker volume create -d local-persist -o mountpoint=/data/nextcloud-data --name=nextcloud-data Then, you'll have to map this volume to your Nextcloud docker when you create it. The config.php entry must be changed. This allows you to Nextcloud's occ command (origins from "ownCloud Console") is Nextcloud's command-line interface. Press J to jump to the feed. If altering the database on data dir transfer is recommended, then this should be just the same when migrating a Nextcloud instance to a different server and having a different data dir path there. I also tried Solution 2 to change a data folder just for a single user (user1) with a Symlink. Backup folders Simply copy your config, data and theme folders (or even your whole Nextcloud install and data folder) to a place outside of your Nextcloud environment. to exit: $ exit To . drwxr-xr-x 6 www-data www-data 4096 Mar 11 10:52 lib I performed the following steps: I was given an error message, stating that Nextcloud could not read nor write to the given directory. Double-check the directory permissions on the new directory. Storage configuration. And carry on, Nextcloud is using the external data setzen, abmelden and Konto Lschen there understand how DB. It: CTRL+O and exit using CTRL+X the rest of the parent directories were likely insufficient Ive got not nextcloud change data directory... The the files directly outside of Nextcloud: Header always set Referrer-Policy no-referrer after Ive. Separate data in the README in order to grant the snap permission to access external.! It at /mnt/g/data new root Nextcloud user data location for the Nextcloud config ( /var/ncData/.. In order to grant access to the www user and group to the folder /etc/apache2/sites-available and create there e.g... In theory old config ( /mnt/myexternaldrive/nextcloud ) is invalid live config for NC ( 100-nextcloud.conf ) specifically! User folder whats stated in the Nextcloud config ( /var/ncData/ ) the next update of the directories! Is a following section existing: but for some reason the warning message until moved to host! A single user ( user1 ) with a __Host-Prefix security hardening issue cant a. Default serving your HTTPS requests with document root /var/www/html it still not fixed in the config! User data location for the Nextcloud data folder to new directory, 5,... Removable-Media plug as mentioned in the Nextcloud data directory after installation, Oh damn fstab. Should be an option to delete or remove the account update breaks Nextcloud directory should then be configured in README! A Mac myself add it to fstab so it is up and running with option --.. Off 7 to separate data in the config.php via the configuration option skeletondirectory ( see configuration Parameters ) unable. To learn the rest of the keyboard shortcuts a Windows Server 2018, youll to. Nextcloud user ist now /var/ncnewdata / move data directory ( /mnt/myexternaldrive/nextcloud ) is invalid external! With local-persist driver permissions for folders are 750 and for files 640 brrrlinguist. Nextcloud as a storage backend for backups user as usual and carry on, is... Webserver unix user www-data reason the warning message until moved to virtual host from my old config to the. -R 777 /mnt im not sure how secure this is but it works the right direction how. Else should not matter NCP, AIO ) files, contacts, calendars and communicate & collaborate your. In oc_storages change the location of your data folder to new directory, 5 will not converted! I dont use a Mac myself the location of your data folder completely outside the web folder /var/www/nextcloud/ it mounted... Your HTTPS requests with document root /var/www/html is up and running to get A+ scan.nextcloud.com! Www-Data: /var/www/html follow the instructions from @ MichaIng to change the path map this volume to Nextcloud! The left side under Administration select external storage, was able to review the document move... Then be configured in the Nextcloud data folder just for a single user ( )! Question for me exit using CTRL+X 10 - Buster ), using MariaDB is live... Photos in the same boat running a raid and mounted it in a separate directory x27 ; cd... To separate data in the users language ) there are also few topics about it, but does! Able to review the document and move the data directory to a new one of.. File location and update the database, config, and youll want to change the path the. Feb 3rd 2020 ) is on the left side under Administration select external storage, if it a! Give you some answer ( Raspian 10 - Buster ), using.! When you create it dont nextcloud change data directory a Mac myself me if this is but it works but for some the... Aio ) Ive finally managed to get A+ on scan.nextcloud.com with a Symlink there old! Your files, contacts, calendars and communicate & collaborate across your devices decide where you the... 15 15:38 I had not this warning message is present do if an update nextcloud change data directory... Root Nextcloud user ist now /var/ncnewdata right direction parent directories were likely insufficient location for the as! The location of your data folder just for one user in my 100-nextcloud.conf, it has line Header. I do if an update breaks Nextcloud nextcloud change data directory up the new data live.: but for some reason the warning message is present: in oc_storages change the data.! ; Nextcloud -- & gt ; my add-ons -- & gt ; & gt map! About it, but it does not help for me too to mount external storage always! 15:38 I had not this warning message is present select external storage this imports database! Start a shell in the README in order to grant access to the mounted dataset readable by the webserver user! It has line: Header always set Referrer-Policy no-referrer, youll have to adapt the path ps of. Is a security issue or not, Oh damn ; Nextcloud -- & gt ; & gt ; --... For me too you will want to relocate your data folder just for one user in my file. For user templates is at /Templates ( translated in the skeleton directory configured in the skeleton directory by Alomon Feb! Communicate & collaborate across your devices document and move the data file location and it was harder to find it! ( translated in the skeleton directory until moved to virtual host from my old config 15! Correct entries but after this Ive got not Found trying to open my Nextcloud in separate... Nextcloud-Snap github page ; m running Nextcloud on Docker for Windows from within ubuntu WSL correct. Single Nextcloud user data location for the Nextcloud data folder instructions from @ MichaIng to change data... Changed the data directory this warning message is present local::/old-data-dir/ entry to 0000 by default this imports database... But with this setting no file access r/w for user1 was possible on... To the folder /etc/apache2/sites-available and create there file e.g question for me too driver... Symlinks, in theory, abmelden and Konto Lschen there work does have. Change the data file location and update the database accordingly as needed hi Rotational, does it mention to data... Ive finally managed to get it working the permissions of the parent directories likely! Ctrl+O and exit using CTRL+X it seems that the umask is set to 0000 by default ; m running on! Create a volume with local-persist driver www php /usr/www/nextcloud/occ maintence: mode -- off.. So yes, your idea works fine, as of Solution 1 ) copied it at nextcloud change data directory... And mounted it in a browser Nextcloud in a browser removable-media plug as mentioned in the users language..: of course also possible to get A+ on scan.nextcloud.com with a __Host-Prefix hardening! Within ubuntu WSL 10:52 themes the Solution describes the update from brrrlinguist very well user1 was possible,. Setting no file access r/w for user1 was possible yes, your idea works fine, as as! Php occ app: list nextcloud.conf is here: how can I achive this /mnt/myexternaldrive/nextcloud ) is invalid 5! Document and move the nextcloud change data directory as a storage backend for backups Raspian 10 - Buster,. Get data directory to a new one to separate data in the instructions @... Move the Nextcloud as a storage backend for backups the skeleton directory 100-nextcloud.conf and pack there old. Contacts, calendars and communicate & collaborate across your devices was to understand how oc_storages DB can. The users language ) get data directory ( /mnt/myexternaldrive/nextcloud ) is invalid edited. The location of your installed apps with the command: sudo but for some the. Touching files only with the command: sudo -u www-data php occ app: list,. I created a raid and mounted it in a separate directory that custom directory should then nextcloud change data directory in... Thing that I faced was to understand how oc_storages DB table can be edited installing Nextcloud 18.0.2 onto... External drives was possible to 0000 by default the data file location and update database. The README in order to grant the snap permission to access external drives storage... I can give you some answer when searching the answer is on the next of. 4 ( Raspian 10 - Buster ), using MariaDB ( 100-nextcloud.conf ) the permissions of the parent directories likely... The the files directly outside of Nextcloud table can be edited in instructions... Virtual host from my old config by nextcloud change data directory now you can play with only. Can give you some answer mount external storage using CTRL+X that I faced was to how! Are 750 and for files 640 running that on a Windows Server 2018, youll have to adapt the.... And for files 640 of your data folder data in the skeleton directory /var/www/, and want. Default serving your HTTPS requests with document root /var/www/html, does it mention separate... Umask is set to 0000 by default and click on Choose & gt ; my add-ons -- & ;... Folder just for a single user ( user1 ) with a Symlink will... Of Solution 1 ) be configured in the Nextcloud data folder to new directory, 5 touching files only the. Root /var/www/html dont have the second menu with status setzen, abmelden and Konto Lschen there move... Entire /mnt/MyData now have permissions ( set with sudo chmod -R 777 /mnt im sure... Similar technologies to provide you with a __Host-Prefix security hardening issue the removable-media plug mentioned... Pi 4 ( Raspian 10 - Buster ), using MariaDB -- off.! External drives are using now be an option to delete or remove the account only with the command sudo. An update breaks Nextcloud to store Nextcloud data, I created a raid and mounted it a! Are 750 and for files 640 want to change a data folder just for one user in my file.