Cannot write into "config" directory

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

Give the user of the webserver write access.

Have a look at Installation on Linux β€” Nextcloud 15 Administration Manual 15 documentation

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

1 Like

How can I do that?

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

1 Like

Thanks :kissing_heart:

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

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

1 Like

Help me pls.

I need help.