Skip to content
YACReader
Help and support for Linux users.

How 2 create a YACReader Server on Synology NAS

More
4 years 2 months ago - 1 year 6 months ago #6951 by Renns
OFFICIAL UPDATE:

- Use the official container (check the documentation please)
hub.docker.com/repository/docker/yacread...ibraryserver/general

- Make sure you set the right PUID and PGID value to ensure that the Docker container has read/write access to the folder where you are placing the library.

- I strongly suggest to set the /config volume so your configuration is persisted, otherwise you'll lose the configuration if you update the image




Here is what I did to install YAC Reader Library Server on my Synology NAS (DS418play):


Step 1 - Install Docker

You must first install Docker on your Synology NAS.
www.synology.com/en-ca/dsm/packages/Docker

If your Synology model does not officially support Docker, you can side-load it by downloading the spk here (as of 2022-08-03 the latest version is Docker-x64-20.10.3-1306.spk):
archive.synology.com/download/Package/Docker


Step 2 - Install the YAC Reader Library Server Container

In Synology DSM, open the Docker package that you installed in step 1, then select Registry in the side-menu and search for the term "YACReaderLibrary". There will be several results. I used this one: "Mullion/yacreaderlibrary-server-docker"

Double-click it to download the image, then select Image in the Docker side-menu and you should see it listed there (you may have to wait for it to finish downloading).

Double-click the image to install the container, then follow these steps:

a) Network: Specify the network for this container. I selected "Use the same network as Docker Host". Click Next.

b) General Settings: I enabled auto-restart. Click Next.

c) Volume Settings: Click Add Folder then navigate to your comic library and select it. For the mount path I used "/comics". Click Next.

d) Summary: Click Done.


Step 3 - Set up YAC Reader Library Server

Select Container in the Docker side-menu, then double-click on the container we just installed to view its details. Click on Terminal, then Create to add a bash terminal. Click bash in the side menu, then enter the following commands in the terminal as needed:

Create a new library:

YACReaderLibraryServer create-library LibraryName /comics

Refresh your library (do this after adding/removing comics):

YACReaderLibraryServer update-library /comics

List all existing YACReader libraries:

YACReaderLibraryServer list-libraries

Remove a library:

YACReaderLibraryServer remove-library LibraryName

Legend:
LibraryName = whichever name you give your library.
/comics = this is the "mount path" that we designated in step 2c.

These steps worked for me. Good luck!
Last edit: 1 year 6 months ago by Luis Ángel.
The following user(s) said Thank You: Luis Ángel, Kieferp5, YAC YAC iOS

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

More
4 years 2 months ago #6952 by Luis Ángel
Replied by Luis Ángel on topic How 2 create a YACReader Server on Synology NAS
Thanks for sharing the tutorial Renns!!

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.

More
4 years 1 month ago #6956 by danhackley
Replied by danhackley on topic How 2 create a YACReader Server on Synology NAS
Thanks Renns. I tried those terminal commands, though after hitting return, nothing seems to happen - it just seems to move onto the next line instead of executing the command?

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

More
4 years 1 month ago #6957 by Renns
Hmm… were you in the default “muallin-yacreaderlibrary-server-docker1” terminal, or the “bash” terminal? I was getting the same response as you (nothing happened) in the blank default terminal, but when I clicked “create” to add a second terminal and then clicked on “bash” to open it, that new terminal opened with the following line:
Code:
root@muallin-yacreaderlibrary-server-docker1:/sec/git#
I then entered my commands in that terminal and they worked.

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

More
4 years 1 month ago #6998 by Martínez Yriarte
Replied by Martínez Yriarte on topic How 2 create a YACReader Server on Synology NAS
Thank you very much.
It works.

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

More
4 years 1 month ago #7028 by playblue
I followed Renns' tutorial to set up the library server in my Synology NAS via Docker.
The library has been created but I have nothing when I go to http://local-ip-nas:8080 in the YACReader iPadOS app or in the browser.

Any help?

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

More
4 years 1 month ago #7032 by playblue
Ok I found the issue. I had to enable the port 8080 for local IP addresses in the firewall rules.
The following user(s) said Thank You: Renns

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

More
4 years 2 weeks ago #7106 by Kieferp5
This worked flawlessly!! Thank you
The following user(s) said Thank You: Renns

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

More
3 years 11 months ago #7195 by stabary
If you are interested into upgrading your docker with a 9.9.2 version of the YACReaderLibrary headless server, you can follow the excellent tutorial from Renns above but use wehartgames/yacreaderlibraryserver from the docker hub instead of the muallin one.

Enjoy
ST

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

More
3 years 11 months ago #7209 by fobboy
I'm kind of new to this, but how did you enable the port? Was it under Docker, Synology, Router?

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!