Articles in this section

Unable to configure Microsoft OneDrive Backup: SQLSTATE[HY000]: General error: 8 attempts to write a read-only database

kb: technical Plesk Obsidian for Linux ABT: Group A

Applicable to:

  • Plesk Obsidian for Linux

Symptoms

  • In an attempt to configure Microsoft OneDrive Backup in Plesk > Tools & Settings > Backup Manager > Remote Storage Settings > Microsoft OneDrive Backup, the process fails with the error below:

    PLESK_ERROR: Error: Unable to authorize Microsoft OneDrive Backup: SQLSTATE[HY000]: General error: 8 attempts to write a read-only database. The storage cannot be used until authorization is completed. Authorize.

  • With the enabled debug mode, the same error can be found in the /var/log/plesk/panel.log file.

Cause

The incorrect ownerships are set for the /usr/local/psa/var/modules/one-drive-backup/settings.sqlite3 file.

Resolution

  1. Log into the server via SSH.
  2. Execute the command below to set the correct ownerships for the /usr/local/psa/var/modules/one-drive-backup/settings.sqlite3 file:

    # chown psaadm:psaadm /usr/local/psa/var/modules/one-drive-backup/settings.sqlite3

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.