0

how to install and configure Ubooquiny on nas synology DS 415+

Tabard 6 years ago updated by zorrax 6 years ago 4

Hello

how to install and configure Ubooquiny on nas synology DS 415+

Thank you for your help

Sincerely.

0

Problem of missing/wrong cover in Ubooquity

orshak 6 years ago updated by DarkShadowSwE 6 years ago 1

Recently, since i moved Ubooquity to Docker (or so i thought), i've been encoutering a weird problem :

quite often, i've got some covers not showing (it's the "broken image" icon showing up in the bottom left corner), or worse, wrong covers showing up on some books/folders (and bet it, amongst the 3k+ files in my comics folder(s) and the 4k+ in my books folder(s) it seems to always be the under 10 comics and under 50 books that are leaning toward erotic/sex Images/Covers, Go figur :D).

When i reload the page, with or without clearing cache (F5 or Ctrl+F5), it doesn't solve it, because in the end, the ones that weren't displaying an image/cover or an incorrect  now do... but others that displayed one (the proper one) don't anymore....

When i click on a book, it shows the proper cover image and metadata.

I was wondering if it was a problem of memory allocated since it runs in a docker and is limited to 512Mo Ram by default (i didn't change that settings), and i tried too, to wipe the database and redo a complete and new scan.

Both things failed in the end.

But the thing is i installed Ubooquity on another computer a couple days ago (for a friend, so they would have a way to see/search things more easily than using the windows explorer for the books i gave them, but without resorting to being forced to use Calibre and the dumb ass "hey you MUST store your books the way I decided you must store them" system... :()... and it ended exactly the same.

Any idea where it can come from ?

I'm using the Comixology Theme (latest version) on both installs, but i've tried without it and it's the same.

0

Comparison method violates its general contract! error

Jailer 6 years ago 0

I'm having a bit of trouble with the database. It seems that some items that were once showing up in the UI no longer do. The full error I'm getting in the logs is as follows:

WARN com.ubooquity.fileformat.pdf.b - Problem while reading file: /media/American Rifleman/nra_ar_201806.pdf
java.lang.IllegalArgumentException: Comparison method violates its general contract!

This is only happening for some items not all of them. If you click on one of the items I get a page not found error displayed. Not sure exactly when this started happening or what to do to fix it. Any help would be appreciated. Running this in a jail on my FreeNAS server if it matters.

0

Cant connect with Chunky

Jaylie 6 years ago updated by DarkShadowSwE 6 years ago 12

Hello all,


I have been browsing through multiple topics, but I cant find the answer. If I go to 192.168.0.104:2202 I can see all my Comics. If I go my Chunky app, and add 192.168.0.104:2202/opds-comics, it just says: 'Connection failed. 

What do I do here?

Thanks, Joey

0
Under review

Synology ds418 Need help

Apollo11 6 years ago updated by Tom 6 years ago 9

So I've been having problems with setting up Ubqooquity to run on my DS418. I don't have the ability to install Docker, because it is not supported by my Synology. So, I have to get it to run without Docker, and after following this guide. I got the following issue. Please

Image 527

0

Is it possible to see the last accessed books first?

jaykool 6 years ago 0
Hi



Is it possible to show the last read/accessed books at the top of the book list page? I have a lot of books and finding the books I read or glanced is a bit of pain if you will. It would be nice if one can just see those ones at the top of the listing page, so easy to access.



thanks

0

Synology

Bruno 6 years ago updated 6 years ago 1

bonjour


j'ai exécuté le script suivant:

#! / usr / bin / env bash
#title: ubooquity.sh
#description: Lance le serveur ubooquity. script shell dans le gestionnaire de tâches
#date: 20170807
# ====================================== =====================================
### VAVABLES JAVA ###
# Répertoire d'installation Java
JAVA_DIR = / var / packages / java / target / bin
# Taille maximale du pool d'allocation de mémoire d'exécution Java.
Valeur par défaut: 64 Mo MEM = 512m
### VARIABLES UBOOQUITY ###
# Emplacement binaire d'
Ubooquity UBOOQUITY_BIN = / var / packages / Ubooquity / Ubooquity.jar
# Répertoire de travail d'
Ubooquity WORK_DIR = / volume1 / Bibliotheque / .ubooquity
# ID de processus
PID_FILE = $ WORK_DIR / ubooquity.pid
# Port de la bibliothèque
Ubooquity LIB_PORT = 2202
# Port d’administration de
Ubooquity ADMIN_PORT = 2203
### VARIABLES ENVIRONNEMENT ###
# Encodage des caractères
# ENCO = utf8
# Sélection
locale # LANG = fr_FR.utf8 ##
SCRIPT ###
# Solution de contournement pour lire correctement les caractères spéciaux
# export LANG
# Tuer le processus précédent
if [-f $ PID_FILE]; then
pkill -F $ PID_FILE> / dev / null 2> & 1
fi
# Lance ubooquity
printf "Démarrage du serveur Ubooquity ... \ n"
$ JAVA_DIR / java -jar -Dfile.encoding = utf8 -Xmx $ MEM $ UBOOQUITY_BIN \
- adminport $ ADMIN_PORT --libraryport $ LIB_PORT \
--workdir $ WORK_DIR \
--remoteadmin --headless & UBOOQUITY_PID = $!
echo $ UBOOQUITY_PID> $ PID_FILE
printf "Ubooquity est en cours d'exécution (pid:% d). \ n" $ UBOOQUITY_PID
exit 0


Et j'obtiens le mél suivant :

État actuel: 2 (Interrompu)
Sortie standard / erreur:
/volume1/Bibliotheque/ubooquity.sh: ligne 43: erreur de syntaxe: fin de fichier inattendue


Avez-vous une idée du problème?


Merci d'avance

0

Issues with install on CentOS

HoboGoblin 6 years ago updated by DarkShadowSwE 6 years ago 6

Hi,

Having a couple issues, I just found out about Ubooquity today and so far I love it outside of these issues.

  1. Random server drops: Basically every 30 mins to 1 hour the server goes down and I can't access it anymore, need to SSH in and rerun "java -jar Ubooquity.jar --remoteadmin" to start it back up again.
  2. Server just factory reset itself, I have been adding my libraries one at a time, which are stored on a NAS that I mount to the CentOS VM through fstab. So I would add one, reboot (to ensure that the mount did mount at boot) then organize the files, etc. and then add another. After about 3 libraries I rebooted once more, then when I went to the admin page it prompted me to setup my admin password again... Did so and all my settings, users, everything was gone, was like a fresh install. This wasn't after every reboot mind you, just the 3rd one. But now I'm nervous to reboot again.
  3. Anyway to get this to autostart on boot?

Running on CentOS 7 VM on ESXi host, doubt the issues are related, but just in case. This was a fresh install of the CentOS minimal install, no GUI (which is why I'm using --remoteadmin), only other thing installed on this VM is Java 1.8.0 and openssh.

0
Under review

Cover Display and Linux Bash scripts (not sure if should go in questions or bug)

Sparky 6 years ago updated 6 years ago 9

I looked through the forums but I couldnt find a similar issue to the one I am facing.
I'm new to Ubooquity but I'm fairly tech savvy I think.
Environtment:
LXC debian stretch unprivileged container on Ubuntu 18.04

java - jre1.8.0_201


1st - When I run Ubooquity in a headless server environment I was getting an error displayed for the cover art I was getting an error, after a bit of googling and digging around it appears to be related to how its trying to get to the x11 display that doesnt exist in the environment (due to it being headless) and I added -Djava.awt.headless=true to the start up and it now displays the default cover art but it doesn't display the cover art that is installed.
some more details:


/usr/java/jre1.8.0_201/bin/java -Djava.awt.headless=true -jar Ubooquity.jar --headless --adminport 2233 --remoteadmin

2nd - The linux bash files are out of date at least the sorce of them that I found which was the link on the official documentation
(http://vaemendis.net/ubooquity/downloads/scripts/) if you would like updated scripts let me know and I can send them to you but this is using out dated options as well as not set to log.

0

Question About Ubooquity running from Docker

orshak 6 years ago updated 6 years ago 2

I'm preparing migrating a lot of things on docker to try to get my server looking like i want it too, without being too hold back by debian's packages's age/limitations, or problems with conflicts of dependancies and so on (on top of familiarizing myself with docker), and i've got a question.

The linuxserver.io Ubooquity docker state that the commandline should look like that :

docker create \
--name=ubooquity \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p 2202:2202 \
-p 2203:2203 \
-v /home/Ashareth/config:/config \
-v :/books \
-v :/comics \
-v :/files \
--restart unless-stopped \
linuxserver/ubooquity

And the parameters supported includes the -v path:/books, -v path:/comics, -v path:/files

I was wondering if it meant that i can only define ONE location per -v parameter, and i need to define them for all types, wich would mean, for me, declaring dozens of -v parameters, for each type, or if i can declare the "generic" top level folder for each ( /media/dir) that contains the subfolders books/novels/comics/mangas/.... and so on, to then be able to share any subfolder from inside Ubooquity, properly in the right place ?

I must admit i would like to know that before trying to migrate everything, to avoid too many problems/hassle. 

Any input from people who've already done that are welcome. ;)