Welcome to the forum, Guest

TOPIC: YacReaderLibraryServer dockerized

YacReaderLibraryServer dockerized 7 years 5 months ago #2634

josetesan

Offline

Fresh Boarder

Posts: 5

Thank you received: 2

Karma: 0

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 :
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 administrator has disabled public write access.
The following user(s) said Thank You: Jamyz

YacReaderLibraryServer dockerized 7 years 4 months ago #2636

Clay

Offline

Fresh Boarder

Posts: 12

Thank you received: 2

Karma: 0

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?
The administrator has disabled public write access.

YacReaderLibraryServer dockerized 7 years 4 months ago #2637

josetesan

Offline

Fresh Boarder

Posts: 5

Thank you received: 2

Karma: 0

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.
The administrator has disabled public write access.

YacReaderLibraryServer dockerized 7 years 4 months ago #2638

Clay

Offline

Fresh Boarder

Posts: 12

Thank you received: 2

Karma: 0

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
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!
The administrator has disabled public write access.

YacReaderLibraryServer dockerized 7 years 4 months ago #2639

josetesan

Offline

Fresh Boarder

Posts: 5

Thank you received: 2

Karma: 0

i Have 35Gb on comics, and never got that message.

How many data do you have ? or how much memory does your system have ?
The administrator has disabled public write access.

YacReaderLibraryServer dockerized 7 years 4 months ago #2640

Clay

Offline

Fresh Boarder

Posts: 12

Thank you received: 2

Karma: 0

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:
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?
The administrator has disabled public write access.

YacReaderLibraryServer dockerized 7 years 4 months ago #2641

Clay

Offline

Fresh Boarder

Posts: 12

Thank you received: 2

Karma: 0

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
The administrator has disabled public write access.

YacReaderLibraryServer dockerized 7 years 4 months ago #2656

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

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 administrator has disabled public write access.
The following user(s) said Thank You: Clay

YacReaderLibraryServer dockerized 7 years 4 months ago #2658

Clay

Offline

Fresh Boarder

Posts: 12

Thank you received: 2

Karma: 0

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.
The administrator has disabled public write access.

YacReaderLibraryServer dockerized 7 years 4 months ago #2659

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

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 administrator has disabled public write access.
The following user(s) said Thank You: josetesan
Powered by Kunena Forum