[2.1.0] Ubooquity doesn't start on Synology
I followed this tutorial https://vaemendis.github.io/ubooquity-doc/pages/tutorials/install-on-synology.html to install Ubooquity on my Synology DS916+ (DSM 6.1.3-15152 Update 1) with Java 8 (1.8.0_141).
However when I issue the start ubooquity command the service starts and stops almost immediately. I can't figure out what's happening, and I'm stuck on how to proceed troubleshooting.
This is my ubooquity.conf file:
start on started httpd-user
stop on runlevel [06]
exec /var/packages/Java8/target/j2sdk-image/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/Comix/Ubooquity"
I have tried to change the workdir to /volume1/Comix and also leave it out completely, but to no avail.
Since there's no ubooquity folder in my workdir (/volume1/Comix/) yet there's no logfile to look at.
Is there another log I can take a look at to push me in the right direction?
Or is there someone here who can help me out?
List view for publishers/titles
Hi everyone,
I am loving Ubooquity so far, but I wanted to throw something out and see if this would be possible.
I prefer to not have thumbnails for Publishers, or even the main Titles, but just for the issues themselves. Doing something like a list view for Publishers and Titles would allow for many more to be displayed per page. Could this be accomplished currently with a folder html file or something? Any help would be greatly appreciated!
Thank you!
Command line arguments error
Hi Guys,
Still struggling to instal Ubooquity on my Synology DS216j. (DSM 6.1.3-15152 Update 1 )
I followed your instructions on Tutorials Synology but somehow it won't start up...
Log which I found:
2017-07-23T23:13:05+1200 Command line arguments error: joptsimple.UnrecognizedOptionException: p is not a recognized option Launch Ubooquity with the "--help" option to display available commands
Ubooquity has stopped
Anyone an idea how to solve that issue?
Can't read .mobi, only download
On clicking on mobi book format only the download button shows, no read button. Can mobi formats not be read?
HTTP ERROR 500
Hi,
I'm trying to run Ubooquity 2.1.0 with Apache2 doing the ProxyPass and ReWrite.
I'm unable to access the Admin page, I always get the HTTP ERROR 500 or, i get the Initial password request but when I enter - nothing.
for the normal Library page it seems to work, however as Im not able to access the admin page, I cant setup a user or the library.
Would it be possible to add another "reverseProxyPrefix" for the admin Page? I guess thats where the error comes from...
or does anyone know how to set the rewrite rules for apache that both sites work?
kind regards
liketofly
Every time my Asustor NAS restarts, I lose my configuration
Hi guys,
I'm an Asustor user, and I'm trying to make the last version of Ubooquity work on my NAS for a few days. I have followed this tutorial. I'm not very good in SSH, and it took me a while to understand. I finally changed a bit the contents of the tutorial to better match what I was doing.
Here is my start-stop.sh script :
#!/bin/sh
# ums files
UBOOQUITY_DIR=/volume1/home/admin/Ubooquity
UBOOQUITY_PID=$(ps ax | grep java | grep Ubooquity | awk '{ print $1 }')
case $1 in
start)
echo "Starting Ubooquity..."
java -Xmx256m -jar $UBOOQUITY_DIR/Ubooquity.jar -headless -remoteadmin -adminport 8079 1> /dev/null 2> /dev/null/ &
;;
stop)
echo "Killing Ubooquity..."
kill $UBOOQUITY_PID
;;
reload)
echo "Relaod Ubooquity..."
kill $UBOOQUITY_PID
sleep 3
java -Xmx256m -jar $UBOOQUITY_DIR/Ubooquity.jar -headless -remoteadmin -adminport 8079 1> /dev/null 2> /dev/null/ &
sleep 3
;;
info)
echo "Checking for Ubooquity PID..."
echo $UBOOQUITY_PID
;;
*)
echo "usage: $0 {start|stop|reload|info}"
exit 1
;;
esac
exit 0
As you can see, Ubooquity is now installed in /volume1/home/admin/Ubooquity. I changed the command line because Ubooquity doesn't seem to launch with the command given in the tutorial, and the access rights by using chmod. I also made the links with the /usr/local/etc/init.d folder
Ubooquity works, but I lose my configuration (users, shared folders etc...) every time my NAS restarts. It's as if I were starting from scratch. I have the feeling that each restart erases my configuration. However the file preferences.json is there.
Can you please help me with this ? I don't understand why Ubooquity behaves like this and it's driving me crazy ;-)
UNC Paths on Windows / Custom Paths entry in administration webui
Hi guys,
Nice to see that this project is not dead and still a fully functional lightweight chunky server - certainly compared to my heavily customized ComicStreamer !
Two quick ones:
(1) Please allow entry of UNC / Custom paths from the admin webui, could not found it and had to shutdown the server to add those manually in the preferences.json
(2) Please put a restart server directly in the admin webui, currently you have to get back to the local UI if you started it or fuddle with the config to make that happen
Zibb
Synology restart breaks Ubooquity
H ey guys,
I have a Synology and the worst luck with Ubooquity. Every time I get it to work it works fine for a few days until my Server restarts. Everytime it restarts I try to "sudo start ubooquity" which that command works fine until the server restarts. After the restart it says "start: unknown job: ubooquity"
Is it possible my ubooquity is being cleared by the server?
High memory usage
hi I'm running the new 2v and I've noticed its using 300mb of memory. Is this right or is it a bug?
java.lang.NoClassDefFoundError on launch
I've had a running instance of 2.0 for some time. I stopped the server today, downloaded the 2.1 update, and created a new folder. When I tried to launch with:
java -jar Ubooquity.jar
I get the following error below. Note also I tried going back to my old folder and launch that and I'm getting the same error. You also linked to this file:
http://vaemendis.net/ubooquity/downloads/special/SimpletofMars/Ubooquity.jar
in another thread. Same error.
Also, I am unable to double-click the file. It just launches the Archiver. I right-clicked the file to try open-with java but didn't see it as an option, so I did:
apt-get install openjdk-8-jdk
I can now right-click an select Open With JRE but it just spins and does nothing. Running the 'java -jar' command also gives the same error. Any ideas?
Here's the error:
pi@raspberrypi:~/ubooquity $ java -jar Ubooquity.jar
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: /home/pi/ubooquity
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - #############################
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - #############################
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_40-internal
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 224 MB
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - OS version: 4.9.35-v7+
20170714 14:53:37 [main] INFO com.ubooquity.Ubooquity - OS architecture: arm
20170714 14:53:38 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20170714 14:53:38 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.0 built on 2017-06-18 at 17:14
20170714 14:53:38 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20170714 14:53:38 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20170714 14:53:43 [main] INFO org.eclipse.jetty.util.log - Logging initialized @16526ms to org.eclipse.jetty.util.log.Slf4jLog
java.lang.NoClassDefFoundError: javafx/fxml/Initializable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at com.ubooquity.e.a.d(SourceFile:597)
at com.ubooquity.e.a.loadClass(SourceFile:962)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.ubooquity.a.<init>(SourceFile:19)
at com.ubooquity.Ubooquity.main(SourceFile:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.ubooquity.e.a.a(SourceFile:823)
at com.ubooquity.Launcher.main(SourceFile:10)
Caused by: java.lang.ClassNotFoundException: Failure to load: javafx.fxml.Initializable
at com.ubooquity.e.a.loadClass(SourceFile:992)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 13 more
20170714 14:53:43 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20170714 14:53:43 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20170714 14:53:44 [Thread-2] ERROR com.ubooquity.b - Error while stopping internal server
java.lang.NullPointerException: null
at com.ubooquity.d.e.a(SourceFile:101) ~[Ubooquity.jar:2.1.0]
at com.ubooquity.b.c(SourceFile:112) ~[Ubooquity.jar:2.1.0]
at com.ubooquity.Ubooquity.C(SourceFile:216) [Ubooquity.jar:2.1.0]
at com.ubooquity.Ubooquity$$Lambda$3/17672517.run(Unknown Source) [Ubooquity.jar:2.1.0]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-internal]
20170714 14:53:44 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20170714 14:53:44 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.
Customer support service by UserEcho