You are not logged in.
Hello,
I reinstall my server from scratch and I want to reinstall Nextcloud, the problem is
https://wiki.archlinux.org/index.php/Ne … rectory.21
Even if I executed https://docs.nextcloud.com/server/11/ad … ermissions ocperms.sh
[root@floki nextcloud]# ls -lah
total 172K
drwxr-x--- 15 root http 4.0K Mar 21 14:02 .
drwxr-xr-x 3 root root 4.0K Feb 27 16:25 ..
-rw-r--r-- 1 root http 2.6K Feb 27 16:26 .htaccess
-rw-r----- 1 root http 163 Feb 27 16:26 .user.ini
drwxr-x--- 2 root http 4.0K Mar 21 14:00 .well-known
drwxr-x--- 29 root http 4.0K Feb 27 16:26 3rdparty
-rw-r----- 1 root http 8.7K Feb 27 16:26 AUTHORS
drwxr-x--- 41 http http 4.0K Feb 27 16:26 apps
lrwxrwxrwx 1 root http 29 Feb 27 16:26 config -> /etc/webapps/nextcloud/config
-rw-r----- 1 root http 3.6K Feb 27 16:25 console.php
drwxr-x--- 16 root http 4.0K Feb 27 16:26 core
-rw-r----- 1 root http 5.3K Feb 27 16:26 cron.php
drwxr-x--- 2 http http 4.0K Mar 21 14:02 data
-rw-r----- 1 root http 40K Feb 27 16:26 db_structure.xml
-rw-r----- 1 root http 179 Feb 27 16:26 index.html
-rw-r----- 1 root http 2.5K Feb 27 16:26 index.php
drwxr-x--- 3 root http 4.0K Feb 27 16:26 l10n
drwxr-x--- 6 root http 4.0K Feb 27 16:26 lib
-rwxr-x--x 1 root http 283 Feb 27 16:26 occ
-rw-r----- 1 root http 969 Mar 21 14:02 ocperms.sh
drwxr-x--- 2 root http 4.0K Feb 27 16:25 ocs
drwxr-x--- 2 root http 4.0K Feb 27 16:25 ocs-provider
-rw-r----- 1 root http 3.2K Feb 27 16:26 public.php
-rw-r----- 1 root http 5.4K Feb 27 16:26 remote.php
drwxr-x--- 4 root http 4.0K Feb 27 16:26 resources
-rw-r----- 1 root http 26 Feb 27 16:26 robots.txt
drwxr-x--- 11 root http 4.0K Feb 27 16:26 settings
-rw-r----- 1 root http 2.1K Feb 27 16:26 status.php
drwxr-x--- 3 http http 4.0K Feb 27 16:26 themes
drwxr-x--- 2 http http 4.0K Feb 27 16:26 updater
-rw-r----- 1 root http 277 Feb 27 16:25 version.php
Restarting nginx and php-fpm and still
Can't write into config directory!
This can usually be fixed by giving the webserver write access to the config directory.
Thanks you for your help in advance !
Benoit
Last edited by benoitldr (2017-03-21 13:56:24)
Offline
You link to the part of the wiki describing the problem and offering the solution, but everything after that in your post has nothing to do with the solution from the wiki.
What are your open_basedir settings?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I found the solution I added
/etc/webapps/nextcloud
to
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/ usr/share/webapps/nextcloud:/etc/webapps/nextcloud
Offline
You probably also want to add /dev/urandom to that list, encryption will work better that way...
Offline