- Posts: 639
- Thank you received: 136
YacReaderLibraryServer dockerized
- selmf
- Offline
- Moderator
-
@jcshumpert, it seems like this package is missing in your Docker container.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Please Log in or Create an account to join the conversation.
- jcshumpert
- Offline
- New Member
-
- Posts: 10
- Thank you received: 3
selmf wrote: @jefftr66 you're not giving any information, but if this is happening with YACReader 9.8.0 and those are comics with webp or tiff images the issue is missing image format plugins. This can be easily solved by installing the qt5-image-formats-plugins package.
@jcshumpert, it seems like this package is missing in your Docker container.
Thanks for bringing that to my attention. I just updated my fork in Github and Docker is compiling a new build now.
Please Log in or Create an account to join the conversation.
- jefftr66
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
I haven't even tried to use YACReader - this is all on the server. When I run
docker exec yacserver YACReaderLibraryServer update-library /storage/comix
it does not update the library. Comics I added today do not show in the library. (Accessing it via web browser)
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
- Posts: 639
- Thank you received: 136
No problem. Just for the record, this used to sort of work without the package in 9.7.1 because we used a static list of supported image formats back then. With 9.8.0 this list is generated at runtime based on the installed image plugins, which is a better approach but introduces the subtle bug that non-installed image formats are being ignored.
We will likely add some better diagnostics for this in the future.
@jefftr66:
This is about the format of the images inside your comic book archives. A .cbz is a zip and a .cbr is a rar archive with image which can be any format. If the image format is not supported, YACReader 9.8.0 will just ignore the files.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Please Log in or Create an account to join the conversation.
- jefftr66
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
I'm not clear why this:
docker exec yacserver YACReaderLibraryServer update-library /storage/comix
stopped working
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
- Posts: 3354
- Thank you received: 692
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Please Log in or Create an account to join the conversation.
- jefftr66
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
Processing comicsDone!
But usually I get a number of other messages and then Done! with how many comics were updated/added.
I also get this in the logs:
WARN 2021-06-01T17:01:13.785 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x5628de13b020), parent's thread is QThread(0x5628de13a7e0), current thread is QThread(0x5628de1402b0)
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
- Posts: 639
- Thank you received: 136
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Please Log in or Create an account to join the conversation.
- jefftr66
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
drwxr-xr-x 3 jefe jefe 4 Jun 1 15:41 .yacreaderlibrary
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
- Posts: 639
- Thank you received: 136
You can check the following stuff:
1. Does the log indicate any errors directly after starting? Something like:
ERROR 2021-06-01T20:39:39.394 "attempt to write a readonly database Unable to fetch row" ?
2. Is .yacreaderlibrary/library.ydb writable?
3. If all fails, backup the .yacreaderlibrary and check if a fresh library works, then compare permissions
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Please Log in or Create an account to join the conversation.