Skip to content

database is locked error #6536

Closed
Closed

Description

@Netbulae

Expected behaviour

My admin changed the password of my account, I tried logging in directly after he told me the new password

Actual behaviour

An exception occurred while executing 'INSERT INTO oc_preferences (userid, appid, configkey, configvalue) VALUES (?, ?, ?, ?)' with params ["username", "files", "cache_version", 5]: SQLSTATE[HY000]: General error: 5 database is locked

Steps to reproduce

  1. Change user password
  2. Try to login directly with that account
  3. Error on screen still logged in

Server configuration

Operating system:
Centos 6.5

Web server:
Apache
Database:
Mysql

ownCloud version: (see ownCloud admin page)
6.0.0a (stable)

Updated from an older ownCloud or fresh install:
Fresh install

Are you using external storage, if yes which one:
No

Client configuration

Browser:
Firefox 22.0
Operating system:
Fedora 17

Activity

  1. DeepDiver1975 commented on Dec 23, 2013

    @DeepDiver1975
    Contributor

    General error: 5 database is locked

    Are you sure you have MySQL configured? This error message is a typical sqlite error, which unfortunately can happen.

  2. karlitschek commented on Dec 23, 2013

    @karlitschek
    Contributor

    @Netbulae Can you try to connect to your mysql in a different way? It is possible that it is locked because it is marked as crashed and needs repair. Or is a mysqldump running at the same time?

  3. LukasReschke commented on Aug 19, 2014

    @LukasReschke
    Contributor

    I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

    Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch – see the developer manual. :)

    Thank you!

  4. locked as resolved and limited conversation to collaborators on Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions