0

Synology restart breaks Ubooquity

Trevor 7 years ago updated 7 years ago 4

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?


0

High memory usage

david phair 7 years ago 0

hi I'm running the new 2v and I've noticed its using 300mb of memory. Is this right or is it a bug?

0
Not a bug

java.lang.NoClassDefFoundError on launch

Bill 7 years ago updated 7 years ago 3

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.


0
Answered

V2 no option for server locations

david phair 7 years ago updated 7 years ago 2

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.

0
Under review

headless not working

Julien Dzk 7 years ago updated by Tom 7 years ago 1

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

0
Answered

Recorver admin password

tony 7 years ago updated by Tom 7 years ago 1

Hi,


I lost my admin password for webadmin.

There is a way to recovert it ?


BEst Regards,

0
Answered

OPDS feed question: # of comics per folder

Cesar Sanchez 7 years ago updated by Tom 7 years ago 3

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.

0

HTTP ERROR 500 admin page in 2.0.2

Skylar Ragan 7 years ago updated 7 years ago 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?

0
Declined

Custom metadata supports

Mr. SimPle (asd) 7 years ago updated by eduo 7 years ago 15

I want to make my own metadata for cbz files and display on the webpage.

I tried ComicTagger but it doesn't have custom tags that I want and Ubooquity doesn't display those metadata so instead using this, I want to make txt file in it and display them on Ubooquity.


txt file format:

Name: 'comic_name';

Author: 'author_name';

Publisher: 'publisher_name';

Volume: 65;

Characters: 'character1' , 'character2';  

0

What is themeScript.js?

Mr. SimPle (asd) 7 years ago updated 7 years ago 2

On Ubooquity 2.0.2 beta, there is a improvement says that custom script is supported for theme.

What does that do? Where do I get that file? or if I need to make it, how do I make it?