Your comments

ok all work fine, I am a shit !

is it not locolipnas:2203 but  locolipnas:2203/admin !!!

Always http error 500

maybe mistake in preferences.json ?

{
  "filesPaths" : [ ],
  "comicsPaths" : [ ],
  "booksPaths" : [ ],
  "users" : [ ],
  "isFilesProviderEnabled" : true,
  "isComicsProviderEnabled" : true,
  "isBooksProviderEnabled" : true,
  "isUserManagementEnabled" : false,
  "libraryPortNumber" : 2202,
  "adminPortNumber" : 2203,
  "comicWidth" : 160,
  "comicHeight" : 230,
  "comicsPaginationNumber" : 30,
  "bookWidth" : 160,
  "bookHeight" : 230,
  "booksPaginationNumber" : 30,
  "minimizeToTray" : false,
  "minimizeOnStartup" : false,
  "autoscanPeriod" : 0,
  "isRemoteAdminEnabled" : false,
  "theme" : "Default",
  "isShrinkingCacheEnabled" : false,
  "shrunkPageWidth" : 1536,
  "shrunkPageHeight" : 2500,
  "shrinkingCachePath" : "",
  "autoScanAtLaunch" : true,
  "reverseProxyPrefix" : "",
  "keystorePath" : "",
  "keystorePassword" : "",
  "isOpdsProviderEnabled" : false,
  "folderExclusionPattern" : "",
  "bypassSingleRootFolder" : false,
  "enableFolderMetadataDisplay" : false,
  "bookmarkUsingCookies" : false,
  "displayTitleInsteadOfFileName" : false,
  "keepUnreachableSharedFolders" : false
}

Just a thing 

How you exit after paste a code exec /var....... in putty  ?

Just close the putty windows ?! 

I have already try 2203 but no working too => I have that :

Other people have this ... https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjx5Y-Y96TWAhWmC8AKHfuGCeQQFggnMAA&url=https%3A%2F%2Fubooquity.userecho.com%2Ftopics%2F518-http-error-500-admin-page-in-202%2F&usg=AFQjCNFfPdp0VRI5_SZJn924dkWdcP4U5w


I will go to try with JAVA 8 package of synology for see is it better....

so the code is now :

exec /var/packages/Java8/target/j2sdk-image/bin/java -Dfile.encoding=UTF-8 -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -libraryport 2202 -remoteadmin -adminport 2203

I try a new fresh installation on my synonogy NAS ds414 but ... is it hard for me....

Please, can you tell me if I am good ?


0) i uninstal java in package center of DSM

delete folder ubooquity in var/packages and

delete ubooquity.conf in etc/init (with WINSCP software)


So I am clean...

(I have my ebooks in "Mes-ebooks" share folder)


1) Java installation on my NAS synology 

two choices : a) java 8 package b) see picture under = I choose that



then I learn that https://vaemendis.github.io/ubooquity-doc/pages/tutorials/install-on-synology.html


So, 


2) connect as root and paste :

cd /var/packages 

[ -d Ubooquity ] || mkdir Ubooquity && cd Ubooquity

wget -O ubooquity.zip http://vaemendis.net/ubooquity/service/download.php

7z x ubooquity.zip && rm ubooquity.zip

exec /usr/local/bin/java -Dfile.encoding=UTF-8 -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -libraryport 2202 -remoteadmin -adminport 2203


And after ?  I try localipnas:2202  but I have that :


Hello, as Raythefrenchy I can't update 1.10.1 to 2.1 on my NAS synology


Tom know this mistake but he don't know what we must do with synology.


It seems that you know a solution. 

But it is not yet very clear for me.


I have WinSCP and putty but I'm not a professional of code.


Usualy I have 2 solution for update. 

1) I replace ubooquity.jar with the new ubooquity.jar with winSCP

or 2) I use the line in putty : 

