Skip to content

nextcloud reinstall fails #8071

@AlfredoCubitos

Description

@AlfredoCubitos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions