Default data directory remains after configuring a custom data directory
[root@nextcloud-test nextcloud]# ls -l /var/www/html/nextcloud/data/
total 8
drwxr-xr-x. 2 apache apache 62 Feb 23 09:41 .
drwxr-xr-x. 15 apache apache 4096 Feb 23 09:38 ..
-rw-r--r--. 1 apache apache 284 Feb 23 09:41 .htaccess
-rw-r--r--. 1 apache apache 0 Feb 23 09:41 index.html
-rw-r--r--. 1 apache apache 0 Feb 23 09:40 nextcloud.log
[root@nextcloud-test nextcloud]# grep data /var/www/html/nextcloud/config/config.php
'datadirectory' => '/nextcloud_btrfs',
[root@nextcloud-test nextcloud]# ls -l /nextcloud_btrfs/
total 20
drwxrwx---. 1 apache apache 156 Feb 23 09:44 .
dr-xr-xr-x. 18 root root 247 Feb 22 13:34 ..
drwxr-xr-x. 1 apache apache 40 Feb 23 14:46 admin
drwxr-xr-x. 1 apache apache 56 Feb 23 09:45 appdata_ocgajahh0ong
drwxr-xr-x. 1 apache apache 26 Feb 23 09:44 files_external
-rw-r--r--. 1 apache apache 284 Feb 23 09:41 .htaccess
-rw-r--r--. 1 apache apache 0 Feb 23 09:41 index.html
-rw-r--r--. 1 apache apache 0 Feb 23 09:42 nextcloud.log
-rw-r--r--. 1 apache apache 0 Feb 23 09:41 .ocdata
[root@nextcloud-test nextcloud]#
I suppose the cause was failure at the first installation when the apache user didn't get the RW permissions to /nextcloud_btrfs/.
Yeah not sure, maybe we can show a message in the admin interface, when ~/data is available but not used as a data directory.
Hi there. Maybe I can tackle this starter issue. Just to get something going here? Yes?
@shaveenbageloo :+1:
Hi there. Haven't had a chance to get going with this. Will start up the dev machine and see how to resolve this.
Let me work on a notification message on the admin panel to inform the user that the default direct is not being used and should be removed from the disk drive?
Yes?
Thanks Shaveen