0
Completed

[ 2.0 ] cookie to old behind a proxy

zer 8 years ago updated by Tom 8 years ago 5

Hi,


Accessing Ubboquity v2 behind a proxy seems a bit complicated !


I reach the loggin page, log in seccuessfully, but when I click on any link, I am asked to log in again. And again. And again... :=)


Here is the appropriate log :

20170419 16:09:02 [qtp883020319-34] INFO com.ubooquity.d.c - Cookie token invalid or too old. Access Denied. [login:zer][ip:192.168.42.42]


It's a simple nginx proxy with the following conf :

location / {

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;

}

The same config I used with Ubooquity v1.10.1 and that used to work.


Note :

- Direct access works perfectly. It happens only when the access comes from behind the proxy.

- I tried adding --host 0.0.0.0, ip of the proxy ...

0
Not a bug

opds server doesnt seem to be running

saucebarbeque 8 years ago updated by Tom 8 years ago 6

Hi there - Raspbian Jessie install in progress. Ubooquity seems to be up and running just fine from a browser - no issue seeing things on the admin page or on the main page. I can't find any evidence that OPDS is working though... no log entries, Chunky can't connect, and neither netstat nor lsof see the port (2202) open.


Any ideas?

0
Fixed

[ 2.0 ] java.lang.NoClassDefFoundError: javafx/fxml/Initializable

zer 8 years ago updated 8 years ago 27

Hi,


Got this java error while trying to start Ubooquity 2.0 :


root@jayjay:/opt/ubooquity$ java -Dfile.encoding=UTF-8 -jar Ubooquity.jar -webadmin -headless -port 2202

java.lang.NoClassDefFoundError: javafx/fxml/Initializable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
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 java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at com.ubooquity.e.a.a(SourceFile:802)
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)
... 12 more

On the same server that host Ubooquity 1.10.1. Any idea ?

zer.

0
Fixed

[2.0] pdf thumbnails missing in safari

Matthieu 8 years ago updated by Tom 8 years ago 13

Hi again Tom,


For me all pdf are missing their thumbnails. It was working before, with latest release 1.x.

I have the thumbnails for all other types (cbr, epub, ...)


I tried several rescan, server reboot as well as entire library deletion. Still the same.


Java version: 1.8.0_121

Max heap size available: 910 MB

OS name: Linux

OS version: 3.16.0-4-686-pae

OS architecture: i386

Ubooquity 2.0.0 built on 2017-04-15 at 09:21


Cleared the browser cache (safari). NIL help.

While I was writing this, I checked via Firefox... it works there... :-(

Safari on Mac & iOS does not display them.


I remember we faced this before, due to OS X bug, and could be resolved using https. But that was not related to pdf (any thumbnail was affected)

As I said, I did not change any thing on my side except ubooquity to 2.0 (I still have https from web to apache then http from apache to jetty)


Thanks for your usual support

Matthieu

0
Fixed

Bug Report: Opds pagination creates empty "NEXT" page.

Seth Chhim 8 years ago updated by Tom 8 years ago 1

Ubooquity server version: 2.0.0

Priority: Low


How to recreate bug:

If you have your settings at 10 items per page and you have 50 items in the current directory, a 6th page will be created. This page is empty and serves no purpose.


It seems if the item count is a multiple of the "items per page", a new empty page will be created at the end. This affects both directories and book items.


Thanks for any consideration.

0
Not a bug

No access to files when using user accounts in 2.0

CraftyClown 8 years ago updated by Tomando Cubatas 7 years ago 33

Hi there,


I've installed version 2.0 and everything works great until I try to use protected user sharing.

I have set up 3 users but each one gets the message 'Sorry, you are not authorized to access any file on this server' when trying to access my comics.


Bug in version 2.0? Or am I missing something?


Cheers




0
Planned

[2.0] Some PDF books are locking up scan

Joshua Moon 8 years ago updated 8 years ago 4

So first of all, 2.0 is a beautiful enhancement to an already awesome program. Thanks for your hard work.


With 2.0 set up, I went to scan my books and comics, but it stops scanning when it gets to some PDF books. These items do not show up in the log when this happens. The first time I resolved it by removing the book in question, but I don't want to have to skip what may be hundreds of books.


This is the only PDF related error I could find (note that this particular pdf imported fine, however):


20170415 08:14:32 [Scanner thread] WARN com.ubooquity.fileformat.pdf.b - Problem while reading file: F:\Books\Calibre\Douglas Adams\Dirk Gently's Holistic Detective Ag (1496)\Dirk Gently's Holistic Detectiv - Douglas Adams.pdf

java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source) ~[na:1.8.0_73]
at java.util.ArrayList.get(Unknown Source) ~[na:1.8.0_73]
at org.apache.pdfbox.cos.COSArray.get(COSArray.java:210) ~[pdfbox-2.0.4.jar.7365617063950314879.tmp:2.0.4]
at org.apache.pdfbox.rendering.PageDrawer.getAnnotationBorder(PageDrawer.java:987) ~[pdfbox-2.0.4.jar.7365617063950314879.tmp:2.0.4]
at org.apache.pdfbox.rendering.PageDrawer.drawAnnotationLinkBorder(PageDrawer.java:1039) ~[pdfbox-2.0.4.jar.7365617063950314879.tmp:2.0.4]
at org.apache.pdfbox.rendering.PageDrawer.showAnnotation(PageDrawer.java:960) ~[pdfbox-2.0.4.jar.7365617063950314879.tmp:2.0.4]
at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:193) ~[pdfbox-2.0.4.jar.7365617063950314879.tmp:2.0.4]
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:145) ~[pdfbox-2.0.4.jar.7365617063950314879.tmp:2.0.4]
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94) ~[pdfbox-2.0.4.jar.7365617063950314879.tmp:2.0.4]
at com.ubooquity.fileformat.pdf.b.a(SourceFile:71) ~[Ubooquity.jar:2.0.0]
at com.ubooquity.fileformat.pdf.b.a(SourceFile:44) ~[Ubooquity.jar:2.0.0]
at com.ubooquity.data.feeder.a.b(SourceFile:358) [Ubooquity.jar:2.0.0]
at com.ubooquity.data.feeder.a.a(SourceFile:193) [Ubooquity.jar:2.0.0]
at com.ubooquity.data.feeder.a.a(SourceFile:293) [Ubooquity.jar:2.0.0]
at com.ubooquity.data.feeder.a.b(SourceFile:106) [Ubooquity.jar:2.0.0]
at java.lang.Thread.run(Unknown Source) ~[na:1.8.0_73]


