- Posts: 5
- Thank you received: 2
Help and support for Linux users.
YacReaderLibraryServer dockerized
- josetesan
- Topic Author
- Offline
- New Member
-
Less
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 :
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.
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.
- Clay
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 2
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 
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?
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
-
Less
More
- Posts: 5
- Thank you received: 2
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.
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.
- Clay
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 2
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 
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
Any idea what would cause this?
Thanks for the help!
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
-
Less
More
- Posts: 5
- Thank you received: 2
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 ?
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.
- Clay
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 2
9 years 10 months ago #2640
by Clay
Replied by Clay on topic YacReaderLibraryServer dockerized
it's not even created! there are no comics 
i ran the docker image, then can the create-library command, and that's what I got.
docker stats says:
Should I be creating the library via the desktop YACReaderLibrary app and then point YACReaderLibraryServer @ that library's directory?
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.
- Clay
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 2
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
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
9 years 10 months ago #2656
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
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
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.
- Clay
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 2
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.
Is there anything required to update the docker image? Again, pardon my ignorance.
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
9 years 10 months ago #2659
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
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
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