Internal Server Error on first run

When I access Nextcloud for the first time, I get an “Internal Server Error”.

The message includes the directive “…more details can be found in the server log…”

Where does Nextcloud keep its logs?

Thanks for any help on this.

P

Fixed it. Had to run chown -R www-data:www-data on the directory.

I did not see this particular requirement in the installation documentation. Did I miss it?

P