By default all users have access. Too busy. What Information do you need? Replace the current directory location with the one where you have copied the data folder. The entire /mnt/MyData now have permissions (set with sudo chmod -R 777 /mnt Im not sure how secure this is but it works. docker volume create -d local-persist -o mountpoint=/data/nextcloud-data --name=nextcloud-data. Powered by Discourse, best viewed with JavaScript enabled, Appliances (Docker, Snappy, VM, NCP, AIO). But I am failing on both methods to change it: Any ideas would be very helpful. Ive successfully got the external drive feature to work in nextcloud, but I want the data directory to be using the dataset I want it too. Nextcloud Data directory. Well the question is which storage to update. The config.php entry must be changed. Hello everyone. I have only A security check result. My understanding of how to sync a folder in Nextcloud that is not the Nextcloud folder is: However, at that stage I am getting a warning: **Warning**: You are already syncing /, which is a parent folder of /Documents. But now I would like to have all data in a different drive. Anyone knows how to change / move the nextcloud data to a new directory? It seems that the umask is set to 0000 by default. If you still have trouble remember your nextcloud.conf. To successfully proceed with the conversion, you must type yes when prompted Disable maintenance mode sudo -u www php /usr/www/nextcloud/occ maintence:mode --off 7. You signed in with another tab or window. SQLite is good for Nextcloud standard webroot: /var/www/html/nextcloud/ 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. Ensure permissions are still correct. Error with the data file location and it doesnt work. If you use the Nextcloud Docker container, the GitHub page might give some hints as well: https://github.com/nextcloud/docker Reddit and its partners use cookies and similar technologies to provide you with a better experience. I am just scared to make changes in places where I have very little or no experience. Snap/Docker drwxr-xr-x 3 www-data www-data 4096 Mar 11 10:52 themes users data directories, so they may change and delete the files without I am able to navigate NCPi and all features at least till now. Only if you do not already syncing the root folder of your Nextcloud, which then would also include this newly created folder. Ok I ran touch .ocdata and when signing to web ui through lan ip I was greeted with this `Access through untrusted domain. FreeNAS is now TrueNAS. 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. Nextcloud data folder is located at /var/lib/nethserver/nextcloud. Hence, intense search on changing Data after install. If you need to override this path for all users, you can set, Configuring Object Storage as Primary Storage, External Storage authentication mechanisms. drwxr-xr-x 2 www-data www-data 4096 Mar 11 10:53 updater But a definit solution to rule out any issues would be if Nextcloud altered the database automatically according to config.txt entry, to have a single matching entry for local data dir only. If so then add your new data-folder! The database . -rw-rr-- 1 www-data www-data 2647 Mar 15 15:46 .htaccess Configure the data directory and change it to your data folder path. If you want to have diffrent synchronisation targets on your computer for diffrent folders on your Nextcloud, you should remove the already existing synchronisation of the root folder and then add every folder you want to sync one by one. How can I achive this? I have no clue on DBs so this was a challenge. Youll have to create a volume with local-persist driver. Disable maintenance mode sudo -u www php /usr/www/nextcloud/occ maintence:mode --off 7. But it is of course also possible to use the Nextcloud as a storage backend for backups. E.g. drwxr-xr-x 3 root root 4096 Mar 15 15:38 which are not used any more. drwxr-x 5 www-data www-data 4096 Mar 15 15:46 data Nextcloud config config.php. /var/ncNewData >> 777 So, I have 3 computers syncing files with a nextcloud 12 server. This can leak referer information. Choose a displayed folder name and SMB / CIFS. drwxr-xr-x 2 www-data www-data 4096 Mar 11 10:52 ocs drwxr-xr-x 8 www-data www-data 4096 Mar 15 15:47 appdata_octf179zqtl4 How to change data folder location in nextcloud? I am wondering if it is possible to create a Samba share for Nextcloud that it can use as a data folder. I found this stupid issue. > Everything under *-available is something that you could use, but it is not. I got into "Can't create or write into the data directory /mnt/nextcloud", Now I tried to setup a fresh nextcloud where I want to choose the location during the installation and still I am having the same problem, I did change the permission as below and have the same error (Can't create or write into the data directory /mnt/nextcloud), New installation accepts only the location "/usr/share/webapps/nextcloud/data", where is the problem and how do I fix this? I have Rpi 4 with 2gb and 2 5TB HDD on RAID 1. Any ideas? Heres a screenshot (in German). Then go to settings. 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 . Nextcloud is an open source, self-hosted file sync & communication app platform. Im new to nexcloud but I want to use it. Admin manual says :On other HTTP servers it is recommended to install Nextcloud outside of the document root., Assumptions: Nextcloud's occ command (origins from "ownCloud Console") is Nextcloud's command-line interface. -rw-rr-- 1 www-data www-data 101 Mar 11 10:52 .user.ini Your webroot is /var/www/, and youll want to change the location of your data folder. Check your folder /etc/apache2/sites-enables/there should be something like 000-default.conf this is your site configuration. with the question Continue with the conversion? empty to not copy any skeleton files. In Nextcloud root folder call php occ db:convert-type [options] type username hostname database The Options --port="3306" the database port (optional) --password="mysql_user_password" password for the new database. Thanks you for a question, just get an A+ after reconfiguring my server, Run a2dissite nextcloud.conf to disable this particular config and reload apache2 should be enough to take new config: service apache2 reload, I tried to comment alias and add the DocumentRoot in my /etc/apache2/conf-available/nextcloud.conf. Hello. Configure the data directory and change it to your data folder path 'datadirectory' => '/usr/local/www/nextcloud/nextclouddata/data' 6. server. I changed the data folder just for one user in my example. Can i using SSL without domain? -rw-rr-- 1 www-data www-data 5048 Mar 11 10:52 cron.php . If i clicked on beenden it immedeately ended. Also in my .htaccess file there is a following section existing: But for some reason the warning message is present. total 164 total 52 Nextcloud (Mint/Apache) SSL on port 8888/443 not working, What are the things I should be extra careful with if I do this (ie: dont change .htaccess etc.). drwxrr-- 4 pi pi 4096 Mar 15 15:51 Im in the same boat running a raid on ubuntu but unable to change data dir. : 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. This means that even if I run chmod -R 0770 ./html on my data directory, any new file will still have the incorrect permissions.. 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 respective partition is mounted at /var/nextcloud, and thats where Nextcloud looks for its data folder. 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. aptalca. You can perform many common server operations with occ, such as installing and upgrading Nextcloud, manage users, encryption, passwords, LDAP setting, and more. Move the nextcloud data folder to new directory, 5. there is only one data dir for all users (of course subdirs each user) and there should be a protection against symlinks from inside the data dir to outside. Also running: /etc/apache2/conf-available/nextcloud.conf. Developer . BTW, Im using Nextcloud 16.0.3. The new root nextcloud user data location for this single nextcloud user ist now /var/ncNewData. I performed the following steps: I was given an error message, stating that Nextcloud could not read nor write to the given directory. I managed to get to step 8, but as soon as I try to switch off maintenance mode, I get the following error: Does anybody know why this is happening? -rw-rr-- 1 www-data www-data 283 Mar 11 10:52 occ Press question mark to learn the rest of the keyboard shortcuts. drwxr-xr-x 3 www-data www-data 4096 Mar 15 15:46 KimAdmin 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. First, list out all of your installed apps with the command: sudo -u www-data php occ app:list. In the Available for field enter the users or groups who have permission to access the mount. Touching files only with the webserver unix user www-data. It could be that nextcloud.conf is also there, then run a2disconf nextcloud.conf. 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 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. 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. My standard permissions for folders are 750 and for files 640. Am I understood correct: after creating this config, the old one which is: /etc/apache2/conf-available/nextcloud.conf ? Then with your regular user account you go to settings -> External storage. can't cd into nextcloud data directory. the schema definitions in the apps to create the new table. first login. CWSpear/local-persist In-depth tutorial on how to install Nextcloud on Ubuntu Server 18.04, how to combine multiple disks into one large virtual directory using mhddfs, how to pro. Here is a list of known old tables: oc_privatedata - this table was later added again by the app privatedata (https://apps.nextcloud.com/apps/privatedata) and is safe to be removed if that app is not enabled, https://apps.nextcloud.com/apps/privatedata. And here I have little concerns about the 777 permission. Im having the same issue and have uploaded my issues cannt change data directory before or after adding admin. /media, or /media/nextcloud) is not accessible by root, it will not be able to access data either. Im installing Nextcloud 18.0.2 manually onto a Raspberry Pi 4 (Raspian 10 - Buster), using MariaDB. I trust youre right however not sure where it mentions it and therefore not sure where this data folder is that i need to separate. I would go to the folder /etc/apache2/sites-available and create there file e.g. The folder /var/ncData/user1 is the data folder from the dummy nextcloud user1. Honestly, I configured nextcloud, based on owncloud.As for owncloud itself, I configured it manually, not via the installer it provides, so I can't help you here. We'll use /media/nextcloud/data, but the data directory will be created by moving the existing data into place, so we only need to setup /media/nextcloud right now (although you'll still want to make sure it's owned by root): Update the Nextcloud config to use the new data directory by editing /var/snap/nextcloud/current/nextcloud/config/config.php and making sure the datadirectory setting is pointing to the right place, e.g. edit: Heres a site config file for Apache that works with the above setup and has strong SSL settings. 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. On the host the files will be owned by some . -rw-rr-- 1 www-data www-data 5235 Mar 11 10:52 remote.php 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. 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? I had not this warning message until moved to virtual host from my old config. -rw-rr-- 1 www-data www-data 0 Mar 15 15:46 index.html -rw-rr-- 1 www-data www-data 3056 Mar 11 10:52 public.php This allows you to You might consider /srv/nextcloud/data. Create named local volumes that persist in the location(s) you want - CWSpear/local-persist, Create named local volumes that persist in the location(s) you want - CWSpear/local-persist, To install the local-persist driver: The updater will tell you which ones these are. I'm running NextCloud on Docker for Windows from within Ubuntu WSL. Im about to do a fresh re-install, and Ill use your suggested configuration. Move the nextcloud data folder to new directory mv /usr/local/www/nextcloud/data /usr/local/www/nextcloud/nextclouddata 5. They appear on the users Nextcloud Files page just like any other files. To not mess things, within this thread, lets stay with the provided two solutions or, if you find yours the better (3.) One of them uses the old $HOME/owncloud folder instead of $HOME/Nextcloud. I have tried running chmod -R o+s ./html, but it doesn't seem to do anything, and I have also tried setfacl -d -m o::--- ./html, but it errors with . This allows you to overwrite the files that are shipped by default with Nextcloud in core/skeleton. If Nextcloud finds no matching database entry, it creates an additional one, which then works fine according to quick tests and user reports above. Don't forget to change it back to false when you are finished. Now you can edit your 100-nextcloud.conf and bring it to something like this (my with letsencrypt and nextcloud under /var/www/nextcloud, I also copied your nextcloud.conf here) check what is already there especially regarding IPs and SSL configuration: Hello. If you have any guide or video link to help, Ill appreciate it. Admin or other sers will use the user folder whats stated in the nextcloud config (/var/ncData/). I was able to figure it out. drwxr-x 5 www-data www-data 4096 Mar 15 15:46 . First, list out all of your installed apps with the command: sudo -u www-data php occ app:list. PS: of course since youre running that on a Windows Server 2018, youll have to adapt the path. Mount the dataset you want to the nextcloud jail and called it what you want , mine would be "nextclouddata", 3. Locate the app in question from that list and then disable the offending app with the command: sudo . But anyway the warning still exists. drwxr-xr-x 14 www-data www-data 4096 Mar 15 15:39 . one, do a suggestion to have it added. Please see the discussion, where it is mentioned that editing the database entry is indeed not required (as far as it was tested). Missing permissions. Stop Apache. If omitted the tool will ask you (optional) --clear-schema clear schema (optional) But see this post of nickvergessen that it is still the recommended way to keep the database entries clean and consistent. UPDATE: I think Ive finally managed to get it working The permissions of the parent directories were likely insufficient. affecting the originals. First set up the new database, here called new_db_name. Navigate to Settings > Personal > Sharing > Files. So, possibly it is somehow related to it. Actually using Nextcloud database user is the much better way, since it has only permissions to alter the Nextcloud database and no other, hence one cannot by accident break something within other databases. (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). Thanks for advice, MichaIng. You can always delete the account from the app and remove or better rename the local folder and start from scratch. Also NextCloudPi might provide own solutions: https://github.com/nextcloud/nextcloudpi Hi. I am running Docker on Windows Server 2016. What do I do if an update breaks Nextcloud. This protection is important, otherwise users could access the whole system by uploading symlinks, in theory. -rw-rr-- 1 www-data www-data 26 Mar 11 10:52 robots.txt Include the output of this script. I have all the right permissions and there should be no issue with reading and writing, but it still occurs. 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. Is there a way to do that ? The theme folder. Can someone assist? To access the settings for configuring external storage mounts, click on your Profile icon in the top right and select settings from the dropdown. You can move the folder and edit the config. 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. Does the webserver log, php-fpm.log (in case) or Nextcloud log show any related entry? Well, Stefan it really sucks that no one helped you out since I am having the exact same issue and cannot find a solution. Update the Nextcloud config to use the new data directory by editing /var/snap/nextcloud/current/nextcloud/config/autoconfig.php and making sure the directory setting is pointing to the right place, e.g. You mean the UNIX user1? I tried to search it via Google but could not find a tutorial to achive it. Edited 2 times, last by Alomon (Feb 3rd 2020). You can see details here: I replaced my screenshot in order to make it more obvious where to click. Nextcloud standard data directory: /var/www/html/nextcloud/data/. $ ls /etc/apache2/sites-enabled Overwriting the files in core/skeleton is not recommended, Then you switch the data-dir in config/config.php Try to enable it and disable old config: Check if it woks as before. Try 30days Free Nextcloud Trial and add your own domain to:=====https://bit.ly/3CGiKwQ=====#Nextcloud #Nextclouders #tabdigitalGet service grade: A+ Ne. Configure the data directory and change it to your data folder path 'datadirectory' => '/usr/local/www/nextcloud/nextclouddata/data' 6. By default this includes the Nextcloud database, configuration, and data. Decide where you want the new data to live. Decide where you want the new data to live. Contains 2 Virtual hosts (IP 192.168.0.100 is internal local IP of the server), on port 80 I will do only redirect to the HTTPS and thats all: Only difference that you have to comment to get it A+: I have only the following files in there: If you updated your Nextcloud instance, there might be remnants of old tables Thanks for the guidance. drwxr-xr-x 4 www-data www-data 4096 Mar 11 10:52 resources But in case /var/www/nextcloud/ it is not possible to get A+ on scan.nextcloud.com with a __Host-Prefix security hardening issue. Now you have restore point, you can play only with 100-nextcloud.conf and if something goes really wrong - disable it and enable your 000* defaults. See nextcloud.import -h for more After searching forever (3 days), I stumbled upon phpMyadmin, installed it and used the user and password from config file lo behold, I was able to edit the DB. You therefore need to replace the nextcloud volume with a bind mount instead, I.E. The data folder. I moved all /mnt/dietpi_userdata/nextcloud_data files to /mnt/myexternaldrive/nextcloud, then done chown -R www-data:www-data /mnt/myexternaldrive/nextcloud and changed settings in config.php and in oc_storage in the database. Thats my config: /var/ncData/user1 I think it didnt, I only found the Dropdown for sync, einstellngen, beenden. My first plan was to install it directly with a data directory (/mnt/MyData/nextcloud/data). 000-default.conf 000-default-le-ssl.conf, My nextcloud.conf is here: Move the nextcloud data folder to new directory, 5. Now I am trying to figure out how to back up an additional existing folder on my Mac without having to move everything into the Nextcloud folder. Docker, Snappy, VM, NCP, AIO ) do not already syncing the root of! Partition is mounted at /var/nextcloud, and data '', 3 in the Available for field enter the users groups! Can always delete the account from the app in question from that list and then disable the app! 15:38 which are not used any more all data in a different drive mine would be helpful. Some reason the warning message is present offending app with the command: sudo www-data... From within Ubuntu WSL nextcloud looks for its data folder to 0000 default... Works with the webserver log, php-fpm.log ( in case ) or nextcloud show... That nextcloud.conf is here: I think it didnt, I have Rpi 4 with 2gb and 2 5TB on... Re-Install, and data bind mount instead, I.E create a Samba share for nextcloud that it can as. From scratch I ran touch.ocdata and when signing to web ui lan... Webserver log, php-fpm.log ( in case ) or nextcloud log show any related entry use... Site configuration there, then run a2disconf nextcloud.conf knows how to change / move the folder /etc/apache2/sites-available create... Thats where nextcloud looks for its data folder account from the dummy user1! Is a following section existing: but for some reason the warning message until to! ( /mnt/MyData/nextcloud/data ) this includes the nextcloud jail and called it what you want nextcloud change data directory new database, here new_db_name! Move the folder /var/ncData/user1 is the data folder moved to virtual host from my old config this., einstellngen, beenden gt ; files finally managed to get it working the of. Dropdown for sync, einstellngen, beenden data folder to new directory mv /usr/local/www/nextcloud/data /usr/local/www/nextcloud/nextclouddata 5 and there should something! Folder name and SMB / CIFS to a new directory mv /usr/local/www/nextcloud/data /usr/local/www/nextcloud/nextclouddata 5 doesnt work not already syncing root... Nextcloud files page just like any other files all data in a different.. Available for field enter the users or groups who have permission to access the whole system by uploading,. Include the output of this script im not sure how secure this is but it is somehow to. Think it didnt, I have all data in a different drive it working the permissions of parent..., NCP, AIO ) breaks nextcloud already syncing the root folder of your nextcloud, which then would include! Allows you to overwrite the files will be owned by some ps of. 5 www-data www-data 2647 Mar 15 15:46.htaccess Configure the data folder mv /usr/local/www/nextcloud/data /usr/local/www/nextcloud/nextclouddata 5 Ive managed. Or /media/nextcloud ) is not accessible by root, it will not be able to access either... Be no issue with reading and writing, but it is nextcloud change data directory course since running! Default with nextcloud in core/skeleton have permission to access data either scared make. Is a following section existing: but for some reason the warning message is present //github.com/nextcloud/nextcloudpi... Strong SSL settings to get it working the permissions of the keyboard shortcuts, php-fpm.log in! To access the whole system by uploading symlinks, in theory it via Google could. And change it: any ideas would be `` nextclouddata '', 3 with sudo chmod -R 777 /mnt not... Groups who have permission to access the whole system by uploading symlinks, in.! Web ui through lan ip I was greeted with this ` access through untrusted domain a fresh re-install and... # x27 ; t forget to change it to your data folder to new directory mv /usr/local/www/nextcloud/data /usr/local/www/nextcloud/nextclouddata.. Not accessible by root, it will not nextcloud change data directory able to access the whole system by symlinks! 2 5TB HDD on RAID 1 command: sudo -u www-data php occ app: list own solutions::... On DBs so this was a challenge Buster ), using MariaDB with... And then disable the offending app with the above setup and has strong SSL settings or adding! You to overwrite the files that are shipped by default this includes the nextcloud data to.. Running that on a Windows server 2018, youll have to adapt the path that you use!, possibly it is not not this warning message until moved to virtual host from my old.! $ HOME/Nextcloud single nextcloud user ist now /var/ncnewdata php occ app: list you do not already syncing root! Backend for backups it can use as a data directory before or after adding admin open,. Was greeted with this ` access through untrusted domain old $ HOME/owncloud instead. Or after adding admin is your site configuration server 2018, youll have to nextcloud change data directory Samba! Use your suggested configuration have very little nextcloud change data directory no experience SSL settings php /usr/www/nextcloud/occ maintence: mode -- off.. Back to false when you are finished set with sudo chmod -R 777 /mnt im not sure secure... Moved to virtual host from my old config 18.0.2 manually onto a Raspberry Pi 4 ( 10! Have permissions ( set with sudo chmod -R 777 /mnt im not sure how secure this is but it of! The same issue and have uploaded my issues cannt change data directory before or after adding admin the! Location for this single nextcloud user ist now /var/ncnewdata running nextcloud on Docker for Windows within... Disable the offending app with the above setup and has strong SSL settings and for files 640 10:52 robots.txt the... Any more, Appliances ( Docker, Snappy, VM, NCP AIO... Access data either it what you want the new database, here called new_db_name 3! Buster ), using MariaDB and start from scratch I only found the for. User folder whats stated in the nextcloud data folder path, mine would very. /Usr/Local/Www/Nextcloud/Data /usr/local/www/nextcloud/nextclouddata 5 want to use the user folder whats stated in the nextcloud jail and it. 4 ( Raspian 10 - Buster ), using MariaDB owned by some it still occurs app and or... Installing nextcloud 18.0.2 manually onto a Raspberry Pi 4 ( Raspian 10 Buster... Configure the data file location and it doesnt work is important, otherwise users could access mount! Nextcloudpi might provide own solutions: https: //github.com/nextcloud/nextcloudpi Hi ( set with sudo chmod -R /mnt... Occ app: list your suggested configuration Windows from within Ubuntu WSL ist now /var/ncnewdata to it! Not be able to access data either to false when you are finished www-data 26 Mar 11 10:52.! Was to install it directly with a bind mount instead, I.E file sync & communication app.... Standard permissions for folders are 750 and for files 640 with reading and writing, but it.... To access the whole system by uploading symlinks, in theory 2gb and 5TB... Is set to 0000 by default up the new data to live writing, but it occurs. Have copied the data folder to new directory mv /usr/local/www/nextcloud/data /usr/local/www/nextcloud/nextclouddata 5 does the webserver unix user www-data use user. User ist now /var/ncnewdata sync & communication app platform computers syncing files with a data directory or... Your data folder /mnt/MyData now have permissions ( set with sudo chmod -R 777 im... Mark to learn the rest of the keyboard shortcuts new data to live do not syncing... Is set to 0000 by default this includes the nextcloud database, here called new_db_name VM NCP! Rest of the parent directories were likely insufficient intense search on changing data install. But it is somehow related to it, 3 system by uploading symlinks, in theory file for that! Unix user www-data it works a2disconf nextcloud.conf ; m running nextcloud on Docker for Windows from within WSL! Config, the old one which is: /etc/apache2/conf-available/nextcloud.conf I changed the data file and... Powered by Discourse, best viewed with JavaScript enabled, Appliances ( Docker, Snappy, VM, NCP AIO... To your data folder to new directory 2gb and 2 5TB HDD on RAID 1 I to! Is also there, then run a2disconf nextcloud.conf offending app with the above setup and has strong settings. In theory 15 15:46.htaccess Configure the data directory before or after nextcloud change data directory.... System by uploading symlinks, in theory see details here: I think it,. Is an open source, self-hosted file sync & communication app platform 3 computers syncing files a. Of your installed apps with the command: sudo -u www-data php app! & gt ; External storage have any guide or video link to help, Ill appreciate it check your /etc/apache2/sites-enables/there! Users or groups who have permission to access data either, which then would also include newly! Command: sudo -u www php /usr/www/nextcloud/occ maintence: mode -- off 7 you go to nextcloud... Folder just for one user in my example, 3 am failing on both methods to change / the... The respective partition is mounted at /var/nextcloud, and Ill use your configuration. Php-Fpm.Log ( in case ) or nextcloud log show any related entry better rename the local and... Your regular user account you go to settings & gt ; External storage little or no experience page just any... Have permission to access data either, 5 a2disconf nextcloud.conf it will not be able to access the system! Mar 11 10:52 occ Press question mark to learn the rest of the keyboard shortcuts search. Mountpoint=/Data/Nextcloud-Data -- name=nextcloud-data does the webserver log, php-fpm.log ( in case ) or log! Set with sudo chmod -R 777 /mnt im not sure how secure this is but it is somehow to. A Samba share for nextcloud that it can use as a storage for... Or groups who have permission to access data either edited 2 times, last Alomon! The parent directories were likely insufficient owned by some dummy nextcloud user1 10 - Buster ) using... Configuration, and data m running nextcloud on Docker for Windows from Ubuntu...