Welcome to the forum, Guest

TOPIC: How 2 create a YACReader Server using Docker + NAS

How 2 create a YACReader Server using Docker + NAS 6 months 4 weeks ago #5182

lgottschald

Offline

Fresh Boarder

Posts: 3

Thank you received: 2

Karma: 0

Hi,

I am posting a step by step guide to use YACReader Server using docker.

My setup is a Qnap NAS using Container Station.



Click Create and type yacreaderlibrary in the search:



Click to install and after that, you will this result:



Click Create again and you will see a new window:



Here you will type the name of your library (mine was called Gammenon), set the CPU and Memory Limit.

After that, click in advanced settings.

Select Network and select the port, if you don't, docker selects one randomly.



Last step in the advanced settings will be Shared Folders.



Click add in Volume from Host/Mount Point and Select your Comics folder. In my case, Data/HQs. Type /comics in mount point. Click Create and confirm.

You will see the container running:



If you click in the server's name, you will be able to check all information about the container:



Click in the button Terminal to set a command, adding your library:

YACReaderLibraryServer add-library Gammenon /comics [/b]

- You can put any name, I choose Gammenon. And /comics was the folder name selected when we created and configured the container.



After that click in the link URL:



And you will access your brand new server showing your comics library, just like this:



I hope this guide can help you guys. :)
The administrator has disabled public write access.
The following user(s) said Thank You: Luis Ángel, Dampfisten

How 2 create a YACReader Server using Docker + NAS 6 months 3 weeks ago #5186

Luis Ángel

Offline

Administrator

Posts: 1562

Thank you received: 334

Karma: 30

I am pinning this, thanks for the tutorial, I am sure lots of users will find it useful.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: t.ly/ODFV
The administrator has disabled public write access.
The following user(s) said Thank You: lgottschald

How 2 create a YACReader Server using Docker + NAS 6 months 3 weeks ago #5214

prizm

Offline

Fresh Boarder

Posts: 6

Karma: 0

I'm using docker on a Synology NAS, but is there a (correct) way to set server to auto update/refresh the library when new comics are added? Thanks.
The administrator has disabled public write access.

How 2 create a YACReader Server using Docker + NAS 6 months 3 weeks ago #5216

Luis Ángel

Offline

Administrator

Posts: 1562

Thank you received: 334

Karma: 30

Not yet, but I am sure you can automate the process using a script.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: t.ly/ODFV
The administrator has disabled public write access.

How 2 create a YACReader Server using Docker + NAS 6 months 2 weeks ago #5224

Dampfisten

Offline

Fresh Boarder

Posts: 2

Thank you received: 1

Karma: 1

Hi @lgottschald,

Thanks for the guide.

I'm running a QNAP and managed to create the container per your instructions, however when it comes time to run the command in Terminal;

YACReaderLibraryServer add-library Comics /comics

I'm receiving an error;

Process exited with code 0

And it boots me a black screen displaying "No library database found in directory."

Do you have any advice as to what I'm doing wrong / how to proceed?

Thanks in advance.
The administrator has disabled public write access.
The following user(s) said Thank You: lgottschald

Help needed re: YACReader Server using Docker + NA 6 months 2 weeks ago #5226

Dampfisten

Offline

Fresh Boarder

Posts: 2

Thank you received: 1

Karma: 1

Hi @lgottschald,

Thanks for the guide - "How 2 create a YACReader Server using Docker + NAS"

Edit:

Okay, progress! I recreated the Docker container - turns out the the container marked "Latest" was actually v9.5 and I reinstalled using the one marked v9.6.

I was able to create a library once using the current version :)

Problem now is - I've got a library, but don't know how to add any .cbr's to it... Is there clear instruction anywhere?
Last Edit: 6 months 2 weeks ago by Dampfisten.
The administrator has disabled public write access.

Help needed re: YACReader Server using Docker + NA 6 months 2 weeks ago #5234

lgottschald

Offline

Fresh Boarder

Posts: 3

Thank you received: 2

Karma: 0

Dampfisten wrote:
Hi @lgottschald,

Problem now is - I've got a library, but don't know how to add any .cbr's to it... Is there clear instruction anywhere?

Hi,

I forgot to mention that you can use your windows/macOS to install the YACReader Server and create the library first. After that, export and create the .ydb file. When you re-create the container and re-type the command : YACReaderLibraryServer add-library Gammenon /comics will add the library, if you try without a library, won't show anything. I remembered when Luis explained the difference between add-library and create-library. Add-library is to add an existent library ( .ybr ) and create-library is to create a brand new library and scan all the cbr/cbz/pdf and as he said it's better use our PC to do that, would be faster than our Pi/NAS.

about this problem:

// I'm running a QNAP and managed to create the container per your instructions, however when it comes time to run the command in Terminal;

YACReaderLibraryServer add-library Comics /comics

I'm receiving an error;

Process exited with code 0

And it boots me a black screen displaying "No library database found in directory."

Do you have any advice as to what I'm doing wrong / how to proceed? //


Code 0 is success. The syntax was correct, the command was sent and return 0, means no error.
but the YACReader Server returned an error: no library database found because you didn't created a library, as I explained before, add-library, adds a existent library, create-library, creates a new one but if you have tons of comics, will take hours/days to scan all of them. Just install the windows/linux/macOS version, open, create the library, export to create the ydb and try again the command add-library.

about the refresh/add new comics, I didn't add any new comics yet but if it's too complex, I will just open my windows version of YACReader Server, scan again ( he just add the new comics ) and export again the new ydb file. it's like 2 min to open the server, put to scan, export the ydb, restart the container and type the command.

I will try to find if there is way to recreate the container with the command add-library executing automatically, don't know if is possible.

If you need more help let me know.

[]'s
The administrator has disabled public write access.
Powered by Kunena Forum