Coder Social home page Coder Social logo

xthursdayx / yacreaderlibrary-server-docker Goto Github PK

View Code? Open in Web Editor NEW
58.0 3.0 5.0 276 KB

Docker image running a headless version of YACReaderLibraryServer πŸ“¦

Home Page: https://hub.docker.com/r/xthursdayx/yacreaderlibrary-server-docker

License: GNU General Public License v3.0

Dockerfile 100.00%
comics comic-books yacreaderlibraryserver yacreader docker yacreader-library

yacreaderlibrary-server-docker's Introduction

YACReaderLibraryServer Docker

Docker Builds Docker Pulls Docker Pulls Docker Image Size (tag) Docker Image Size (tag) GitHub Release GitHub

Headless version of the YACReaderLibraryServer, running on a custom base image built with Ubuntu 22.04 LTS cloud image and S6 overlay.

YACReader is the best comic reader and comic manager available, with support for cbr, cbz, zip, and rar comic files.

YACReaderLibraryServer makes it easy to run a home comics server to serve your comics to any device running a YACReader client (including Windows, MacOS, and Linux as well the YACReader iOS app).

Setup Instructions:

You can choose to install one of two versions of the YACReaderLibraryServer docker image, each compiled with a different compression backend - either 7zip or unarr. These two versions are handled via the Docker repository tags xthursdayx/yacreaderlibrary-server-docker:7zip or xthursdayx/yacreaderlibrary-server-docker:unarr.

For the best stability and general quality, it is recommended that you install YACReaderLibraryServer with unarr, so this version is the default installation. It should be noted, however, that as of version 1.0.1, unarr supports fewer formats than 7zip, notably RAR5. There is also some evidence that YACReaderLibraryServer compiled with 7zip may scan and create your comics library(s) faster than the version complied with unarr, so the choice is yours. In practice, the unarr rarely causes issues as the vast majority of comic books use either zip or RAR4 compression, which is handled nicely by this backend, and after the initial library creation, library updates proceed smoothly with either decompression backend.

If you would like to use the default unarr backend, then you do not need to add a tag to xthursdayx/yacreaderlibrary-server-docker since it will default to the latest/unarr tag.

This docker image is also available from the GitHub container registry: ghcr.io/xthursdayx/yacreaderlibrary-server-docker

Supported Architectures

This image supports multiple architectures, specifically x86-64 and arm64, through the use of a docker manifest for multi-platform awareness. You can read more about docker manifests here.

There is a tagged unarr and 7zip version of the image for each supported architecture. Simply pulling xthursdayx/yacreaderlibrary-server-docker:<tag> should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image, and the associated tags are:

Architecture Tag
x86-64 latest/unarr
x86-64 7zip
x86-64 unarr-amd64
x86-64 7zip-amd64
arm64 unarr-arm64v8
arm64 7zip-arm64v8

Here are some examples to help you get started creating a container from this image. If you are an UNRAID user you can access my UNRAID YACReaderLibraryServer template in Community Apps.

Docker CLI

docker run -d \
  --name=YACReaderLibraryServer \
  -e PUID=99 \
  -e PGID=100 \
  -e TZ=America/New_York \
  -p 8080:8080 \
  -v /path/to/config:/config \
  -v /path/to/comic:/comics \
  --restart unless-stopped \
  xthursdayx/yacreaderlibrary-server-docker:[tag]

docker-compose

---
version: "3"
services:
  yacreaderlibrary-server-docker:
    container_name: YACReaderLibraryServer
    image: xthursdayx/yacreaderlibrary-server-docker:[tag]
    environment:
      - PUID=99
      - PGID=100
      - TZ=America/New_York
    volumes:
      - /path/to/config:/config
      - /path/to/comics:/comics
    ports:
      - 8080:8080
    restart: unless-stopped

Parameters

