0
Answered

Ubooquity stopped displaying comics, books still work fine

Andreas Glancii 8 years ago updated by Tom 8 years ago 5

A week or two ago, Ubooquity stopped displaying comic thumbnails and links. The books section still works perfectly fine.


At first I thought it was the same problem others were having, perhaps related to user/security issues blocking the displaying of the comics, which still appeared in the database (2994 comics found).


But after experimenting with creating new users and disabling security altogether, this hasn't resolved the issue at all. It seems the database is being rebuilt each time I launch Ubooquity, but it is having errors writing to the database along the way, by the looks of the log:


20160412 09:59:38 [Scanner thread] INFO com.ubooquity.data.database.b - Inserting/updating comic entry in database : K:\Comics\Alphabetical\Bart Simpson (Bongo)\Bart Simpson v2000 007 (2002).cbz

20160412 09:59:40 [Scanner thread] ERROR com.ubooquity.data.database.b - Error while creating/updating comic in database
org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "COMIC"; SQL statement:
merge into comic(parentid, rootid, isdirectory, title, norm_title, filedate, filepath, lastupdatedate,filesize,description,language,norm_language,seriesname,norm_seriesname,seriesindex,volume,publicationdate,writers,norm_writers,pencillers,norm_pencillers,genre,norm_genre,pagecount) key(filepath)values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [50200-187]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.table.RegularTable.doLock1(RegularTable.java:509) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.table.RegularTable.lock(RegularTable.java:472) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.command.dml.Update.update(Update.java:89) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.command.dml.Merge.merge(Merge.java:154) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.command.dml.Merge.update(Merge.java:106) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.command.CommandContainer.update(CommandContainer.java:78) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.command.Command.executeUpdate(Command.java:254) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:198) ~[h2-1.4.187.jar.3011849094000993925.tmp:1.4.187]
at com.ubooquity.data.database.b.a(SourceFile:549) [Ubooquity.jar:1.9.1]
at com.ubooquity.data.database.b.a(SourceFile:53) [Ubooquity.jar:1.9.1]
at com.ubooquity.data.feeder.a.b(SourceFile:525) [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(Unknown Source) [na:1.8.0_71]


I'm running Ubooquity on a Win10 machine, along with Mylar and Comic Rack which does the lion's share of the meta data work


Than ks!

0
Under review

Pound Proxy Image Problem

Dessie 8 years ago updated 8 years ago 2

Hi Tom,


I run a Pound reverse proxy to farm out my internal sites with SSL offloading. I've been happily running Ubooquity through it for a while, but as a separate site, i.e. ubooquity.mydomain.com. Works perfectly apart from needing a separate certificate for SSL which is a slight pain.


Today I decided to change it to try out the built in reverse proxy feature. So I stuck "comics" into the reverse proxy prefix and changed Pound to redirect to it. So the domain now becomes www.mydomain.com/comics.


However it seems a bit flaky. Images don't always load. For example in the attached screenshot, there are 5 covers. Only 3 actually show the image, the other 2 show the <broken> symbol. The links themselves still work, but not the images. If I refresh, all 5 might work, or 4, or a different 3.


Image 93


I don't see anything on the Ubooquity logs. Not much on the Pound logs either. Also the comic reader itself just spins. Not a killer issue, as I can go back to the way things were. But any ideas?


Here are Pound logs. 19 and 132 are the ones that didn't work. 301, 18 and 127 did.


Apr 10 08:49:46 poundproxy pound: NULL get_thr_arg
Apr 10 08:49:46 poundproxy pound: message repeated 4 times: [ NULL get_thr_arg]
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/comics/17/ HTTP/1.1 - HTTP/1.1 200 OK
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/scripts/tools.js HTTP/1.1 - REDIRECT https://www.mydomain/comics/
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/comics/19/?cover=true HTTP/1.1 - REDIRECT https://www.mydomain/comics/
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/comics.css HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/comics/18/?cover=true HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/ HTTP/1.1 - HTTP/1.1 200 OK
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/ HTTP/1.1 - HTTP/1.1 200 OK
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/comics/127/?cover=true HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/comics/132/?cover=true HTTP/1.1 - REDIRECT https://www.mydomain/comics/
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/arrowleft10.png HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/arrowleft.png HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/settings.png HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: NULL get_thr_arg
Apr 10 08:49:46 poundproxy pound: NULL get_thr_arg
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/arrowup.png HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/search.png HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/random.png HTTP/1.1 - REDIRECT https://www.mydomain/comics/
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/arrowright.png HTTP/1.1 - REDIRECT https://www.mydomain/comics/
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/arrowright10.png HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/theme/dimoverlay.png HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/ HTTP/1.1 - HTTP/1.1 200 OK
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/ HTTP/1.1 - REDIRECT https://www.mydomain/comics/
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/ HTTP/1.1 - REDIRECT https://www.mydomain/comics/
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/ HTTP/1.1 - HTTP/1.1 200 OK
Apr 10 08:49:46 poundproxy pound: 192.168.0.1 GET /comics/ HTTP/1.1 - HTTP/1.1 200 OK
Apr 10 08:49:47 poundproxy pound: 192.168.0.1 GET /comics/comics/301/?cover=true HTTP/1.1 - HTTP/1.1 304 Not Modified
Apr 10 08:49:47 poundproxy pound: 192.168.0.1 GET /comics/theme/android-chrome-192x192.png HTTP/1.1 - HTTP/1.1 200 OK
0
Under review

PDF Bookmarks

Sam Miller 8 years ago updated by Tom 8 years ago 1

It would be great if bookmarks were supported on PDF documents. I read in some of the release notes where bookmarks are supported, but I do not seem to be able to find them in the options.


Thanks

0
Answered

Ubooquity stopped working

Rebul 8 years ago updated by Tom 8 years ago 3

Everything was running great, ubooquity was setup to start automatically on server reboot, life was grand. Until today. I couldn't access ubooquity, checked my headless server and couldn't log in to it. Restarted server, but ubooquity doesn't load. Tried to load using "start ubooquity" and get the following message:


xxxxxxxxx@xxxxxx:/opt/Ubooquity$ start ubooquitystart: Rejected send message, 1 matched rules; type="method_call", sender=":1.7" (uid=1000 pid=1472 comm="start ubooquity ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")


I am a linux noob and have no idea what to do. Please help. I am using Ubuntu 14.04 server. Thanks.



0
Answered

Docker (Symology) + HTTPS

Jamyz 8 years ago updated by Tom 8 years ago 2
0
Fixed

pdf thumbnails issue and java exception

Jeremy 8 years ago updated by Tom 8 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 8 years ago updated 8 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 8 years ago updated by anonymous 7 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 8 years ago updated by Tom 8 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 8 years ago updated by Tom 8 years ago 1

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