0
Fixed

pdf thumbnails issue and java exception

Jeremy 9 years ago updated by Tom 9 years ago 20

Hi !


Updating my Synology to DSM 6, I had to make a new install of Ubooquity. It works like a charm for my EPUB files but when I scanned the folders of my PDF, I saw these exceptions for all my files :


20160326 13:21:11 [Scanner thread] INFO com.ubooquity.fileformat.pdf.c - Reading metadata of pdf file: /volume1/data/Ubooquity/Documentation/Man/Reflex EOS 20D.pdf
20160326 13:21:11 [Scanner thread] WARN com.ubooquity.fileformat.pdf.c - Problem while reading file: /volume1/data/Ubooquity/Documentation/Man/Reflex EOS 20D.pdf
java.lang.NullPointerException: null
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:130) ~[na:1.7.0_91]
at javax.swing.UIDefaults.getUI(UIDefaults.java:762) ~[na:1.7.0_91]
at javax.swing.UIManager.getUI(UIManager.java:1013) ~[na:1.7.0_91]
at javax.swing.JPanel.updateUI(JPanel.java:126) ~[na:1.7.0_91]
at javax.swing.JPanel.<init>(JPanel.java:86) ~[na:1.7.0_91]
at javax.swing.JPanel.<init>(JPanel.java:109) ~[na:1.7.0_91]
at javax.swing.JPanel.<init>(JPanel.java:117) ~[na:1.7.0_91]
at org.jpedal.PdfDecoder.<init>(Unknown Source) ~[jpedal-4.92b23.jar.289754399615461549.tmp:4.92b23]
at com.ubooquity.fileformat.pdf.c.a(SourceFile:38) ~[Ubooquity.jar:1.9.1]
at com.ubooquity.data.feeder.a.b(SourceFile:382) [Ubooquity.jar:1.9.1]
at com.ubooquity.data.feeder.a.a(SourceFile:212) [Ubooquity.jar:1.9.1]
at com.ubooquity.data.feeder.a.b(SourceFile:316) [Ubooquity.jar:1.9.1]
at com.ubooquity.data.feeder.a.a(SourceFile:35) [Ubooquity.jar:1.9.1]
at com.ubooquity.data.feeder.a$1.run(SourceFile:116) [Ubooquity.jar:1.9.1]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_91]
20160326 13:21:11 [Scanner thread] INFO com.ubooquity.data.database.a - Inserting/updating book entry in database : /volume1/data/Ubooquity/Documentation/Man/Reflex EOS 20D.pdf


My files are listed in Ubooquity but there is no thumbnail (just a generic logo) and I cannot read it directly. I'm redirected to the error page "Page not found".


It's very strange because I had no problem before.


Thanks for your help.


Jeremy

0
Answered

java error when installing.

Matt Oko 9 years ago updated 9 years ago 3

When i double click on the install file I get....

java.io.FileNotFoundException: C:\Windows\system32\preferences.xml (Access is denied)

