Skip to content
YACReader
Help and support for Linux users.

YacReaderLibraryServer dockerized

  • josetesan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #2634 by josetesan
YacReaderLibraryServer dockerized was created by josetesan
Hello everyone :-)

Based on the Raspberry PI headless server post time ago, i did create an easy way to have your own Headless LibraryServer on any machine, provided it supports Docker.


All you need to do is :
Code:
docker pull muallin/yacreaderlibrary-server-docker

You can have more information on here :

My official docker repository

Feel free to point me for more information, as it's my fist official docker image.
The following user(s) said Thank You: Jamyz

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

More
9 years 10 months ago #2636 by Clay
Replied by Clay on topic YacReaderLibraryServer dockerized
Thanks! This will be my first docker use as well :D

In the instructions, what am I supposed to replace <port> with?

docker run -d -p <port>:8080 -v <comics folder>:/comics --name=yacserver muallin/yacreaderlibrary-server-docker

Is that actually supposed to be the ip to bind to?

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

  • josetesan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #2637 by josetesan
Replied by josetesan on topic YacReaderLibraryServer dockerized
Is your desired port to which you'll access the server.
Can be any number provided is not already used
and you have the privileges to use.

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

More
9 years 10 months ago #2638 by Clay
Replied by Clay on topic YacReaderLibraryServer dockerized
ok sorry about the dumb questions here, this is my first use of Docker and YACReaderLibrary :D

didn't realize the format of the docker startup commands were mapping local system:docker image



I started this thing up and try to create a library
Code:
clay@barbarossa:~$ sudo -u media docker exec yacserver YACReaderLibraryServer create-library Comics /comics [sudo] password for clay: QSqlQuery::exec: database not open QSqlQuery::prepare: database not open QSqlQuery::prepare: database not open QSqlQuery::prepare: database not open QSqlQuery::prepare: database not open QSqlQuery::exec: database not open QSqlQuery::exec: database not open Processing comics Error creating library! out of memory-Error opening databaseDone!

Any idea what would cause this?

Thanks for the help!

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

  • josetesan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #2639 by josetesan
Replied by josetesan on topic YacReaderLibraryServer dockerized
i Have 35Gb on comics, and never got that message.

How many data do you have ? or how much memory does your system have ?

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

More
9 years 10 months ago #2640 by Clay
Replied by Clay on topic YacReaderLibraryServer dockerized
it's not even created! there are no comics :D

i ran the docker image, then can the create-library command, and that's what I got.

docker stats says:
Code:
CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 1a6a69169f08 0.01% 28.62 MiB / 1.951 GiB 1.43% 2.55 kB / 648 B 53.1 MB / 49.2 kB 1


Should I be creating the library via the desktop YACReaderLibrary app and then point YACReaderLibraryServer @ that library's directory?

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

More
9 years 10 months ago #2641 by Clay
Replied by Clay on topic YacReaderLibraryServer dockerized
it should be noted that I've never used YACReader or Docker before today - so it's entirely possible I'm doing something incredibly dumb, so please treat me like an idiot :D

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

More
9 years 10 months ago #2656 by selmf
Replied by selmf on topic YacReaderLibraryServer dockerized
We've done some minor changes to the build system for the unarr backend used to process the comic file archives in YACReaderLibraryServer. This takes care of the issue of the Types.h/7zTypes.h file, removes unnecessary debug messages and also adds compiler flags necessary for very large files on unix and enables additional compile-time optimization.

Let me know if you hit any issues ;)

My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The following user(s) said Thank You: Clay

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

More
9 years 10 months ago #2658 by Clay
Replied by Clay on topic YacReaderLibraryServer dockerized
I believe I got it working by re-using an existing library notepad of creating a new one.

Is there anything required to update the docker image? Again, pardon my ignorance.

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

More
9 years 10 months ago #2659 by selmf
Replied by selmf on topic YacReaderLibraryServer dockerized
Josetesan will have to rebuild the image before you can get the updated version. It shouldn't require any updates to his build process for the image other than getting the newest source code.

Btw, Josetesan - thanks a ton for doing this Docker build. It has been requested more than once but I simple don't have the time to do this stuff and take care of development and Linux package deployment, so the help is greatly appreciated ;)

My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The following user(s) said Thank You: josetesan

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!