When I try to reinstall nextcloud it throws the following error:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1698] Access denied for user 'oc_oc_admin'@'localhost' in /var/www/nextcloud/lib/private/DB/Connection.php:238
I assume that the login name 'oc_oc_admin' is not correct created.
To fix this problem I had to delete 'var/www/nextcloud' and '/mnt/dietpi_userdata/nextcloud_data/'
This error occurs when I use diepi-software reinstall or trying a fresh install after deleting '/var/www/nextcloud' while '/mnt/dietpi_userdata/nextcloud_data/' remains or vice versa. Meaning, both mentioned directories have to be deleted anyway.
When I try to reinstall nextcloud it throws the following error:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1698] Access denied for user 'oc_oc_admin'@'localhost' in /var/www/nextcloud/lib/private/DB/Connection.php:238I assume that the login name 'oc_oc_admin' is not correct created.
To fix this problem I had to delete 'var/www/nextcloud' and '/mnt/dietpi_userdata/nextcloud_data/'
This error occurs when I use
diepi-software reinstallor trying a fresh install after deleting '/var/www/nextcloud' while '/mnt/dietpi_userdata/nextcloud_data/' remains or vice versa. Meaning, both mentioned directories have to be deleted anyway.