Container images are configured using parameters passed at runtime (such as those listed above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container. You can change the external/host port and volume mappings to suit your needs.

Parameter Function
-p 8080 HTTP access to YACReaderLibraryServer.
-e PUID=99 for UserID - see below for more information.
-e PGID=100 for GroupID - see below for more information.
-e TZ=America/New_York Specify a timezone to use, e.g. America/New_York.
-v /config Directory where YACReaderLibraryServer's configuration and log files will be stored.
-v /comics The directory where YACReaderLibraryServer will look for your comics.
tag (Optional) The docker tag will pull your chosen version YACReaderLibraryServer, the primary options are pzip or unarr/latest (default), though arch and release specific tags are also available.

User / Group Identifiers

When using volumes (-v flags) permissions issues can arise between the host OS and the container, you can avoid this by specifying the user PUID and group PGID.

Ensure any mapped volume directories on your host machine are owned by the same user you specify and you will avoid any permissions issues.

In this instance PUID=99 and PGID=100, to find yours using the following command:

  $ id <username> # Replace with your username
    uid=99(nobody) gid=100(users) groups=100(users)

Usage Instructions:

To create a new YACReader comics library run the following command from the CLI on your host machine, changing <library-name> to whatever you want your library to be called:

docker exec YACReaderLibraryServer YACReaderLibraryServer create-library <library-name> /comics

To add an existing YACReader library:

docker exec YACReaderLibraryServer YACReaderLibraryServer add-library <library-name> /comics

To update your YACReader library (e.g. when you've added new comics):

docker exec YACReaderLibraryServer YACReaderLibraryServer update-library /comics

To list all existing YACReader libraries

docker exec YACReaderLibraryServer YACReaderLibraryServer list-libraries

To remove a YACReader library

docker exec YACReaderLibraryServer YACReaderLibraryServer remove-library <library-name>

Accessing YACReaderLibraryServer

You can access your YACReaderLibraryServer by pointing your YACReader app to:

  • http://SERVERIP:8080 (Replace SERVERIP with the correct value).

Please note: YACReaderLibraryServer does not have authentication installed by default, so it is not advisable to expose your server outside of your home network. If you wish to be able to access YACReaderLibraryServer from outside your local network please use a reverse ssl proxy, such as NGINX with an .htaccess file, or a locally-hosted VPN, such as OpenVPN to access your local network.

Updating Info

This image is static, versioned, and requires an image update and container recreation to update version of YACReaderLibraryServer running inside.

Here are the instructions for updating containers:

Via Docker Compose

  • Update all images: docker-compose pull
    • or update a single image: docker-compose pull YACReaderLibraryServer
  • Let compose update all containers as necessary: docker-compose up -d
    • or update a single container: docker-compose up -d YACReaderLibraryServer
  • You can also remove the old dangling images: docker image prune

Via Docker Run

  • Update the image: docker pull xthursdayx/YACReaderLibraryServer
  • Stop the running container: docker stop YACReaderLibraryServer
  • Delete the container: docker rm YACReaderLibraryServer
  • Recreate a new container with the same docker run parameters as described above (if mapped correctly, your YACReaderLibraryServer database and library will be preserved).
  • You can also remove the old dangling images: docker image prune

Image Update Notifications - Diun (Docker Image Update Notifier)

  • You can use Diun for update notifications. Other tools that automatically update containers unattended are not recommended.

Versions

  • 15.02.24: - Roll aarch64 images back to QT5 to temporarily fix CI build issue.

  • 15.02.24: - Update YACReader to 9.14.2, swith p7zip branch to 7zip and update to QT6 for the 7zip image.

  • 06.02.24: - Update YACReader to 9.14.1 and update to QT6 for the unarr image.

  • 28.07.23: - Update YACReader to 9.13.1 and depreciated 32-bit Arm(hf) image.

  • 25.04.23: - Update YACReader to 9.12.0.

  • 04.04.23: - Update YACReader to 9.11.0 and fix CI build process.

  • 02.12.22: - Update YACReader to 9.10.0 and upgrade to s6v3.

  • 27.10.22: - Updated to YACReaderLibrary 9.9.2 and rebase to Jammy.

  • 16.11.21: - Streamlined multi-arch support and docker image push workflow.

  • 20.06.21: - Added multi-arch support.

  • 14.06.21: - Switched to monorepo with unarr and p7zip versions.

  • 11.06.21: - Bug fix and patch on main p7zip branch.

  • 10.06.21: - Complete rebuild and initial version.

Donations

If you appreciate my work please consider buying me a coffee, cheers! 😁

Donate

yacreaderlibrary-server-docker's People

Contributors

dependabot[bot] avatar xthursdayx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

yacreaderlibrary-server-docker's Issues

[BUG] SynologyNAS Library not visible via iPad or Web

Hello
I created a Library and added Comics with YAC Server on Synology, it creates cover and library.ydb correctly.
Connection via Mac on the same Library also works and the comics are shown on Mac.

Firewall on SynologyNAS is not enabled


Expected Behavior

Access via iPad oder Web.

Current Behavior

The Library created is shown but I can't click on it in Web
The Library created is shown but empty on iPad (Looks like you're not reading anything)

Steps to Reproduce

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

Kernel:Β "linux"Β "4.4.302+"Β Architecture:Β "x86_64"
OS:Β "UbuntuΒ 22.04.2Β LTS"Β Version:Β Β "22.04"

Command used to create docker container (run/create/compose/screenshot)

Docker logs

2024/02/21Β 14:08:39 stdout WARNΒ Β 2024-02-21T13:08:39.882Β QSqlQuery::prepare:Β databaseΒ notΒ open
2024/02/21Β 14:08:38 stdout WARNΒ Β 2024-02-21T13:08:38.949Β QSqlQuery::prepare:Β databaseΒ notΒ open
2024/02/21Β 14:08:37 stdout (ParentΒ isΒ RequestMapper(0x558f2c531a20),Β parent'sΒ threadΒ isΒ QThread(0x558f2c525400),Β currentΒ threadΒ isΒ QThread(0x558f2c534450)
2024/02/21Β 14:08:37 stdout WARNΒ Β 2024-02-21T13:08:37.262Β QObject:Β CannotΒ createΒ childrenΒ forΒ aΒ parentΒ thatΒ isΒ inΒ aΒ differentΒ thread.
2024/02/21Β 14:08:20 stdout [ls.io-init]Β done.
2024/02/21Β 14:08:19 stdout INFOΒ Β 2024-02-21T13:08:19.925Β 1Β moreΒ networkΒ interfacesΒ detected

2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.924Β RunningΒ onΒ "192.168.xxx.xxx:8080"
2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.923Β YACReaderLibraryΒ starting
2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.923Β --------------------------------------------
2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.923Β Libraries:Β Β QList("ComicLibraryΒ [1,Β e4d607f5-77e2-4a5a-81a9-11b30e29b4a7,Β /comics]")
2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.923Β Kernel:Β "linux"Β "4.4.302+"Β Architecture:Β "x86_64"
2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.923Β OS:Β "UbuntuΒ 22.04.2Β LTS"Β Version:Β Β "22.04"
2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.923Β ----------Β SystemΒ &Β configurationΒ ----------
2024/02/21Β 14:08:19 | stdout | INFOΒ Β 2024-02-21T13:08:19.923Β YACReaderLibraryServerΒ attemptingΒ toΒ start

Additional information

Firewall on SynologyNAS is not enabled
I used the recommended "latest" package.
Hope you can help me

[Feature Request] Show post-processed filenames when updating library

Describe the solution you'd like

I would like to have the filenames in the output when updating the library.
Currently we only see the number of comics that are added.

Why: Because I receive a summary of the executed task and would like to easily know what has been added (also for manual adding metadata to new comics)

PDF Files not working

I'm running on a synology docker and since I had to update the server (Got popup in android app) I can not see any of my pdf files anymore in my libraries. I asked the yacreader creator and he said that maybe the binary was build without pdf file support?

[BUG] "! rar.c:112: Invalid header checksum @7" error when trying to update the library

[BUG] "! rar.c:112: Invalid header checksum @7" error when trying to update the library

Expected Behavior

I added the library that I specified in the docker-compose file but no comic was showing so I tried to update it via docker exec and I got an error message in the process. It does update the library it seems though.

Current Behavior

The error message when trying to update the library is: "! rar.c:112: Invalid header checksum @7".

Steps to Reproduce

  1. docker exec YACReaderLibraryServer YACReaderLibraryServer add-library comics /comics
    Library added : comics at /comics
  2. docker exec YACReaderLibraryServer YACReaderLibraryServer update-library /comics
    ! rar.c:112: Invalid header checksum @7

Screenshots

https://imgur.com/AXF20cQ

Environment

**OS: Synology DSM 7.1.1-42962 Update 6
**CPU architecture: x86_64 (DS920+)

Command used to create docker container (run/create/compose/screenshot)

services:
yacreaderlibrary-server-docker:
container_name: YACReaderLibraryServer
image: xthursdayx/yacreaderlibrary-server-docker
environment:
- PUID=1030
- PGID=100
- TZ=Europe/Paris
volumes:
- /volume2/docker/yacreader/config:/config
- /volume1/Comics:/comics
ports:
- 8090:8080
restart: unless-stopped

Docker logs

https://imgur.com/aHAoTbV

Additional information

Thank you for your image and for your help! :)

issue after updating container with init-adduser (v1.4.x)

I have an issue using the latest container images as of v1.4.0.

docker logs -f YACReaderLibraryServer s6-rc-compile: fatal: during dependency resolution for service init-adduser: undefined service name init-script-check

I already tried downgrading the container, but to no success.
The container itself is running on a Synology NAS and shows no errors except the fatal error in the log.

running v1.3.9 has no issues.

[BUG] Only the first of multiple libraries can be browsed


Expected Behavior

I should be able to add multiple libraries and browse all of them.

Current Behavior

Currently, if you add multiple libraries they will all be displayed on your YACReaderLibraryServer homepage, but only the first one can be browsed. Clicking the others does nothing. Whichever library is listed first when you type YACReaderLibraryServer list-libraries is the only library that will work. Removing this library then allows you to browse the next one, since it is now the first library in the list.

Steps to Reproduce

  1. Create multiple libraries. e.g.:
YACReaderLibraryServer add-library "Comic Books and Graphic Novels" /comics
YACReaderLibraryServer add-library "Comic Strip Collections" /funnypages
YACReaderLibraryServer add-library "Magazines" /magazines
  1. Now browse to your YacReaderLibraryServer homepage. All three libraries are listed, in the order they were added.
  2. Click on the first Library in the list. You will be able to browse the comic books within, no problem.
  3. Click on the other Libraries in the list. Clicking them will do nothing. You can not browse them.
  4. Now delete the first Library. e.g.:
YACReaderLibraryServer remove-library "Comic Books and Graphic Novels"
  1. Now browse to your YACReaderLibraryServer homepage. Only the two remaining libraries are listed, still in the order they were first added.
  2. Click on the first Library in the list. It did not used to be the first Library in the list, and you could not browse it. But it is now the first Library in the list. You can now browse the comic books within, no problem.
  3. Click on the next Library in the list. Clicking it will do nothing. You can not browse it

Environment

This was done on Synology, using the fix described here

Command used to create docker container (run/create/compose/screenshot)

version: "3"
services:
  image: xthursdayx/yacreaderlibrary-server-docker:unarr
  container_name: YACReaderLibraryServer
  healthcheck:
    test: curl -f http://localhost:8080/ || exit 1
  mem_limit: 4g
  cpu_shares: 192
  security_opt:
    - no-new-privileges:true
  restart: unless-stopped
  ports: 
    - 8080:8080
  volumes:
    - "/volume1/docker/yaclibraryserver:/config"
    - "/volume1/music/My Media/Comics and Comic Strips/Comics Sorted:/comics"
    - "/volum1/music/My Media/Comics and Comic Strips/Comic Strip Collections:/funnypages"
    - "/volume1/music/My Media/Magazines:/magazines"
  environment:
    PUID: 1024
    PGID: 100
    TZ: America/New_York

Followed by:

apt-get update
apt-get install binutils
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
YACReaderLibraryServer add-library "Comic Books and Graphic Novels" /comics
YACReaderLibraryServer add-library "Comic Strip Collections" /funnypages
YACReaderLibraryServer add-library "Magazines" /magazines

All volumes and directories are populated with comic books and are readable. All volumes have worked with other YACReaderLibraryServer docker images in the past (e.g. Mullion/yacreaderlibraryserver). All volumes and Libraries work great if they are actively the top Library on the homepage. Forcibly removing and adding the Libraries to change the order they are in prove that they all work, provided they are the first Library in the list. Thus, this does not appear to be a permissions problem.

Is this a Synology-specific bug or something related to this package? Has anyone else gotten multiple libraries to work in the current version?

I can't docker-compose this docker

The steps are repeated

  1. docker pull ghcr.io/xthursdayx/yacreaderlibrary-server-docker:p7zip
    image
    2.Creat docker-compose.yml
    image
    3.docker-compose up -d
    image
    but, It doesn't work,Isn't that how it works? by the way , my system is here
    image

[BUG] Segmentation fault when running update-library (p7zip image)

When using p7zip tagged image i got a Segmentation fault (core dumped) on update-library

Also tried with a new config folder in case something in the settings from previous version was the root cause, but it wasnt.


Expected Behavior

Library updated.

Current Behavior

Instant core dumped when triggered the update-library.

Steps to Reproduce

  1. $ docker exec -ti YACReaderLibraryServer bash
  2. $ YACReaderLibraryServer update-library /comics

Environment

OS: Ubuntu 22.04.2 LTS
CPU architecture: x86_64

Command used to create docker container (run/create/compose/screenshot)

---
version: "3"
services:
  yacreaderlibrary-server-docker:
    container_name: YACReaderLibraryServer
    image: xthursdayx/yacreaderlibrary-server-docker:p7zip
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Madrid
    volumes:
      - ./config:/config
      - /biblio/comics/srv-test-comics:/comics
    ports:
      - 2536:8080
    restart: unless-stopped

Docker logs

root@2c81bcc024b1:/# YACReaderLibraryServer update-library /comics
Processing comicsSegmentation fault (core dumped)

[migrations] started
[migrations] no migrations found

----------------------------------------------------------
   _  __________  ____  ______  _____ ____  _____  ___  __
  | |/ /_  __/ / / / / / / __ \/ ___// __ \/   \ \/ / |/ /
  |   / / / / /_/ / / / / /_/ /\__ \/ / / / /| |\  /|   /
 /   | / / / __  / /_/ / _, _/___/ / /_/ / ___ |/ //   |
/_/|_|/_/ /_/ /_/\____/_/ |_|/____/_____/_/  |_/_//_/|_|

Brought to you by xthursdayx
----------------------------------------------------------
GID/UID
----------------------------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[custom-init] No custom files found, skipping...
INFO  2023-07-22T14:30:52.072 YACReaderLibraryServer attempting to start
INFO  2023-07-22T14:30:52.072 ---------- System & configuration ----------
INFO  2023-07-22T14:30:52.072 OS: "Ubuntu 22.04.2 LTS" Version:  "22.04"
INFO  2023-07-22T14:30:52.072 Kernel: "linux" "5.19.0-46-generic" Architecture: "x86_64"
INFO  2023-07-22T14:30:52.072 Libraries:  QMap(("ComicsVault", QPair(1,"/comics")))
INFO  2023-07-22T14:30:52.072 --------------------------------------------
INFO  2023-07-22T14:30:52.072 YACReaderLibrary starting
INFO  2023-07-22T14:30:52.072 Running on port "8080"
[ls.io-init] done.

[BUG] Unable to update library

Expected Behavior

I've created a library, and expect that running update-library command would update the library with the files.

Current Behavior

running update-library doesn't seem to actually scan the files and the library remains empty. I can reach the library IP:port and it shows the library name, but clicking on it does nothing.

Steps to Reproduce

I'm running the latest p7zip container (I have some rar5 files)
Using synology docker.
The config files and .yacreaderlibrary show up where expected.

Environment

OS: Synology DSM7
CPU architecture: x86_64/

Command used to create docker container (run/create/compose/screenshot)

Screen Shot 2022-11-17 at 1 49 35 PM

Docker logs

yacreader
date,stream,content
2022-11-17T04:04:31.079565284Z,stdout,"(Parent is RequestMapper(0x56053c7de190), parent's thread is QThread(0x56053c7d0f10), current thread is QThread(0x56053c7ddb50) "
2022-11-17T04:04:31.077206945Z,stdout,WARN 2022-11-17T04:04:31.076 QObject: Cannot create children for a parent that is in a different thread.
2022-11-17T04:03:03.501206119Z,stdout,INFO 2022-11-17T04:03:03.500 Running on port "8080"
2022-11-17T04:03:03.429556299Z,stdout,INFO 2022-11-17T04:03:03.429 YACReaderLibrary starting
2022-11-17T04:03:03.428768712Z,stdout,INFO 2022-11-17T04:03:03.428 --------------------------------------------
2022-11-17T04:03:03.428403367Z,stdout,"INFO 2022-11-17T04:03:03.428 Libraries: QMap(("Comix", QPair(1,"/comix"))) "
2022-11-17T04:03:03.427681175Z,stdout,INFO 2022-11-17T04:03:03.427 Kernel: "linux" "4.4.180+" Architecture: "x86_64"
2022-11-17T04:03:03.426765829Z,stdout,INFO 2022-11-17T04:03:03.426 OS: "Ubuntu 20.04.3 LTS" Version: "20.04"
2022-11-17T04:03:03.425891070Z,stdout,INFO 2022-11-17T04:03:03.425 ---------- System & configuration ----------
2022-11-17T04:03:03.424971064Z,stdout,INFO 2022-11-17T04:03:03.424 YACReaderLibraryServer attempting to start
2022-11-17T04:03:03.412644835Z,stdout,[services.d] done.
2022-11-17T04:03:03.395129163Z,stdout,[services.d] starting services
2022-11-17T04:03:03.393938575Z,stdout,[cont-init.d] done.
2022-11-17T04:03:03.392874313Z,stdout,[cont-init.d] 99-custom-scripts: exited 0.
2022-11-17T04:03:03.391772426Z,stdout,[custom-init] no custom files found exiting...
2022-11-17T04:03:03.372179652Z,stdout,[cont-init.d] 99-custom-scripts: executing...
2022-11-17T04:03:03.370166484Z,stdout,[cont-init.d] 90-custom-folders: exited 0.
2022-11-17T04:03:03.355770179Z,stdout,[cont-init.d] 90-custom-folders: executing...
2022-11-17T04:03:03.354087465Z,stdout,[cont-init.d] 30-config: exited 0.
2022-11-17T04:03:03.339448345Z,stdout,[cont-init.d] 30-config: executing...
2022-11-17T04:03:03.337192298Z,stdout,[cont-init.d] 10-adduser: exited 0.
2022-11-17T04:03:03.329490662Z,stdout,
2022-11-17T04:03:03.329428190Z,stdout,-------------------------------------
2022-11-17T04:03:03.329353259Z,stdout,User gid: 911
2022-11-17T04:03:03.329224444Z,stdout,User uid: 911
2022-11-17T04:03:03.329046989Z,stdout,
2022-11-17T04:03:03.323208099Z,stdout,----------------------------------------------------------
2022-11-17T04:03:03.323001584Z,stdout,GID/UID
2022-11-17T04:03:03.322847536Z,stdout,----------------------------------------------------------
2022-11-17T04:03:03.322479757Z,stdout,Brought to you by xthursdayx
2022-11-17T04:03:03.322422444Z,stdout,
2022-11-17T04:03:03.322375204Z,stdout,//||// // //_// ||//_____// |////||
2022-11-17T04:03:03.322313059Z,stdout," / | / / / __ / /
/ / , // / // / ___ |/ // |
2022-11-17T04:03:03.322246592Z,stdout, | / / / / // / / / / // /__ / / / / /| |\ /| /
2022-11-17T04:03:03.322170792Z,stdout, | |/ /_ __/ / / / / / / __ / ___// __ / \ / / |/ /
2022-11-17T04:03:03.322044210Z,stdout, _ __________ ____ ______ _____ ____ _____ ___ __
2022-11-17T04:03:03.321964693Z,stdout,----------------------------------------------------------
2022-11-17T04:03:03.321747253Z,stdout,
2022-11-17T04:03:03.320862518Z,stdout,usermod: no changes
2022-11-17T04:03:03.286556053Z,stdout,[cont-init.d] 10-adduser: executing...
2022-11-17T04:03:03.283688970Z,stdout,[cont-init.d] 01-envfile: exited 0.
2022-11-17T04:03:03.269739446Z,stdout,[cont-init.d] 01-envfile: executing...
2022-11-17T04:03:03.266817812Z,stdout,[cont-init.d] executing container initialization scripts...
2022-11-17T04:03:03.265646092Z,stdout,[fix-attrs.d] done.
2022-11-17T04:03:03.264782239Z,stdout,[fix-attrs.d] applying ownership & permissions fixes...
2022-11-17T04:03:03.262234397Z,stdout,[s6-init] ensuring user provided files have correct perms...exited 0.
2022-11-17T04:03:03.169821234Z,stdout,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

Additional information

I was successfully running a different yacreaderlibraryserver docker image previously, but it didn't have support for rar5, which is why I switched to this one. I deleted the .yacreaderlibrary folder before starting this one.

{
"CapAdd" : [],
"CapDrop" : [],
"cmd" : "",
"cpu_priority" : 10,
"enable_publish_all_ports" : false,
"enable_restart_policy" : true,
"enable_service_portal" : true,
"enabled" : true,
"env_variables" : [
{
"key" : "PATH",
"value" : "/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "HOME",
"value" : "/config"
},
{
"key" : "LANGUAGE",
"value" : "en_US.UTF-8"
},
{
"key" : "LANG",
"value" : "en_US.UTF-8"
},
{
"key" : "TERM",
"value" : "xterm"
},
{
"key" : "APPNAME",
"value" : "YACReaderLibraryServer"
},
{
"key" : "LC_ALL",
"value" : "en_US.UTF-8"
}
],
"exporting" : false,
"id" : "f7fe84f161716ff03eaf0ea00b54578d03e40c60175694c49ff8d18eb970ea00",
"image" : "xthursdayx/yacreaderlibrary-server-docker:p7zip",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 2622488576,
"name" : "yacreader",
"network" : [
{
"driver" : "host",
"name" : "host"
}
],
"network_mode" : "host",
"port_bindings" : [],
"privileged" : true,
"service_portals" : [
{
"port" : "8080",
"protocol" : "http"
}
],
"services" : [
{
"display_name" : "Docker yacreader 8080",
"id" : "Docker-f7fe84f161716ff03eaf0ea00b54578d03e40c60175694c49ff8d18eb970ea00-8080",
"proxy_target" : "http://127.0.0.1:8080",
"service" : "Docker-f7fe84f161716ff03eaf0ea00b54578d03e40c60175694c49ff8d18eb970ea00-8080",
"type" : "reverse_proxy"
}
],
"shortcut" : {
"enable_shortcut" : false,
"enable_status_page" : false,
"enable_web_page" : false,
"web_page_url" : ""
},
"use_host_network" : true,
"volume_bindings" : [
{
"host_volume_file" : "/Comix",
"mount_point" : "/comics",
"type" : "rw"
},
{
"host_volume_file" : "/docker/yacreader",
"mount_point" : "/config",
"type" : "rw"
}
]
}

7z SDK Error when creating new library

executing

docker exec YACReaderLibraryServer YACReaderLibraryServer create-library comics /comics

returns _7z.c:200: 7z support requires 7z SDK (define HAVE_7Z)

with my exsting library of cbz files.

System: Unraid 6.9.2 Docker

[BUG] CBR files that contains subdirectories wont open in iOS

Hi,

I am having an issue with CBR files that contain subdirectories inside of them. When I try to open the file in my iOS devices, I get a β€œTimeout loading” message, and if I try to import it to the device, I get a β€œError importing comics: There were errors during the import process, please, check your files and/or network connectivity – error: Error retrieving comic pages, http: 404” message.

For other file formats like CBR (without subdirectories), CBZ or PDF everything works properly.

I already checked the firewall configuration, and everything is working properly from the network point of view.


Expected Behavior

Open or import the files properly, inside the iOS app

Current Behavior

Files won’t open or import

Environment

OS: Ubuntu 22.04.2 LTS
CPU architecture: arm64

Command used to create docker container (run/create/compose/screenshot)

version: "3"
services:
yacreaderlibrary-server-docker:
container_name: YACReaderLibraryServer
image: xthursdayx/yacreaderlibrary-server-docker
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
volumes:
- $DOCKERDIR/yacserver:/config
- $MEDIADIR/comics:/comics
ports:
- $YACSERVER_PORT:8080
restart: unless-stopped

Docker logs

WARN 2024-03-16T22:01:38.303 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x55a3669a90), parent's thread is QThread(0x55a365d490), current thread is QThread(0x55a3671fd0)

xthursdayx/yacreaderlibrary-server-docker No such File or Directory

Seem to be getting this error when trying to run CLI command

docker run -d
--name=yacreaderlibrary-server
-e PUID=1000
-e PGID=1003
-e TZ=America/New_York
-p 8081:8081
-v /config
-v /media/Plex/Books
--restart unless-stopped
xthursdayx/yacreaderlibrary-server-docker

[BUG] create-library and update-library do not work - resultant library.ydb is empty

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

  1. Delete .yacreaderlibrary directory, if one exists.
  2. Run docker-compose up -d with specified docker-compose.yml
  3. Attempt to create a library for /comics/Super\ Play directory, comprised of .cbz files
  4. docker exec -it YACReaderLibraryServer YACReaderLibraryServer create-library "Super Play" /comics/Super\ Play
    Processing comics................................................Done!
    Number of comics processed = 48
  5. Attempt to display contents of library.ydb
  6. (utils) root@faramir:/home/aalles/Sources/YACReaderHeadless# docker exec -it YACReaderLibraryServer cat /comics/Super\ P
    lay/.yacreaderlibrary/library.ydb
    (no output)
  7. Attempt to connect to YACReader instance with the YACReader mobile app and import via the YACReaderLibrary connection: listed library is totally empty (see screenshot)

Screenshots

yacreader_empty
Screenshot 2024-02-08 122721
IMG_2315

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)

---
version: "3"
services:
  yacreaderlibrary-server-docker:
    container_name: YACReaderLibraryServer
    image: xthursdayx/yacreaderlibrary-server-docker:latest
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Phoenix
    volumes:
      - ./config:/config
      - /mnt/Documents/Books/Gaming/Periodicals:/comics
    ports:
      - 9080:8080
    restart: unless-stopped

Docker logs

(utils) root@faramir:/home/aalles/Sources/YACReaderHeadless# docker logs YACReaderLibraryServer
[migrations] started
[migrations] no migrations found

----------------------------------------------------------
   _  __________  ____  ______  _____ ____  _____  ___  __
  | |/ /_  __/ / / / / / / __ \/ ___// __ \/   \ \/ / |/ /
  |   / / / / /_/ / / / / /_/ /\__ \/ / / / /| |\  /|   /
 /   | / / / __  / /_/ / _, _/___/ / /_/ / ___ |/ //   |
/_/|_|/_/ /_/ /_/\____/_/ |_|/____/_____/_/  |_/_//_/|_|

Brought to you by xthursdayx
----------------------------------------------------------
GID/UID
----------------------------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[custom-init] No custom files found, skipping...
INFO  2024-02-08T12:26:20.830 YACReaderLibraryServer attempting to start
INFO  2024-02-08T12:26:20.830 ---------- System & configuration ----------
INFO  2024-02-08T12:26:20.830 OS: "Ubuntu 22.04.2 LTS" Version:  "22.04"
INFO  2024-02-08T12:26:20.830 Kernel: "linux" "4.19.0-26-amd64" Architecture: "x86_64"
INFO  2024-02-08T12:26:20.830 Libraries:  QMap(("N64 Magazine", QPair(2,"/comics/N64 Magazine")))
INFO  2024-02-08T12:26:20.830 --------------------------------------------
INFO  2024-02-08T12:26:20.830 YACReaderLibrary starting
INFO  2024-02-08T12:26:20.831 Running on "192.168.16.2:8080"

INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆβ–„β–ˆβ–ˆβ–€β–€β–ˆ β–„β–„β–„β–„β–„ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆ   β–ˆ β–ˆβ–€β–„β–ˆβ–€β–„β–ˆ β–ˆ   β–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆ β–ˆ β–„ β–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆ β–€ β–ˆβ–„β–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–€β–ˆ β–€β–„β–„β–„β–„ β–ˆ β–„β–„β–„ β–„β–€β–€β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β–„ β–€β–„β–ˆβ–„β–ˆβ–€β–ˆβ–ˆβ–€ β–ˆβ–€β–ˆβ–ˆβ–€β–ˆ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–ˆβ–ˆβ–ˆβ–„β–ˆβ–„β–„ β–€β–€β–„β–€β–ˆβ–„β–€β–€β–ˆβ–„  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆβ–„β–€β–ˆ β–ˆβ–„β–„   β–ˆβ–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆ   β–ˆ β–ˆβ–„ β–„β–ˆ β–€ β–€β–ˆβ–€β–„ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ β–€β–„β–€β–ˆβ–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–„β–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO  2024-02-08T12:26:20.832 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
[ls.io-init] done.

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)

[BUG] iOS import not working

Trying to synch the iOS app through server connection but, after browsing, importing gives an error ("There were errors during the import process, check your files and/or network connectivity - error: Error retrieving comic pages, HTTP: 404") that seems to correspond to the following lines on logs:

WARN  2023-10-07T08:16:10.431 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x557971038f30), parent's thread is QThread(0x55797102e4f0), current thread is QThread(0x557971042470)
INFO  2023-10-07T08:16:27.639 YACReaderLibrary closed with exit code : 700
INFO  2023-10-07T08:16:27.662 YACReaderLibraryServer attempting to start

Expected Behavior

Sync perfectly working

Current Behavior

Sync is not working at all

Environment

**OS: Ubuntu 20.04.6 LTS

Command used to create docker container (run/create/compose/screenshot)

yacserver:
      image: xthursdayx/yacreaderlibrary-server-docker:p7zip
      container_name: yacserver
      restart: always
      networks:
         t2_proxy:
            ipv4_address: $YACSERVER_T2_IP
      security_opt:
         - no-new-privileges:true
      environment:
         PUID: $PUID
         PGID: $PGID
         TZ: $TZ
      ports:
         - "$YACSERVER_PORT:8080"
      volumes:
         - /etc/localtime:/etc/localtime:ro
         - $DOCKERDIR/yacserver/config:/config
         - $MEDIADIR/comics:/comics

Docker logs (QR code omitted)

----------------------------------------------------------
   _  __________  ____  ______  _____ ____  _____  ___  __
  | |/ /_  __/ / / / / / / __ \/ ___// __ \/   \ \/ / |/ /
  |   / / / / /_/ / / / / /_/ /\__ \/ / / / /| |\  /|   /
 /   | / / / __  / /_/ / _, _/___/ / /_/ / ___ |/ //   |
/_/|_|/_/ /_/ /_/\____/_/ |_|/____/_____/_/  |_/_//_/|_|

Brought to you by xthursdayx
----------------------------------------------------------
GID/UID
----------------------------------------------------------

User uid:    1000
User gid:    1001
-------------------------------------

[custom-init] No custom files found, skipping...
INFO  2023-10-07T08:14:57.651 YACReaderLibraryServer attempting to start
INFO  2023-10-07T08:14:57.651 ---------- System & configuration ----------
INFO  2023-10-07T08:14:57.651 OS: "Ubuntu 22.04.2 LTS" Version:  "22.04"
INFO  2023-10-07T08:14:57.651 Kernel: "linux" "5.4.0-164-generic" Architecture: "x86_64"
INFO  2023-10-07T08:14:57.652 Libraries:  QMap(("comics", QPair(1,"/comics")))
INFO  2023-10-07T08:14:57.652 --------------------------------------------
INFO  2023-10-07T08:14:57.656 YACReaderLibrary starting
INFO  2023-10-07T08:14:57.660 Running on "192.168.17.112:8080"

[ls.io-init] done.
WARN  2023-10-07T08:16:10.281 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x561578de6f30), parent's thread is QThread(0x561578ddc4f0), current thread is QThread(0x561578df0e80)
INFO  2023-10-07T08:16:10.308 YACReaderLibrary closed with exit code : 700
INFO  2023-10-07T08:16:10.368 YACReaderLibraryServer attempting to start
INFO  2023-10-07T08:16:10.368 ---------- System & configuration ----------
INFO  2023-10-07T08:16:10.368 OS: "Ubuntu 22.04.2 LTS" Version:  "22.04"
INFO  2023-10-07T08:16:10.368 Kernel: "linux" "5.4.0-164-generic" Architecture: "x86_64"
INFO  2023-10-07T08:16:10.369 Libraries:  QMap(("comics", QPair(1,"/comics")))
INFO  2023-10-07T08:16:10.369 --------------------------------------------
INFO  2023-10-07T08:16:10.369 YACReaderLibrary starting
INFO  2023-10-07T08:16:10.370 Running on "192.168.17.112:8080"


WARN  2023-10-07T08:16:10.431 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x557971038f30), parent's thread is QThread(0x55797102e4f0), current thread is QThread(0x557971042470)
INFO  2023-10-07T08:16:27.639 YACReaderLibrary closed with exit code : 700
INFO  2023-10-07T08:16:27.662 YACReaderLibraryServer attempting to start
INFO  2023-10-07T08:16:27.662 ---------- System & configuration ----------
INFO  2023-10-07T08:16:27.662 OS: "Ubuntu 22.04.2 LTS" Version:  "22.04"
INFO  2023-10-07T08:16:27.662 Kernel: "linux" "5.4.0-164-generic" Architecture: "x86_64"
INFO  2023-10-07T08:16:27.662 Libraries:  QMap(("comics", QPair(1,"/comics")))
INFO  2023-10-07T08:16:27.662 --------------------------------------------
INFO  2023-10-07T08:16:27.663 YACReaderLibrary starting
INFO  2023-10-07T08:16:27.663 Running on "192.168.17.112:8080"


WARN  2023-10-07T08:16:27.760 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x55bac1a0cf30), parent's thread is QThread(0x55bac1a024f0), current thread is QThread(0x55bac1a15530)

[BUG] YACReader not updated to latest version

I just updated the docker to latest version and YACReader is still version 9.13.1.

Expected Behavior

Android app keeps saying server needs to be upgrade to version 9.14.1 or later.

Current Behavior

Steps to Reproduce

root@hme-omvsvr:/# docker exec yacreader YACReaderLibraryServer -v
YACReaderLibraryServer 9.13.1

Screenshots

image

Environment

Command used to create docker container (run/create/compose/screenshot)

image

Docker logs

[migrations] started
[migrations] no migrations found


| |/ /_ / / / / / / / __ / // __ / \ / / |/ /
| / / / / /
/ / / / / /
/ /_
/ / / / /| |\ /| /
/ | / / / __ / // / , // / // / ___ |/ // |
/
/||// // //_
// ||//_____// |////||
Brought to you by xthursdayx

GID/UID

User uid: 998
User gid: 100

[custom-init] No custom files found, skipping...
INFO 2024-02-09T09:51:31.462 YACReaderLibraryServer attempting to start
INFO 2024-02-09T09:51:31.462 ---------- System & configuration ----------
INFO 2024-02-09T09:51:31.463 OS: "Ubuntu 22.04.2 LTS" Version: "22.04"
INFO 2024-02-09T09:51:31.463 Kernel: "linux" "6.1.0-0.deb11.13-amd64" Architecture: "x86_64"
INFO 2024-02-09T09:51:31.463 Libraries: QMap()
INFO 2024-02-09T09:51:31.463 --------------------------------------------
INFO 2024-02-09T09:51:31.463 YACReaderLibrary starting
INFO 2024-02-09T09:51:31.464 Running on "172.17.0.14:8080"

INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆ β–ˆ β–„β–„β–ˆ β–„β–„β–„β–„β–„ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆ β–ˆ β–ˆ β–€β–„β–„β–€β–ˆ β–ˆ β–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–„ β–ˆβ–„β–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆ β–ˆβ–„β–ˆβ–„β–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–€ β–ˆβ–„β–„β–ˆβ–€β–€β–€β–„β–ˆ β–ˆβ–„ β–„ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β–€β–„β–„β–ˆβ–ˆβ–„β–€β–ˆβ–„ β–„ β–€β–„β–ˆ β–„β–„ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.464 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–ˆβ–ˆβ–„β–ˆβ–„β–„ β–ˆβ–€β–€β–€β–ˆβ–„β–€ β–€ β–€β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.465 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–„β–„β–„ β–ˆβ–„β–„β–ˆβ–„β–€ β–„ β–€β–„β–€β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.465 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆ β–ˆ β–ˆβ–„β–€β–ˆ β–„β–€β–ˆβ–„β–„β–ˆ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.465 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆ β–€β–€β–€β–„β–€ β–ˆ β–„β–€ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.465 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–„β–„β–„β–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆβ–ˆβ–„β–ˆβ–ˆβ–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.465 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
INFO 2024-02-09T09:51:31.465 "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ"
[ls.io-init] done.
WARN 2024-02-09T10:45:11.593 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x562e7b556b30), parent's thread is QThread(0x562e7b54c490), current thread is QThread(0x562e7b559600)

Additional information

[BUG] 1.4.x bug `s6-rc-compile: fatal`

I'm having an issue with the latest image (sha256:9500a2ab240e174346ca1f0a8a2edd1357d24f61f39726d16609bd31f3cdc30f or sha256:8f559d28e4fdd415cd744fa421934062805a6586adfe6f89ee080f22a0815304)

The YACReader service doesn't start and the Docker logs show the following:

s6-rc-compile: fatal: during dependency resolution for service init-adduser: undefined service name init-script-check
s6-rc: fatal: unable to take locks: No such file or directory
s6-linux-init-shutdownd: warning: /run/s6/basedir/scripts/rc.shutdown exited 111
s6-rc-compile: fatal: during dependency resolution for service init-adduser: undefined service name init-script-chec

For now I've just changed my server to use xthursdayx/yacreaderlibrary-server-docker:v1.3.1 and that gets everything back to working order. Thanks!

[Discussion] alpine and more platform

Well, you are not open the discussion tab in this repo, so I can only use this way to open a discussion.

The reason why I want an alpine version is it is so small. You can check my build in DockerHub, the alpine version is just about 50 MB.

