Skip to content
YACReader
Help and support for Linux users.

YAC Reader Server - Synology .. almost works ?

  • NullMind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #9378 by NullMind
I have setup the official docker image in my Synology

I ran the command to add comics (put 3 files to test)

root@YAC_Reader_Server:/comics# YACReaderLibraryServer create-library MyComics /c
omics
Processing comics...Done!
Number of comics processed = 3


I then go to myip:8080

And works, I see the server

Libraries
-
MyComics

But when I click on MyComics .. nothing happens, I assumed it should show me those 3 comics but doesn't do anything

MyComics is linking to

http://192.168.2.40:8080/library/1/folder/1

What can I be doing wrong ?

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #9380 by Luis Ángel
Replied by Luis Ángel on topic YAC Reader Server - Synology .. almost works ?
You should share the configuration of your docker container.

e.g.
Code:
--- version: "3" services: yacreaderlibraryserver: container_name: YACReaderLibraryServer image: yacreader/yacreaderlibraryserver:[develop|latest] environment: - PUID=99 - PGID=100 - TZ=Europe/Madrid volumes: - /path/to/config:/config - /path/to/comics:/comics ports: - 9999:8080 restart: unless-stopped

And also any log messages
Code:
2025-03-15 08:15:55 ---------------------------------------------------------- 2025-03-15 08:15:55 __ __ _____ _____ _ 2025-03-15 08:15:55 \ \ / //\ / ____| __ \ | | 2025-03-15 08:15:55 \ \_/ // \ | | | |__) |___ __ _ __| | ___ _ __ 2025-03-15 08:15:55 \ // /\ \| | | _ // _ \/ _` |/ _` |/ _ \ __| 2025-03-15 08:15:55 | |/ ____ \ |____| | \ \ __/ (_| | (_| | __/ | 2025-03-15 08:15:55 |_/_/ \_\_____|_| \_\___|\__,_|\__,_|\___|_| 2025-03-15 08:15:55 2025-03-15 08:15:55 ---------------------------------------------------------- 2025-03-15 08:15:55 GID/UID 2025-03-15 08:15:55 ---------------------------------------------------------- 2025-03-15 08:15:55 2025-03-15 08:15:55 User uid: 911 2025-03-15 08:15:55 User gid: 911 2025-03-15 08:15:55 ------------------------------------- 2025-03-15 08:15:55 2025-03-15 08:16:20 [custom-init] No custom files found, skipping... 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.513 YACReaderLibraryServer attempting to start 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.513 ---------- System & configuration ---------- 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "SYSTEM INFORMATION" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "Qt version: 6.4.2" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "Build ABI: x86_64-little_endian-lp64" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "build CPU architecture: x86_64" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "CPU architecture: x86_64" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "Kernel type: linux" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "Kernel version: 5.15.167.4-microsoft-standard-WSL2" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "Product info: Ubuntu 24.04.1 LTS" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "APP INFORMATION" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "Image formats supported: bmp, cur, gif, icns, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, tga, tif, tiff, wbmp, webp, xbm, xpm" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "SQLite driver available: yes" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "Compression backend: 7zip" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "PDF support: Poppler" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 "" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.520 Libraries: QList("MyComics [1, ffc0ade0-3e49-4248-9287-c090c1a098f9, /comics]") 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.521 -------------------------------------------- 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.522 YACReaderLibrary starting 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 Running on "172.17.0.5:8080" 2025-03-15 08:16:20 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "███████████████████████████████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "███████████████████████████████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████ ▄▄▄▄▄ ██▄▄▀ █ ▄▄▄▄▄ █████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████ █ █ █▀▄██ █ █ █ █████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████ █▄▄▄█ █▀█ ▄▄█ █▄▄▄█ █████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████▄▄▄▄▄▄▄█ █ █ █▄▄▄▄▄▄▄█████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████▀ █▀█▄▀▀ ▀█ ▀▄████████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "██████▀ ▄▀▀▄▀▀█▄▄ ▄ ▀▀█▄▀ █████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "████████▄▄▄▄█▀▄▀ ▄▄█ ▄ ▄▄█████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████ ▄▄▄▄▄ ██▄ ▄ ▄▄▀ ▄▄ ▀█████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████ █ █ ███ ▄█▄█▀▄ █▄█████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████ █▄▄▄█ █ ██▄▄▄▄ █▄▄ █████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "█████▄▄▄▄▄▄▄██▄█▄▄▄▄▄███▄▄█████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "███████████████████████████████" 2025-03-15 08:16:20 INFO 2025-03-15T07:16:20.526 "███████████████████████████████" 2025-03-15 08:16:21 Connection to localhost (::1) 8080 port [tcp/*] succeeded! 2025-03-15 08:16:21 [ls.io-init] done.

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.

  • NullMind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #9381 by NullMind
