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 https://docs.nextcloud.com/server/15/admin_manual/installation/source_installation.html#installation-wizard

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.