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.
V2 no option for server locations
hi
I installed the new 2.10 version to find there is no option to add my own folder location expect for a mapped drive.
Is there going to be any changes to this in the future, as I store all my comics on my nas I would prefer not to map a drive.
headless not working
Hi, i made a fresh install of a ubuntuu 16 server.
I install ubooquity 2.02 but when i add a path for scanning i got this :
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
On the previous server i haven't got any problems
here my command line
java -jar Ubooquity.jar --headless
Recorver admin password
Hi,
I lost my admin password for webadmin.
There is a way to recovert it ?
BEst Regards,
OPDS feed question: # of comics per folder
Hi - Is the number of comics per folder present in the OPDS feed? I'm asking this because for example it could be very useful to have an icon in Seth's app showing this information on each folder.
Thanks.
HTTP ERROR 500 admin page in 2.0.2
When I try to access the admin page, I get:
HTTP ERROR 500
Problem accessing /admin. Reason:
Could not find matching provider (wrong URL)
I setup a new install of 2.0.2 on a headless Ubuntu 17.x VM in Google Cloud. On that server I'm using nginx to access pages remotely.
Here are the relevant entries in nginx:
# Ubooquity
location /ubooquity {
auth_basic off;
proxy_pass http://127.0.0.1:2202;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
}
#
# Ubooquity Admin
location /admin {
auth_basic off;
proxy_pass http://127.0.0.1:2203;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
}
I'm using the following command to start Ubooquity:
sudo java -jar /opt/ubooquity/Ubooquity.jar -remoteadmin -headless
So if I go to https://my.domain/ubooquity I get the "You aren't authorized" whatever whatever stuff, which makes sense because I haven't created any users yet. So the library port seems to be working fine. However, when I go to https://my.domain/admin I get the error described at the top of the page. What am I doing wrong?
Customer support service by UserEcho