This problem is usually solved by giving the web server write access to the config directory

I have installed Nextcloud, when I try to to access to it I have this message :

In english :slight_smile:
This problem is usually solved by giving the web server write access to the config directory. Installation Wizard — Nextcloud 12 Server Administration Manual 12 documentation

Can you help me ?
Thank’s

Please find your config directory (probably /var/www/nextcloud/config), check the current permissions and grant the web server user (usually http or www-data) write permission to this folder.

You can also share the output of
ls -al <your path to nextcloud>

If you can’t solve the problem by granting write permission, please provide more details (used web server software, nextcloud.log, web server logs).

I’m using Apache 2.4.6 and php 5.6.32 on a redhat 7

chown -R apache:apache /var/www/html/nextcloud/config/
chmod -R 770 //var/www/html/nextcloud/config/

Not working…

Can you show the folder content?
ls -al /var/www/html/nextcloud/config/

Maybe stupid question: the line is colored because you highlighted it afterwards for us, right? So that line has actually the same color as all other lines for folders, correct?
Just asking to make sure there are no special attributes set, that should be visible by:
lsattr /var/www/html/nextcloud/config/

1 Like

2018-01-25 14_44_09-

Yes, indeed this line has the same color as others folders

Result of lsattr /var/www/html/nextcloud/config/

2018-01-25 14_54_52-root@localhost__var_www_html_nextcloud