The last PDF that it stopped scanning (before I removed books and went to comics only) was Randall Monroe's XKCD volume 0.


As a side note, while I love the bookmarking, it would be wonderful to have a "recently read" or "currently reading" section of some sort so that I don't have to dig through my collection every time to resume a comic.

0
Not a bug

Admin page on 2.0.0 not working

M_le_maudit 8 years ago updated by Tom 8 years ago 7

Hi,

Version 2.0.0 installed and no admin page, the address http://myserver:2203 return to me an "ERR_INVALID_HTTP_RESPONSE"

0
Answered

Ubooquity new install on Ubuntu 16.04 can only see 1st page through browser

acor13 8 years ago updated by Tom 8 years ago 3

Hello All,


I recently setup up Ubooquity on Ubuntu Server 16.04. It catalogged all my comics. When I click on one and attempt to read it however, it only says the comic is 1 page and only shows the cover. I am not able to switch pages because it says the comic only has 1 cover. I've checked the logs and see no errors in it. I've pasted a sample of my logs below:


20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, port: 80, webadmin: true, host: null, debug: false, execdir: /etc/opt/ubooquity/ubooquity
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - #############################
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - #############################
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_121
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 237 MB
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - OS version: 4.4.0-62-generic
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Ubooquity 1.10.1 built on 2016-05-10 at 20:36
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20170412 22:28:30 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20170412 22:28:30 [main] INFO com.ubooquity.c - Starting internal server...
20170412 22:28:30 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20170412 22:28:30 [main] INFO com.ubooquity.c - Reverse proxy prefix is not activated
20170412 22:28:30 [main] INFO com.ubooquity.c - Internal server started. Listening on port 80
20170412 22:28:31 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20170412 22:28:31 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20170412 22:28:31 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20170412 22:28:31 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20170412 22:28:31 [Timer-1] INFO com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20170412 22:28:32 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20170412 22:28:32 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 891, added or updated: 0, removed: 0]
20170412 22:28:32 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
20170412 22:28:32 [Timer-1] INFO com.ubooquity.Ubooquity - Latest version available: 1.10.1 - Current version: 1.10.1
20170412 22:28:42 [pool-1-thread-2] INFO com.ubooquity.c - User anthony logged off
20170412 22:28:44 [pool-1-thread-2] INFO com.ubooquity.c - Cookie token invalid or too old. Access Denied. [login:anthony][ip:192.168.1.242]
20170412 22:28:44 [pool-1-thread-2] INFO com.ubooquity.c - User successfuly logged in. [login:anthony][ip:192.168.1.242]
20170412 22:35:27 [pool-1-thread-16] INFO com.ubooquity.c - User successfuly logged in. [login:anthony][ip:192.168.1.242]
20170412 22:35:42 [pool-1-thread-15] INFO com.ubooquity.provider.page.a - anthony is reading /mnt/comics/Champions (2016)/Champions 001 (2016) (Digital) (Zone-Empire).cbr


Any input provided would be greatly appreciated.

0
Under review

opds book reader

Mike 8 years ago updated by CraftyClown 8 years ago 4

can anyone recommend a good book/magazine opds reader that connects nicely with ubooquity. I have looked into a couple via the playstore and have not found one yet that UI isnt clunky feeling.