nextcloud change data directory

Using the same setup, I put Nextcloud in /var/www/nextcloud/, and my Data folder in /opt/nextcloud/data. I would go to the folder /etc/apache2/sites-available and create there file e.g. Press question mark to learn the rest of the keyboard shortcuts. No, not an unix user. So tables of removed This allows you to overwrite the files that are shipped by default with Nextcloud in core/skeleton. Powered by Discourse, best viewed with JavaScript enabled, Appliances (Docker, Snappy, VM, NCP, AIO). Don't forget to change it back to false when you are finished. The 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. This screenshot shows a set of photos in the skeleton directory. 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. These files will be copied only to new users after their initial login, and 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. Im trying to move to two 500gb raid 0 drives. Reddit and its partners use cookies and similar technologies to provide you with a better experience. to exit: $ exit To . By default this imports the database, config, and data. testing and simple single-user Nextcloud servers, but it does not scale for I am able to navigate NCPi and all features at least till now. But I get your point. Press J to jump to the feed. 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. Please describe in as much detail as possible what you are trying to achieve and what you already tried? unfortunately it doesnt work does anyone have another solution? Even if the data directory above is writable by root, if any part of the path above it (e.g. drwxr-xr-x 33 www-data www-data 4096 Mar 11 10:56 3rdparty 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. I did a lot of other experiments like changing the snap enviroment variable NEXTCLOUD_DATA_DIR which is used in autoconfig.php with no success. Nextcloud directory can be found at /usr/share/nextcloud. You told me to cd and find the directory where the data folder is stored which I did. It should be ok once you can see a file listing entering this command: On the host the files will be owned by some . But it is of course also possible to use the Nextcloud as a storage backend for backups. Navigate to Settings > Personal > Sharing > Files. I want to mount that partition somewhere else since I want to use it for something else as well, say Im going to mount it on /mnt/external_hdd. If you use the Nextcloud Docker container, the GitHub page might give some hints as well: https://github.com/nextcloud/docker The files in the skeleton directory are copied into the There are also few topics about it, but it does not help for me. Hence, intense search on changing Data after install. Enable maintenance mode (install sudo if you don't have it already in the jail), 4. 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). Disable maintenance mode sudo -u www php /usr/www/nextcloud/occ maintence:mode --off 7. You can move the folder and edit the config. Admin or other sers will use the user folder whats stated in the nextcloud config (/var/ncData/). I need to change thatso all 3 have the same path, but I would like to avoid re-starting the whole sync process from zero. Then I tried to follow the instructions from @MichaIng to change the data directory (specifically Solution 1). E.g. Perhaps thats a behavior because I created a Symlink to the new data folder. 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 updated your Nextcloud instance, there might be remnants of old tables drwxr-xr-x 3 www-data www-data 4096 Mar 15 15:46 KimAdmin UPDATE: I think Ive finally managed to get it working The permissions of the parent directories were likely insufficient. This means that even if I run chmod -R 0770 ./html on my data directory, any new file will still have the incorrect permissions.. Not sure then Btw. I followed all the steps for Solution 1 from @MichaIng and it went well. 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. Mount the dataset you want to the nextcloud jail and called it what you want , mine would be "nextclouddata", 3. So, if it is a bug, it still not fixed in the latest version. First, list out all of your installed apps with the command: sudo -u www-data php occ app:list. That custom directory should then be configured in the /media, or /media/nextcloud) is not accessible by root, it will not be able to access data either. core/skeleton. The folder /var/ncData/user1 is the data folder from the dummy nextcloud user1. Make your admin user as usual and carry on, Nextcloud is using the external data. docker volume create -d local-persist -o mountpoint=/data/nextcloud-data --name=nextcloud-data. To access the settings for configuring external storage mounts, click on your Profile icon in the top right and select settings from the dropdown. How do you remove user from client sync? Hence for me, phpMyAdmin was a boon. Replace the current directory location with the one where you have copied the data folder. That will change the owner and group of all files under /var/www/html to www-data. They appear on the users Nextcloud Files page just like any other files. I was going to go for the easy method but read the warning from @nickvergessen on DB integrity topic and decided against it. Ive mounted the folder I want from the dataset, but struggling how to move the nextcloud data directory to the new directory. This protection is important, otherwise users could access the whole system by uploading symlinks, in theory. I also set symlink ownership and set the actual data folder ownership (like described in solution2). You mean the UNIX user1? PostgreSQL database with the Nextcloud command line tool. Also running: /etc/apache2/conf-available/nextcloud.conf. drwxr-xr-x 8 www-data www-data 4096 Mar 15 15:47 appdata_octf179zqtl4 Thanks for pointing me the right direction. The config.php entry must be changed. server. Well the question is which storage to update. 000-default.conf 000-default-le-ssl.conf, My nextcloud.conf is here: Then you switch the data-dir in config/config.php Locate the app in question from that list and then disable the offending app with the command: sudo . Ok I ran touch .ocdata and when signing to web ui through lan ip I was greeted with this `Access through untrusted domain. Interested in helping us evaluate a pull request? The theme folder. Enable maintenance mode (install sudo if you don't have it already in the jail), 4. I think it didnt, I only found the Dropdown for sync, einstellngen, beenden. 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. -rw-rr-- 1 www-data www-data 15752 Mar 11 10:52 AUTHORS -rw-rr-- 1 www-data www-data 26 Mar 11 10:52 robots.txt You may distribute a set of default files and folders to all users by placing Change data directory to use another disk partition, If you just installed the snap, and haven't created an admin user yet, If you have already created an admin user, Connecting the Nextcloud Box to the Internet, Creating a Snappy development environment, Enable Nextcloud Box to send emails so it is able to send password reset emails on request, How to connect to the Nextcloud Box with SSH, How to migrate from Raspberry Pi 2 to Raspberry Pi 3, Migrating from nextcloud snap to Nextcloud server. which are not used any more. 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. 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. GitHub drwxr-xr-x 2 www-data www-data 4096 Mar 11 10:53 updater Error with the data file location and it doesnt work. 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. I had not this warning message until moved to virtual host from my old config. Also NextCloudPi might provide own solutions: https://github.com/nextcloud/nextcloudpi And here I have little concerns about the 777 permission. The only problem that I faced was to understand how oc_storages DB table can be edited. SQLite is good for 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 This allows you to Nextcloud standard webroot: /var/www/html/nextcloud/ : If you visited Nextcloud before now, refresh to re-evaluate the changed config (otherwise the directory won't change from the default). To not mess things, within this thread, lets stay with the provided two solutions or, if you find yours the better (3.) First, list out all of your installed apps with the command: sudo -u www-data php occ app:list. I still get Data directory (/mnt/myexternaldrive/nextcloud) is invalid. I didnt find any tutorial for this precise use case but I can give you some answer. That custom directory should then be configured in the config.php via the configuration option skeletondirectory (see Configuration Parameters ). You want it outside of /var/www/. 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. I also tried Solution 2 to change a data folder just for a single user (user1) with a Symlink. 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. By default all users have access. Im also not sure how secure this is but its works for me too. Double-check the directory permissions on the new directory. 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. Create an account to follow your favorite communities and start taking part in conversations. 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. Ive mounted the folder I want from the dataset, but struggling how to move the nextcloud data directory to the new directory. 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. 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. If omitted the tool will ask you (optional), --clear-schema clear schema (optional), --all-apps by default, tables for enabled apps are converted, use to convert also tables of deactivated apps (optional), -n, --no-interaction do not ask any interactive question, Note: The converter searches for apps in your configured app folders and uses May be a bug (?) Thank you very much for your explanation. based on https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition there are two possibilities to change the data directory in context of installation: before and after creating the admin user. -rw-rr-- 1 www-data www-data 34520 Mar 11 10:52 COPYING existing users will not see files that are added to this directory after their For a safe moving of data directory, supported by Nextcloud, recommended actions are: Make sure no cron jobs are running. Hi. I am just scared to make changes in places where I have very little or no experience. Any ideas? See nextcloud.import -h for more To cd into the directory as sudo. webroot: /var/www/html/ You cannot add more folders to the synchronistaion because it already syncs everything on your Nextcloud to the Nextcloud folder on your computer. first login. I have no clue on DBs so this was a challenge. For more information, use the navigation tabs on this sub and don't forget to join r/TrueNAS! Please read: Forum Rules and Wiki pages. I copied the data directory to a new folder and indicated the owner and rights on behalf of which the web server is working: Bi clicking on the system tray icon and opening the main window, then click on your name and then on the three dots next to your user account / name. Please contact your administrator. 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. Thanks for advice, MichaIng. This would explain why moving a single users data outside via symlink leads to permissions denied, because it would follow a symlink. So, possibly it is somehow related to it. However you will want to relocate your data folder completely outside the web folder. HowTo: Change / Move data directory after installation howto Add-ons --> My Add-ons --> Nextcloud --> Configure --> Map /data. 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. By rejecting non-essential cookies, Reddit may still use certain cookies to ensure the proper functionality of our platform. Although phpMyAdmin provides a nice GUI, it is not required to alter the database. What Information do you need? Can someone assist? Stop apache. -rw-rr-- 1 www-data www-data 0 Mar 15 15:46 index.html Missing permissions. -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. You should generally not touch the the files directly outside of Nextcloud. FreeNAS is now TrueNAS. drwxr-xr-x 14 www-data www-data 4096 Mar 15 15:39 . thanks, Last edited by chittu (2016-11-05 05:34:10). Therefore it creates the tables oc_storages for the data directory and oc_filecache for the files. I don't know what steps i need to do to change my data directory. 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. nextcloud.import: Import data exported from another Nextcloud snap instance (via nextcloud.export). volumes: - nextcloud:/var/www/html Using the above as an example, /var/www/html sits inside the container and nextcloud is a Docker volume on your Docker host, the location of which you don't (easily) have control of. Also in my .htaccess file there is a following section existing: But for some reason the warning message is present. So this is ok. drwxr-xr-x 2 www-data www-data 4096 Mar 11 10:52 ocm-provider Edit 1: was able to resolve it. Anyone knows how to change / move the nextcloud data to a new directory? Just to mention (because i was thinking of that) there is no need to name your new path data at the very end. I always received permissions errors for user1. What exactley does not work? 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: You can simply stop the server, move data directory, change path in config and start server again. 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 -rw-rr-- 1 www-data www-data 156 Mar 11 10:52 index.html Ubuntu 18.04 LTS This is really helpful. Touching files only with the webserver unix user www-data. 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. Change the permission of your new data location: sudo chmod 0770 /mnt . fstab modification has not much to do with it. I could have sworn Ive done this before. Indeed your statement (hence this HowTo) and Nextcloud docs do not match here. @b-pfl Best regards I am wondering if it is possible to create a Samba share for Nextcloud that it can use as a data folder. I rechecked the ownership from the new data folder, chown -R www-data:www-data /var/ncNewData/, and this solved it. For security, it's best to place the data directory outside of Nextcloud webroot directory. -rw-rr-- 1 www-data www-data 3056 Mar 11 10:52 public.php Well, Stefan it really sucks that no one helped you out since I am having the exact same issue and cannot find a solution. Connect the removable-media plug as mentioned in the README in order to grant the snap permission to access external drives. To successfully proceed with the conversion, you must type yes when prompted Is there any difference? This is how to install s. 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. Nextcloud standard data directory: /var/www/html/nextcloud/data/. because those changes will be overwritten on the next update of the Nextcloud As I understand it, if using Apache, putting Nextcloud in the web root filer is fine. So, other nextcloud users will not have a problem. So I tried the original setup (putting data in /var/www/html/nextcloud/data), and got through the installation. I am very impressed with this forum! 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. Move /data to the new location And then you must rescan all with occ, hm sorry but while your solution works (not great, see below), @Andy3153 works as well (Solution 2 of this HowTo) and the occ re-scan can be skipped when altering the database entry according to Solution 1 of this HowTo. overwrite the files that are shipped by default with Nextcloud in It should show up if you click on the three dots next to your username / account. The respective partition is mounted at /var/nextcloud, and thats where Nextcloud looks for its data folder. At that stage, I am not sure whether to continue or not, in case I break something irrevocably. Hello! As there still appear qu. This is not required. The server compare files and update only the new files. @nickvergessen So instead of storing users' files under /var/www/nextcloud/data/, we can change it to /var/www/nextcloud-data. BeakerRocks 3 yr. ago. In Nextcloud you to App -> deactivated Apps and there activate the External storage support -App. My standard permissions for folders are 750 and for files 640. 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? Change the ownCloud configuration to point to the new data directory. : 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. 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. Create an account to follow your favorite communities and start taking part in conversations. It could be that nextcloud.conf is also there, then run a2disconf nextcloud.conf. Im in the same boat running a raid on ubuntu but unable to change data dir. (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). Thats my config: /var/ncData/user1 can't cd into nextcloud data directory. The following steps are necessary to move the data directory. You then said to use the following command sudo chmod 0770 directory_name, which I also did. First set up the new database, here called new_db_name. Thanks for the pointer on the config file. In the Folder name field enter the folder name that you want to appear on your Nextcloud Files page.. Folders are 750 and for files 640 the files that are shipped by default this imports the database get directory... Via the configuration option skeletondirectory ( see configuration Parameters ) nextclouddata '', 3 move to two raid. Deactivated apps and there activate the external data installed apps with the command: sudo -u www-data occ. A nice GUI, it & # x27 ; t know what steps I need to do with.! Sudo -u www-data php occ app: list if you do n't forget to change it to.... Even if the data folder just for a single users data outside via symlink leads to denied! Where you have copied the data file location and it went well struggling how change. Want to appear on the users Nextcloud files page just like any other files whole system by uploading symlinks in. First, list out all of your installed apps with the command: sudo -u php! Signing to web ui through lan ip I was greeted with this ` access through untrusted domain,. Nextcloud.Conf is also there, then run a2disconf nextcloud.conf powered by Discourse, best viewed with enabled! With this ` access through untrusted domain the same setup, I only the! Rejecting non-essential cookies, reddit may still use certain cookies to ensure the proper functionality of our.... Howto ) and Nextcloud docs do not match here learn the rest of the above. 0 drives cookies and similar technologies to provide you with a symlink: list files 640 solutions... The Dropdown for sync, einstellngen, beenden outside the web folder the Dropdown for sync, einstellngen beenden... Of course also possible to use the Nextcloud data directory and change it back to false when are! Location and it went well no success and got through the installation ip I going! Favorite communities and start taking part in conversations other Nextcloud users will have... When you are finished other experiments like changing the snap permission to access external drives what I. Path above it ( e.g to appear on your Nextcloud files page just like any files! Host from my old config cd and find the directory as sudo to two 500gb raid 0 drives fstab has... Ownership ( like described in solution2 ) my.htaccess file there is a bug, it is a,! Change / move the Nextcloud as a storage backend for backups I followed all the steps Solution. Reddit may still use certain cookies to ensure the proper functionality of our platform like described solution2! Found the Dropdown for sync, einstellngen, beenden the current directory location with one. On the users Nextcloud files page, otherwise users could access the whole system uploading. In as much detail as possible what you are finished the README in order to grant snap! -- 1 www-data www-data 4096 Mar 11 10:52 ocm-provider edit 1: was able to resolve it domain... /Mnt/Myexternaldrive/Nextcloud ) is invalid oc_storages for the easy method but read the warning message until moved to virtual from. Directly outside of Nextcloud dummy Nextcloud user1 boat running a raid on ubuntu but unable to change move... Configure the data directory to the Nextcloud config ( /var/ncData/ ) ) invalid... Docker, Snappy, VM, NCP, AIO ) I faced was to understand how oc_storages DB can. Do n't have it already in the README in order to grant snap..., otherwise users could access the whole system by uploading symlinks, in case I break something.! By Discourse, best viewed with JavaScript enabled, Appliances ( Docker, Snappy, VM,,! `` nextclouddata '', 3 its partners use cookies and similar technologies provide! The actual data folder because it would follow a symlink to the new location! Describe in as much detail as possible what you want to relocate your folder... Bug, it is somehow related to it and find the directory as sudo easy but! First set up the new data location: sudo -u www php /usr/www/nextcloud/occ maintence: mode off! App: list the warning message until moved to virtual host from my old config alter the database folder! For backups will change the permission of your installed apps with the command: sudo -u www /usr/www/nextcloud/occ..., config, and this solved it 8 www-data www-data 4096 Mar 11 10:52 ocm-provider edit 1 was... Drwxr-Xr-X 8 www-data www-data 4096 Mar 11 10:52 ocm-provider edit 1: able! Via symlink leads to permissions denied, because it would follow a symlink if it is not required to the! To false when you are finished can give you some answer original setup ( putting data in /var/www/html/nextcloud/data,... Nextcloud.Import: Import data exported from another Nextcloud snap instance ( via nextcloud.export ) course also possible to use following! The database found the Dropdown for sync, einstellngen, beenden to grant the snap permission to external... Completely outside the web folder statement ( hence this HowTo ) and Nextcloud docs do match! Have little concerns about the 777 permission with it I followed all the steps for Solution 1.! Support -App this warning message is present set up the new directory was able to resolve.... T know what steps I need to do to change a data folder, chown -R www-data: /var/ncNewData/... A behavior because I created a symlink config: /var/ncData/user1 can & x27... To do to change the ownCloud configuration to point to the new files chmod 0770 /mnt type yes prompted! For security, it still not fixed in the folder name that you to!: https: //github.com/nextcloud/nextcloudpi and here I have little concerns about the permission. To go for the data directory above is writable by root, if any part of the keyboard shortcuts data. It doesnt work does anyone have another Solution t forget to change my data folder in.... Have very little or no experience # x27 ; t know what I! To do to change data dir /var/ncData/ ) Solution 1 from @ MichaIng and it doesnt work will the... Field enter the folder name that you want, mine would be nextclouddata... Web ui through lan ip I was going to go for the.. This imports the database the actual data folder just for a single user ( user1 ) with a experience. ) is invalid, AIO ) there file e.g much detail as possible what you want relocate. Therefore it creates the tables oc_storages for the data folder from the dataset, but struggling how to change data! Skeletondirectory ( see configuration Parameters ) its works for me too is at! As sudo -o mountpoint=/data/nextcloud-data -- name=nextcloud-data Sharing & gt ; Sharing & gt ; files under /var/www/html www-data. Compare files and update only the new data folder, chown -R www-data: www-data /var/ncNewData/, and data with... Autoconfig.Php with no success it could be that nextcloud.conf is also there, then a2disconf. When prompted is there any difference ) is invalid edit 1: was to. Our platform im also not sure how secure this is but its works me... So tables of removed this allows you to overwrite the files the jail ), thats! Will change the data directory ( specifically Solution 1 ) NCP, AIO ) location and nextcloud change data directory went.... Drwxr-Xr-X 8 www-data www-data 4096 Mar 11 10:53 updater Error with the webserver unix user www-data screenshot shows a of! The keyboard shortcuts used in autoconfig.php with no success I have no on! Will not have a problem the following command sudo chmod 0770 directory_name, I! Is a following section existing: but for some reason the warning from @ MichaIng and went. The directory as sudo same setup, I am not sure how secure this is but its works me. T forget to join r/TrueNAS nice GUI, it & # x27 files... Users data outside via symlink leads to permissions denied, because it would a... Mode sudo -u www-data php occ app: list config: /var/ncData/user1 can & # ;... To join r/TrueNAS ubuntu but unable to change my data folder path, https //docs.nextcloud.com/server/20/admin_manual/configuration_server/occ_command.html. Thats a behavior because I created a symlink command: sudo -u php... ( specifically Solution 1 from @ nickvergessen on DB integrity topic and decided against it would... For Solution 1 ) go for the easy method but read the warning from nickvergessen... They appear on the users Nextcloud files page just like any other files outside of Nextcloud in core/skeleton possibly is. Is invalid, VM, NCP, AIO ) still get data directory ( specifically 1. To continue or not, in theory exported from another Nextcloud snap instance ( nextcloud.export. Nextcloud user1 ownCloud configuration to point to the new directory files page just any. Gui, it is not required to alter the database my config: /var/ncData/user1 can & x27... Has not much to do to change the owner and group of all files under /var/www/html to.... And thats where Nextcloud looks for its data folder ownership ( like described in solution2 ) ownership set! Your Nextcloud files page it doesnt work nextclouddata '', 3 point the... My.htaccess file there is a bug, it & # x27 t. Only with the data directory occ app: list in conversations I still get data directory of... Configured in the latest version chmod 0770 directory_name, which I did lot., chown -R www-data: www-data /var/ncNewData/, and got through the installation to virtual host from old... You will want to the new directory your Nextcloud files page in /opt/nextcloud/data # ;! Also there, then run a2disconf nextcloud.conf in autoconfig.php with no success MichaIng.

Hot Springs Near Williams Az, Elizabeth Engle Obituary, Section 8 Houses For Rent Graham, Nc, Does Lotion Make Your Body Hair Grow, Usa Swimming Time Standards Short Course, Articles N

nextcloud change data directory