Cannot write into "config" directory


#1

Can someone help me with this pls? http://prntscr.com/meulgj
I cant use occ in my nextcloud


#2

Give the user of the webserver write access.

Have a look at https://docs.nextcloud.com/server/15/admin_manual/installation/source_installation.html#installation-wizard

chown -R www-data:www-data /var/www/nextcloud/


#3

How can I do that?


#4

This is the command to do the required change. :wink:


#5

Thanks :kissing_heart:


#6

But now this command doesn’t work: sudo -u www-data php occ help maintenance:mode


#7

What do you try to do? In case you want to enable maintenance mode, try this:

sudo -u www-data php occ maintenance:mode --on


#8

#9

Help me pls.


#10

I need help.