And my Dockerfile is in my repo

At the same time, for users using some headless server like raspberry pi or something same. It was nice to build an image with multi-platform support. This also can be viewed in my DockerHub, I build an image tagged as edge with 5 platform support. T

The way I archive this is using docker buildx in the GitHub workflow file.

For I'm not familiar with GitHub workflow, I think I'd better not create a PR here.

Cbr & CBZ are now unreadable

After the update my server can open PDFs but CBR & CBZ give β€œtimeout Error. Unable to connect to YACReader”

I am running UnRAID 6.9.2 and tried also updaying my library and removing re-adding.

[BUG] Missing comma in VOLUME instruction

I think a comma is missing in the VOLUME directive, so [ and ] are interpreted as volumes


Expected Behavior

Only 2 volumes detected, /config and /comics

Current Behavior

"[" and "]" appear as volumes

Steps to Reproduce

  1. launch image with provided command, inside a raspberrypi with portainer.io installed

Screenshots

Using portainer.io that's what I see
image

Environment

OS: Ubuntu 22.04
CPU architecture: arm64 (raspberry pi 4)

Command used to create docker container (run/create/compose/screenshot)

docker run -d
--name=yacreaderlibrary-server
-e PUID=1000
-e PGID=1000
-e TZ=Europe/rome
-p 8585:8080
-v /var/docker-volumes/yacreader:/config
-v /var/sync/Fumetti:/comics
--restart unless-stopped
xthursdayx/yacreaderlibrary-server-docker

[BUG] chown -R /comics is slow on networked filesystem

The command chown -R abc:abc /config /defaults /app /comics in the startup script takes a long time when there are many files in /comics, and /comics is a mounted network filesystem. Additionally, something kills this command after 5 minutes, causing a restart loop


Expected Behavior

Container should start successfully.

Current Behavior

I am deploying this container using the TrueCharts chart on TrueNAS SCALE. /comics is an NFS mount to localhost, due to limitations in SCALE. There are ~10k files in /comics.

Today, I noticed the yacreaderlibraryserver app was not starting successfully. Shelling into the container, I found the chown process running for several minutes. strace showed it was chowning every file in /comics, even if the ownership was correct. Additionally, strace showed the process was killed after 5 minutes, and a new chown process was started.

After deleting some files in /comics, yacreaderlibraryserver started successfully.

Steps to Reproduce

  1. Create a comics directory with many files on a network drive.
  2. Start container with network drive mounted on /comics.
  3. Shell into container and observe that chown is running for several minutes.
  4. Observe that chown is killed after 5 minutes and YACReaderLibraryServer does not start.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

OS: TrueNAS SCALE
CPU architecture: x86_64

Command used to create docker container (run/create/compose/screenshot)

Docker logs

Additional information

It might be faster to do find . -not \( -user abc -and -group abc \) -exec chown abc:abc {} +

[BUG] libQt5Core.so.5: cannot open shared object file

Expected Behavior

Expected to interact with YACReaderLibraryServer and be able to see something when opening the exposed port in a browser.

Current Behavior

Nothing happens. There's an error while loading shared libaries.

Steps to Reproduce

  1. Add service to compose.yml
  2. docker compose up -d
  3. Try to open :8100
  4. Any YACReaderLibraryServer <command> returns same error

Environment

I'm using a Synology DS716+II with DSM 7.1.1 and supported Docker package installed:

> uname -a
Linux Siriology 3.10.108 #42962 SMP Mon May 29 14:35:41 CST 2023 x86_64 GNU/Linux synology_braswell_716+II
> docker version
Client:
 Version:           20.10.3
 API version:       1.41
 Go version:        go1.17.1
 Git commit:        55f0773
 Built:             Thu Jul 21 10:23:46 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.3
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.1
  Git commit:       b487c8f
  Built:            Thu Jul 21 10:21:56 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.4.3
  GitCommit:        3fa00912415f3e9c6f82dd72119179d599efd13b
 runc:
  Version:          v1.0.0-rc93
  GitCommit:        31cc25f16f5eba4d0f53e35374532873744f4b31
 docker-init:
  Version:          0.19.0
  GitCommit:        ed96d00

Command used to create docker container (run/create/compose/screenshot)

  yacreaderlibrary-server:
    image: xthursdayx/yacreaderlibrary-server-docker:p7zip
    container_name: yaclibrary
    environment:
      - PUID=1030
      - PGID=100
      - TZ=Atlantic/Azores
    volumes:
      - ./yaclibrary:/config
      - /volume1/comics:/comics
    ports:
      - 8100:8080
    restart: always

I tried with :unarr first, but same issue.

REPOSITORY                                  TAG              IMAGE ID       CREATED         SIZE
xthursdayx/yacreaderlibrary-server-docker   p7zip            e2f08a156e09   2 months ago    799MB
xthursdayx/yacreaderlibrary-server-docker   unarr            17ed95ca6b60   2 months ago    584MB

Docker logs

[migrations] started
[migrations] no migrations found

----------------------------------------------------------
   _  __________  ____  ______  _____ ____  _____  ___  __
  | |/ /_  __/ / / / / / / __ \/ ___// __ \/   \ \/ / |/ /
  |   / / / / /_/ / / / / /_/ /\__ \/ / / / /| |\  /|   /
 /   | / / / __  / /_/ / _, _/___/ / /_/ / ___ |/ //   |
/_/|_|/_/ /_/ /_/\____/_/ |_|/____/_____/_/  |_/_//_/|_|

Brought to you by xthursdayx
----------------------------------------------------------
GID/UID
----------------------------------------------------------

User uid:    1030
User gid:    100
-------------------------------------

[custom-init] No custom files found, skipping...
YACReaderLibraryServer: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
YACReaderLibraryServer: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
YACReaderLibraryServer: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
YACReaderLibraryServer: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
YACReaderLibraryServer: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

"pzip" branch not found

Using Unraid, via Community Apps, my choice of branches is 'Default', 'latest', or 'pzip'. I chose 'pzip', but creation fails with "manifest for xthursdayx/yacreaderlibrary-server-docker:pzip not found: manifest unknown: manifest unknown." This should probably be 'p7zip', no?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.