-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] create-library and update-library do not work - resultant library.ydb is empty #60
Comments
I haven't been able to reproduce this issue locally, but I have also been in the process of updating the docker image(s). Could you try pulling the updated version of the docker image, create a new container, and see if you're still having this issue? |
Pulled down latest tag, removed all the .yacreaderlibrary folders, and wiped the .ini in /config/.local and the issue persists. I wonder if it has something to do with the fact that those files live on a samba mount and there's some ACL complications happening. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am also having this same exact issue. I run this in a CentOS vm hosting my docker containers, with my content hosted on my media server via an SMB share. I can manually update from YACServerLibrary running from my Windows PC to update with new comics, however running the update-library command provided does not: [(redacted)@ubuntu-docker (redacted)]$ docker exec YACReaderLibraryServer YACReaderLibraryServer update-library /comics
WARNING: Error loading config file: /root/.docker/config.json: read /root/.docker/config.json: is a directory
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- zip.c:104: Skipping directory entry "(redacted)/"
! _7z.c:191: 7z support requires 7z SDK (define HAVE_7Z)
- rar.c:65: Skipping directory entry "(redacted)"
- rar.c:65: Skipping directory entry "(redacted)"
- rar.c:65: Skipping directory entry "(redacted)"
Processing comics.............................Done!
Number of comics processed = 29 |
Been looking more into this. Looks like it's a SQLite database issue over SMB. Looks like some of the recommended fixes through the Internet also don't solve this problem. Can't find a workaround. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When running the create-library or update-library commands within this container, it creates a database file that is totally blank for each library. If a populated database file already exists, it will not update it after running update-library.
Expected Behavior
It should populate a .yacreaderlibrary/library.ydb file that isn't empty, or if it exists, it should update it with new entries.
Current Behavior
After running the create-library or update-library commands, the resulting .yacreaderlibrary/library.ydb file is totally empty. The cover metadata directory seems to populate as expected.
Steps to Reproduce
Processing comics................................................Done!
Number of comics processed = 48
lay/.yacreaderlibrary/library.ydb
(no output)
Screenshots
Environment
OS: Ubuntu 22.04.2 LTS container, Linux faramir 4.19.0-26-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64 GNU/Linux host
CPU architecture: x86_64
Command used to create docker container (run/create/compose/screenshot)
Docker logs
Additional information
If I create the libraries via the YACReaderLibrary desktop application, then everything works as expected - I can even serve them just fine with this container (but reading progress isn't saved)
The text was updated successfully, but these errors were encountered: