nextcloud/server

Presense of /var/www/html/data after install to another data folder

Open

#3,610 创建于 2017年2月24日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)PHP (34,953 star) (4,865 fork)batch import
1. to developenhancementfeature: install and updategood first issueneeds review

描述

[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/.

贡献者指南