at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.ubooquity.Ubooquity.a(SourceFile:166)
at com.ubooquity.Ubooquity.x(SourceFile:153)
at com.ubooquity.Ubooquity.main(SourceFile:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ubooquity.e.c.a(SourceFile:823)
at com.ubooquity.Launcher.main(SourceFile:10)

Windows 7 Home Premium


Java Version 8 update 73 (build 1.8.0_73-b02)

0
Under review

Start on windows server without login ?

Henrioul Fabrice 9 years ago updated by anonymous 8 years ago 5

Hi,


I would like to know how start a daemon Ubooquity on a Windows server 2008 without login of a user ? Any idea ?


Thanks for this great app !

0
Under review

Process threads, runaways, ram usage?

Richard Leonard 9 years ago updated by Tom 9 years ago 1

the other night I noticed that my server was experiencing SERIOUS lag.... a quick check showed that the UBOOQUITY process(es) had completely taken over - I counted about 30 process IDs on the HTOP screen. I start UBOOQUITY via startup - and assign 1024Mb at the java command line call - - - however -- - it "seemed" that it was taking more than that (I don't know completely how to read the HTOP screen...) - what I did see and can read (if I have my glasses on...) - CPU (this is a 2 core boxen) - was over 100% - most of which was the UBOOQUITY chain .... I let it run for a few hours to see if anything would change - and it didn't - the log file did not seem to be getting any new entries and had a few "glitch" spots in it...(so brain dead me - deleted it after I stopped everything....)


I have since restarted the beastie from scratch (deleting the db as well to keep things clean) - so far all seems well... I know that if a scanning thread is running, repeated logins, and a second admin login starts, can cause hiccups.. including what "seems" to be a second scanning instance to begin... - - I hope that this weekend I can narrow down the "exact" pointy/clickie steps to repeat the crash/crunch/bang -


main questions - - -

What are optimal RAM setting for startup when the initial directories are going to be scanned and database generated?


What are the optimal settings if I then start up UBOOQUITY on an itty-bitty GOFLEX NET and this will be the "web instance" front end (the other instance of UBOOQUITY will be shutdown)?


if the boxen that is used for DB creation has 4GB of RAM (multi core CPU/hyperthreading/chrome plating/brass buttons/etc....), the GOFLEX has 128MB (ARM cpu/3 cylinder/Citroen frame/iron nails/bald tires/no paint) - What I am looking at trying is assigning 1024MB for the bigger boxen and then NOT specifying on the little guy.... (BIG BOXEN runs ubuntu 15.1 and the little guy runs debian Jessie and I think I just updated the kernel on both to 4 something if that makes a difference)


My daughter figures we have enough disk space, and if we download the "weeklies" we add about 300 comics a week (until we toss out what we don't care about)... so - for instance - I shutdown the little guy process - fire off the big guy Saturday afternoon to add the new files - and then once finished scanning - switch things back -- - -

Does this sound workable?

0
Answered

log file rotation

Richard Leonard 9 years ago updated by Tom 9 years ago 1

Within UBOOQUITY - What triggers log file rotation? (and what is the best way to archive the logs?)

0
Under review

db file size?

Richard Leonard 9 years ago updated by Tom 9 years ago 1

I've noticed that the size of the ubooquity db is growing by leaps and bounds... I've also noticed that it compresses like a bad dog - - - - (almost 20 to 1... YMMV)

Are there any plans to add compression to the db.... ??



0
Under review

Ubooquity don't save settings

Ponch 9 years ago updated by Tom 9 years ago 4

Hi,

I installed your product on my NAS Dlink DNS-320L (http://dlink.vtverdohleb.org.ua/Add-On/), and I meet 2 problems:
- First, after every restart of the nas, all the parameters are lost and it is necessary to me to re-configure everything
- As it is limited in number of imported books, because after more than 2000 imports, interface shows me no more book, she is black and empties, the system is slow and it is necessary to me to restart the nas and one returns to the problem n°1...


Actually, a strange thing which I find in the installation of the software: the arborescence of the program is in the path / mnt / HD / HD_a2 / Nas_Prog / Ubooquity, while the file log, themes and préférences.xml are in the root of the nas!
But, the logs or preferences.xml are'nt not save after reboot...
The permissions the folder seems good :
drwxrwxrwx 7 root root 4096 Mar 3 13:12 Ubooquity
drwxrwxrwx 2 root root 4096 Mar 2 23:58 _install
drwxrwxrwx 6 root root 4096 Feb 29 11:43 java8
drwxrwxrwx 10 root root 4096 Mar 2 21:00 sshd
And the content of Ubooquity :
-rwxr-xr-x 1 root root 20648745 Mar 3 11:25 Ubooquity.jar
-rw-r--r-- 1 root root 17793844 Mar 2 23:58 Ubooquity.jar.old
-rwxr-xr-x 1 root root 746 Mar 2 23:58 apkg.rc
-rw-r--r-- 1 root root 32 Mar 2 23:58 apkg.sign
-rw-r--r-- 1 root root 951 Mar 2 23:58 apkg.xml
drwxr-xr-x 2 root root 4096 Mar 2 23:58 bin
-rwxr-xr-x 1 root root 99 Mar 2 23:58 clean.sh
-rw-r--r-- 1 root root 886 Mar 2 23:58 detail.xml
-rwxr-xr-x 1 root root 1007 Mar 2 23:58 init.sh
-rwxr-xr-x 1 root root 62 Mar 2 23:58 install.sh
drwxr-xr-x 2 root root 4096 Mar 2 23:58 logs
-rwxr-xr-x 1 root root 35 Mar 2 23:58 preinst.sh
-rwxr-xr-x 1 root root 361 Mar 2 23:58 remove.sh
-rwxr-xr-x 1 root root 763 Mar 2 23:58 start.sh
-rwxr-xr-x 1 root root 271 Mar 2 23:58 stop.sh
drwxr-xr-x 7 root root 4096 Mar 3 18:32 themes
drwxrwxrwx 2 root root 4096 Mar 3 18:03 tmp
drwxr-xr-x 5 root root 4096 Mar 2 23:58 web
And the content of the root :
drwxr-xr-x 2 root root 2048 Mar 3 18:02 bin
drwxr-xr-x 4 root root 1024 Mar 3 18:03 cache
drwxrwxrwt 3 root root 3680 Mar 3 18:02 dev
drwxr-xr-x 15 root root 2048 Mar 3 18:03 etc
drwxr-xr-x 2 root root 1024 Mar 3 18:03 fonts
drwxr-xr-x 4 root root 1024 Jul 28 2015 home
drwxr-xr-x 2 root root 6144 Jan 1 2000 lib
lrwxrwxrwx 1 root root 11 Jul 28 2015 linuxrc -> bin/busybox
drwxr-xr-x 2 root root 1024 Mar 3 18:03 logs
drwx------ 2 root root 12288 Jul 28 2015 lost+found
drwxr-xr-x 8 root root 1024 Mar 3 18:02 mnt
drwxrwxrwt 2 root root 180 Jan 1 2000 mydlink
drwxr-xr-x 2 root root 1024 Jan 1 2000 opt
-rw-r--r-- 1 root root 1712 Mar 3 20:12 preferences.xml
dr-xr-xr-x 91 root root 0 Jan 1 1970 proc
drwxr-xr-x 2 root root 1024 Jul 28 2015 root
drwxr-xr-x 2 root root 1024 Jan 1 2000 sbin
drwxr-xr-x 11 root root 0 Jan 1 1970 sys
drwxr-xr-x 3 root root 1024 Mar 3 18:08 themes
drwxr-xr-x 5 root root 1024 Mar 3 21:30 tmp
-rw-r--r-- 1 root root 7360512 Mar 3 20:13 ubooquity-4.h2.db
-rw-r--r-- 1 root root 99 Mar 3 18:03 ubooquity-4.lock.db
drwxr-xr-x 7 root root 1024 Jan 1 2000 usr
drwxr-xr-x 10 root root 1024 Mar 3 19:47 var
-rw-r--r-- 1 root root 64 Mar 3 18:04 webadmin.cred
I had changed the rights on files " préférences.xml " but it put back to me the default permissions... May I copy this file (and the other files of Ubooquity) in the Nas_Prog / Ubooquity folder and ask the program to use these? If yes, where to inform this parameter?

Can you help me please to solve my problems, because this product is very good and corresponds exactly to what I looked for!

Thank you.
Ponch.

0
Answered

zip file errors in the log files?

Richard Leonard 9 years ago updated by Tom 9 years ago 1

What does the following mean?

within a 2 minute window - the warning shows up 12 times -


the file either is or is not a zip file isn't it?

if the file is unreadable (which it seems to be... ) - shouldn't the error reflect that?

if the ISNOT a zip file - any indication as to what filetype it should be?

if it is a zip file then a scrambled multi-part zip.... zip vs. gzip vs. other flavors... (DOS/Mac/Linux/etc....)


more info please?!?!



20160314 01:09:29 [Scanner thread] WARN com.ubooquity.f.a - Failed to read file, will try to guess format: /mnt/Public/Comics/Marvel_Comics/Pre-Marvel(Timely-Atlas)/What's Scanned & Unscanned in the Timely-Atlas Universe (2010-07).cbz

20160314 01:09:29 [Scanner thread] INFO com.ubooquity.f.a - File type is in reality a ZIP (cbz)
20160314 01:09:29 [Scanner thread] WARN com.ubooquity.f.a - Could not open file: /mnt/Public/Comics/Marvel_Comics/Pre-Marvel(Timely-Atlas)/What's Scanned & Unscanned in the Timely-Atlas Universe (2010-07).cbz

java.util.zip.ZipException: archive is not a ZIP archive
   at org.apache.commons.compress.archivers.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:806) ~[commons-compress-1.9.jar.7390313412389470896.tmp:1.9]
   at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:736) ~[commons-compress-1.9.jar.7390313412389470896.tmp:1.9]
   at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:481) ~[commons-compress-1.9.jar.7390313412389470896.tmp:1.9]
   at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:216) ~[commons-compress-1.9.jar.7390313412389470896.tmp:1.9]

   at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:192) ~[commons-compress-1.9.jar.7390313412389470896.tmp:1.9]
   at com.ubooquity.fileformat.cbz.a.a(SourceFile:40) ~[Ubooquity.jar:1.9.1]
   at com.ubooquity.f.a.a(SourceFile:89) [Ubooquity.jar:1.9.1]
   at com.ubooquity.f.a.a(SourceFile:30) [Ubooquity.jar:1.9.1]
   at com.ubooquity.b.c.a(SourceFile:66) [Ubooquity.jar:1.9.1]

   at com.ubooquity.data.feeder.a.b(SourceFile:512) [Ubooquity.jar:1.9.1]
   at com.ubooquity.data.feeder.a.c(SourceFile:470) [Ubooquity.jar:1.9.1]
   at com.ubooquity.data.feeder.a.b(SourceFile:35) [Ubooquity.jar:1.9.1]
   at com.ubooquity.data.feeder.a$1.run(SourceFile:123) [Ubooquity.jar:1.9.1]
   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]