Replied by NullMind on topic YAC Reader Server - Synology .. almost works ?
Here is the log
Code:
2025/03/15 13:27:15 stdout ls 2025/03/15 13:27:04 stdout (Parent is RequestMapper(0x5634642808e0), parent's thread is QThread(0x56346427b4c0), current thread is QThread(0x563464281930) 2025/03/15 13:27:04 stdout WARN 2025-03-15T14:27:04.249 QObject: Cannot create children for a parent that is in a different thread. 2025/03/15 13:26:51 stdout [ls.io-init] done. 2025/03/15 13:26:51 stdout Connection to localhost (::1) 8080 port [tcp/*] succeeded! 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 2 more network interfaces detected 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "███████████████████████████████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "███████████████████████████████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████▄▄▄▄▄▄▄█▄▄▄▄▄█▄▄██▄█▄█████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ █▄▄▄█ █▄█▄▀▄▀▄▀██ ▀ █████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ █ █ █▄▄▀▀▄ ▄█▄█ ▀██████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ ▄▄▄▄▄ ███▀▀▄ █▀█▀▄▀██████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "███████▄▄█▄▄▄ ▀▄ █▄ ▄▀ ▀▄█████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ ▀▄ ▀█▄█▀██ ▀▀▀▀▄ ▄▄ █████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ █▄▀▄█▄▀█▄█▀▄███▄▀█ ▀█████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████▄▄▄▄▄▄▄█▄█▄█▄█▄▄▄▄▄▄▄█████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ █▄▄▄█ █▄▀█ ▄█ █▄▄▄█ █████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ █ █ ██▄ ▀██ █ █ █████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "█████ ▄▄▄▄▄ █▀ ▀ ██ ▄▄▄▄▄ █████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "███████████████████████████████" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.533 "███████████████████████████████" 2025/03/15 13:26:50 stdout 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.532 Running on "192.168.2.40:8080" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.525 YACReaderLibrary starting 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 -------------------------------------------- 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 Libraries: QList() 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "PDF support: Poppler" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "Compression backend: 7zip" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "SQLite driver available: yes" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "Image formats supported: bmp, cur, gif, icns, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, tga, tif, tiff, wbmp, webp, xbm, xpm" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "APP INFORMATION" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "Product info: Ubuntu 24.04.1 LTS" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "Kernel version: 4.4.302+" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "Kernel type: linux" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "CPU architecture: x86_64" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "build CPU architecture: x86_64" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "Build ABI: x86_64-little_endian-lp64" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "Qt version: 6.4.2" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.523 "SYSTEM INFORMATION" 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.515 ---------- System & configuration ---------- 2025/03/15 13:26:50 stdout INFO 2025-03-15T14:26:50.515 YACReaderLibraryServer attempting to start 2025/03/15 13:26:50 stdout [custom-init] No custom files found, skipping... 2025/03/15 13:26:50 stdout 2025/03/15 13:26:50 stdout ------------------------------------- 2025/03/15 13:26:50 stdout User gid: 911 2025/03/15 13:26:50 stdout User uid: 911 2025/03/15 13:26:50 stdout 2025/03/15 13:26:50 stdout ---------------------------------------------------------- 2025/03/15 13:26:50 stdout GID/UID 2025/03/15 13:26:50 stdout ---------------------------------------------------------- 2025/03/15 13:26:50 stdout 2025/03/15 13:26:50 stdout |_/_/ \_\_____|_| \_\___|\__,_|\__,_|\___|_| 2025/03/15 13:26:50 stdout | |/ ____ \ |____| | \ \ __/ (_| | (_| | __/ | 2025/03/15 13:26:50 stdout \ // /\ \| | | _ // _ \/ _` |/ _` |/ _ \ __| 2025/03/15 13:26:50 stdout \ \_/ // \ | | | |__) |___ __ _ __| | ___ _ __ 2025/03/15 13:26:50 stdout \ \ / //\ / ____| __ \ | | 2025/03/15 13:26:50 stdout __ __ _____ _____ _ 2025/03/15 13:26:50 stdout ---------------------------------------------------------- 2025/03/15 13:26:50 stdout 2025/03/15 13:26:50 stdout usermod: no changes 2025/03/15 13:26:50 stdout [migrations] no migrations found 2025/03/15 13:26:50 stdout [migrations] started

and configuration, not sure if this is the right one, I am using Synology container management
Code:
{ "CapAdd" : [], "CapDrop" : [], "cmd" : "", "cpu_priority" : 50, "enable_publish_all_ports" : false, "enable_restart_policy" : true, "enable_service_portal" : false, "enabled" : true, "env_variables" : [ { "key" : "PATH", "value" : "/app/bin:/lsiopy/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" : "S6_CMD_WAIT_FOR_SERVICES_MAXTIME", "value" : "0" }, { "key" : "S6_VERBOSITY", "value" : "1" }, { "key" : "S6_STAGE2_HOOK", "value" : "/docker-mods" }, { "key" : "VIRTUAL_ENV", "value" : "/lsiopy" }, { "key" : "APPNAME", "value" : "YACReaderLibraryServer" }, { "key" : "LC_ALL", "value" : "en_US.UTF-8" } ], "exporting" : false, "id" : "b86a6f172161061a39df5d38773d1124f94cf8d184fa281cd47aedc41f6167cf", "image" : "yacreader/yacreaderlibraryserver:latest", "is_ddsm" : false, "is_package" : false, "labels" : { "build_version" : "Linuxserver.io version:- f53cdef0-ls24 Build-date:- 2024-12-29T17:25:19+00:00", "maintainer" : "luisangelsm", "org.opencontainers.image.authors" : "linuxserver.io", "org.opencontainers.image.created" : "2024-12-29T17:25:19+00:00", "org.opencontainers.image.description" : "baseimage-ubuntu image by linuxserver.io", "org.opencontainers.image.documentation" : "https://docs.linuxserver.io/images/docker-baseimage-ubuntu", "org.opencontainers.image.licenses" : "GPL-3.0-only", "org.opencontainers.image.ref.name" : "b30fb6f1d8cab4207f813c50d39f8e5744411493", "org.opencontainers.image.revision" : "b30fb6f1d8cab4207f813c50d39f8e5744411493", "org.opencontainers.image.source" : "https://github.com/linuxserver/docker-baseimage-ubuntu", "org.opencontainers.image.title" : "Baseimage-ubuntu", "org.opencontainers.image.url" : "https://github.com/linuxserver/docker-baseimage-ubuntu/packages", "org.opencontainers.image.vendor" : "linuxserver.io", "org.opencontainers.image.version" : "f53cdef0-ls24" }, "links" : [], "memory_limit" : 2147483648, "name" : "yacreader-yacreaderlibraryserver-1", "network" : [ { "driver" : "host", "name" : "host" } ], "network_mode" : "host", "port_bindings" : [], "privileged" : false, "service_portals" : [], "shortcut" : { "enable_shortcut" : false, "enable_status_page" : false, "enable_web_page" : false, "web_page_url" : "" }, "use_host_network" : true, "version" : 2, "volume_bindings" : [ { "host_volume_file" : "/Comics", "is_directory" : true, "mount_point" : "/comics", "type" : "rw" } ] }

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #9382 by Luis Ángel
Replied by Luis Ángel on topic YAC Reader Server - Synology .. almost works ?
is this the full path in the host?

"host_volume_file" : "/Comics",

You can also try the bridge network mode, I would say it’s always best to use that mode. Then you need to use the ip of the NAS and the mapped port, in my example the port would be 9999

ports:
- 9999:8080

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.

  • NullMind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #9383 by NullMind
Replied by NullMind on topic YAC Reader Server - Synology .. almost works ?

Luis Ángel wrote: is this the full path in the host?

"host_volume_file" : "/Comics",

You can also try the bridge network mode, I would say it’s always best to use that mode. Then you need to use the ip of the NAS and the mapped port, in my example the port would be 9999

ports:
- 9999:8080


I select the path using Synology's container manager, the path is indeed /Comics

I tried the bridge network, with port 9999

It works, but again, I select the MyComics folders and wont show me the content comics I put there, maybe there is a problem with the path somewhere ?

it is trying to access http://192.168.2.40:9999/library/1/folder/1

but it refreshes back to http://192.168.2.40:9999 when I click it.

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #9384 by Luis Ángel
Replied by Luis Ángel on topic YAC Reader Server - Synology .. almost works ?
what do you see in the server logs when the connection is reseted?

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.

  • NullMind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #9385 by NullMind
Replied by NullMind on topic YAC Reader Server - Synology .. almost works ?
what log should I be looking for ? I cant find a way to run docker commands as I am using the Synology UI, is that a log I can see inside the container ? the log for the container that sinology shows doesn't show anything after the container starts

Please Log in or Create an account to join the conversation.

  • NullMind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #9386 by NullMind
Replied by NullMind on topic YAC Reader Server - Synology .. almost works ?
is this relevant at all ?
Code:
root@YAC-Reader-Library:~/.local/share/YACReader/YACReaderLibrary# tail yacreader library.log INFO 2025-03-15T23:15:50.610 "█████ ▄▄▄▄▄ ██▄ █▀███▄ █▀ █████" INFO 2025-03-15T23:15:50.610 "█████ █ █ █▄▄ █ ▀ █▀▄▀ █████" INFO 2025-03-15T23:15:50.610 "█████ █▄▄▄█ █▀▄▄ ███▄▄▀██▀█████" INFO 2025-03-15T23:15:50.610 "█████▄▄▄▄▄▄▄██▄▄█▄▄▄█▄▄█▄▄█████" INFO 2025-03-15T23:15:50.610 "███████████████████████████████" INFO 2025-03-15T23:15:50.610 "███████████████████████████████" WARN 2025-03-15T23:16:13.716 QObject: Cannot create children for a parent that i s in a different thread. (Parent is RequestMapper(0x55c141a789c0), parent's thread is QThread(0x55c141a734 c0), current thread is QThread(0x55c141a79870) WARN 2025-03-15T23:49:14.118 QObject: Cannot create children for a parent that i s in a different thread. (Parent is RequestMapper(0x55c141a789c0), parent's thread is QThread(0x55c141a734 c0), current thread is QThread(0x55c141a79870)

Please Log in or Create an account to join the conversation.

  • NullMind
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago #9387 by NullMind
Replied by NullMind on topic YAC Reader Server - Synology .. almost works ?
ok, 2 oddities

if I use the docker image:

richardbristow-**yacreader

and I do the same command as I do in the official docker image

YACReaderLibraryServer create-library MyComics /comics/

I am able to click on the "MyComics" link and see the comics

But 2 issues

I would prefer to use the official and up to date image, and when I click on a comic on a browser, I cant read it, I just get text such as
Code:
library:Comics libraryId:1 nextComic:19 comicid:21 hash:91230841e1ead5d8688abcaab0ae9c0f7ada1ec024898804 path:/04- Asterix The Gladiator.pdf numpages:48 rating:0 currentPage:8 contrast:-1 read:0 coverPage:1 manga:0 lastTimeOpened:1742089339

If I open it on the iPhone app I can read it

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #9388 by Luis Ángel
Replied by Luis Ángel on topic YAC Reader Server - Synology .. almost works ?
The web is a legacy system that was used by the iOS app years ago, it never had a reader, so you should use the iOS or Android apps for connecting to the server.

I can use the official docker image without issues, I wonder if the problem is the PUID and PGID values (or if they are missing in your case).

I suspect this is a permisions problem.

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.

Moderators: Luis Ángel
Powered by Kunena Forum

Thanks for downloading YACReader!

Your download is starting.

YACReader for iOS and Android

Connect to YACReaderLibrary to browse, read remotely and import comics. Your reading progress is synchronized across devices.

Download on the App Store Get it on Google Play Available at Amazon Appstore

Discover all the features on the iOS and Android pages, and learn how to use them in the iOS and Android user guides.

Support YACReader

YACReader for desktop and server is free to use, but it is not free to develop: maintaining this website, developer programs, code signing certificates, test devices and, of course, all the time it takes. Less than 0.01% of downloads end in a donation, so any amount counts.

By supporting the project you help keep it regularly updated and, most importantly, alive. Thanks!