Editing config.php using NextCloudPi image

I’ve just started using NextCloud / NextCloudPi and am enamored with it.

I’m trying to setup automatic backups to backblaze b2 following autoize’s tutorial. I’m stuck at step 1. :laughing: When i go to edit /var/www/nextcloud/config/config.php I encounter an error, Permission Denied. I’m logged in as pi.

I thought about mucking around with permissions myself, but I’m highly new to linux and thought better of it. Can someone please help?

Try edit with sudo

That did it! It threw me off that I couldn’t even navigate to the path… I tried sudo cd to navigate to the path (which apparently isn’t a thing), and I guess I never tried sudo when opening it with nano. Thank you!