cd /var/packages && [ -d Ubooquity ] || mkdir Ubooquity && cd Ubooquity && wget -O ubooquity.zip http://vaemendis.net/ubooquity/service/download.php && 7z x ubooquity.zip && rm ubooquity.zip && cd /etc/init && wgethttps://vaemendis.github.io/ubooquity-doc/assets/files/install-synology/ubooquity.conf && chmod 755 ubooquity.conf

If I do that I can't acces to ubooquity, so I stay in 1.10.1


I have also 3 things in DSM in "task planification" for stop, or start ubooquity, or lunch ubooquity when NAS start.


So....Can you explain precisely how I should proceed to install Update 2.1 ?

The place of ubooquity is here : /var/packages/Ubooquity

My ebooks are here : /volume1/Mes-ebooks

My NAS is DS414   ,   DSM 6.1.3-15152 Update 3


------------------------------------------------------------------------------------------------


I suppose I need to do :

not uninstal my ubooquity 1.10.1 ?

Stop ubooquity 

create task =>  just paste code in task planification in DSM ? what code ?

I need to download the new ubooquity.jar or not ?


Thank you for being precise because I am not an expert

++xav



Yes Tom, you right !

Kenji and Alex HPC I go back, for say thinks !

I convert all my pdf and delete the pdf i can't convert.

I add > nohup.out 2>&1& at the end finaly

I use pkill -f Ubooquity

All work perfectly, like before dsm 6. Very thinks to you !

30 000 bds rho génial je veux bien un user et pass sur ton ubooquity ;) .Je vais installer comicrack et faire les transformations de mes 800 pdf. Ok je crois que j'ai compris où est le Pb ! Mon ubooquity.conf avait un chemin avec java7 et non java 8 ! D’ailleurs vu qu'on utilise le planificateur de tache est il nécessaire ce ubooquity.conf qui est dans etc/init ? Je veux bien la gestion des caractère FR et ALL. Je souhaite que les fichiers du logiciel ubooquity s'installent dans le dossier ubooquity (/var/packages/Ubooquity). J'ai tout supprimé et redémarré le NAS car avec la commande > nohup.out 2>&1& je suis obligé de redémarrer pour arrêter ubooquity.


Maintenant je vais taper en ssh :

cd /var/packages && [ -d Ubooquity ] || mkdir Ubooquity && cd Ubooquity && wget -O ubooquity.zip http://vaemendis.net/ubooquity/service/download.php && 7z x ubooquity.zip && rm ubooquity.zip


Puis je vais créer dans le planificateur de tache ceci :

export LC_ALL=fr_FR.utf8

export LANG=fr_FR.utf8
exec /var/packages/Java8/target/j2sdk-image/bin/java -Dfile.encoding=UTF-8 -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir /var/packages/Ubooquity

Je ne mets pas : (?)

#!/bin/bash (au debut)

> nohup.out 2>&1& (à la fin)


J'execute la tache, j'ai le message pas acces aux fichiers de ce server, je vais sur la page admin j'ajoute un chemin pour quelques livre et c'est bon j'accède à la page web d'ubooquity.


Je remarque en me balladant en ssh qu'il n'y a pas de fichier ubooquity.conf dans etc/ini et je remarque aussi ce dossier "etc.defaults" à coté de etc et il me semble qu'il n'existait pas avant l'installation d'ubooquity, non ?


Je tente maintenant d'arrêter ubooquity avec la tache dans le planificateur de tache :

#!/bin/bashpkill -f 'java -jar'

Autant dire que ça ne fait rien du tout. Ca c'est chiant car si ubooquity à un bug je n'aurai pas d'autre choix que de redémarrer le nas pour redémarrer ubooquity ! une solution pour ça ?


Bien, je vais convertir mes pdf, et voir si tous ça marche bien ... mais j'ai deja 380Mb 64% de memoire utilisé alors que ubooquity ne scan rien et que j'ai juste scanné 135 ebooks...


La suite bientot après les conversion des pdf....



my ubooquity.conf :


#/etc/init/ubooquity.conf


start on started xavier
stop on runlevel [06]

exec /var/packages/java7/target/jre/bin/java -Dfile.encoding=UTF-8 -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/Mes-ebooks"