Internal Server Error on Reinstall

Hi there, I installed Nextcloud 13.0.5 on my Debian 9 server at /var/www/html/nextcloud without any problems. However, I decided I wanted to change my data directory from the default. So I deleted the Nextcloud files, and dropped the database from MySQL.

After copying the Nextcloud install files back to that directory, I get an Internal Server Error instead of the installation page when I navigate to

I am using Apache2 with default configuration.

Well I feel sheepish. I had a look at the error log, and I was getting PHP permission warnings. I had to give the files the proper permissions with

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

All good now :slight_smile:

could you use the “solve” option please