0

Can't connect to VPS Ubooquity instance

Toby Munro 9 years ago updated 9 years ago 0

Hi all


I have been using Ubooquity for a while (on my QNAP NAS), but I am going travelling soon and the NAS will be turned off for this period. So I want to set it up using a cheap DigitalOcean droplet. My files are stored on Amazon Cloud Drive (they are already backed up there, so why not use them...).


So I have created the droplet running Ubuntu 14.04, installed Ubooquity successfully to /opt/ubooquity. And installed acd_cli and mounted my amazon drive.


Everything looks like it is working properly, however I just cant connect from my home computers. I presume its an issue with connecting to a remote machine (port forward / firewall). Ubooquity is definitely up and running, i have allowed connections in my firewall. I believe that all ports are open by default on a DO droplet.


ps aux | grep uboo gives

root 4374 41.2 13.0 2058784 65384 ? Sl 04:44 0:02 /usr/bin/java -jar /opt/ubooquity/Ubooquity.jar -webadmin -headless -port 2022

sudo netstat -plunt gives


...
.tcp6 0 0 :::2022 :::* LISTEN 4374/java


What am I missing here?


If I curl http://dropletip:2022/admin in putty I can see that the correct page to create a password is coming up, but I can't access it via a webpage.

0

Publisher Folder Image Set

BohemianGeek 9 years ago updated by Jason Jones 9 years ago 3

As many people sort their comics by publisher, i've started a collection of images for the Publisher folders: https://www.dropbox.com/s/8d2s8he1pze9f3d/Comic%20Publisher%20Folders.zip?dl=0


If anyone else is working on something similar it would be great to combine our efforts.