mikespub-org / seblucas-cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
61 stars 7 forks source link

Error COPS: SQLSTATE[HY000]: General error: 5 database is locked #94

Closed vmbajop closed 1 month ago

vmbajop commented 1 month ago

Connecting to http://292.268.1.45:8000/ I receive the following error:

Error
COPS: SQLSTATE[HY000]: General error: 5 database is locked

Please report this issue at https://github.com/mikespub-org/seblucas-cops/issues if needed

Link: [Home](http://192.168.0.45:8000/index.php?page=index&db=0&vl=0)

I'm using it in Home Assistant, and In my config, I have the following setup: In HOASS Storage, I have a link to a disk locally configured as NFS. The name is "Biblioteca", and it's accessible in media/Biblioteca. With HA COPS, I have entered "Biblioteca" in the Library Folder field. My YAML configuration is:

title: Biblioteca Local
library_folder: Biblioteca
rsync: false
reader: monocle

Has anyone else had the same problem?

dunxd commented 1 month ago

I'll take this one in the HA COPS issues.

dunxd commented 1 month ago

It seems related to mounting NFS in Home Assistant, rather than a COPS issue. Mounting via SMB seems to have resolved it.

vmbajop commented 1 month ago

Yes, it's right: with SMB resolved it. Thanks so much

mikespub commented 1 month ago

Thanks for the help @dunxd :-)