0
Answered

Challenger Viewer - Limit of 20 Comics / Folder using OPDS

Sean 8 years ago updated by Tom 8 years ago 2

First, thanks for making a super application - it works very well.


I can't seem to solve an issue - using Challenger Viewer, I can sync OPDS-COMICS from Ubooquity however for some reason if a folder on the server contains more than 20 comics, Challenger Viewer will only group them into clusters of 20 per thumbnail - then will begin creating additional groups of 20 in a new generically titled "Comics" thumbnail rather than using metadata names.


Web viewing works just fine - not sure if this is an Ubooquity question or a Challenger question?


Aside from this little frustration, Ubooquity works very well as a home-based book server!

0
Under review

Ubooquity crashes regularly

Tobias Andersson 8 years ago updated by Michael Menzie 6 years ago 23

20160919 23:32:00 [pool-1-thread-16] WARN com.ubooquity.e.e - Interrupted while sending response (perhaps the client stopped the download) - java.net.SocketException - Software caused connection abort: socket write error


Gets about 30 of these and then it crashes. Every 48 hours.

0
Answered

Stream Epub

Seth Chhim 8 years ago updated by Tom 7 years ago 15

I made an app to load the epubs but it is not an elegant solution. It has to download the entire file first and then post process. In the future, will the epubreader support directly loading a specified page number much like how comicreader works?

0
Not a bug

Database rebuilt from scratch if external drive disconnects

joevan 8 years ago updated 8 years ago 2

I'm running Ubooquity on a Mac Mini that scans a network drive. If there's a glitch in network and the drive goes offline, the database needs to be cataloged from scratch. With 14,000 comics in my collection, this can take some time. It looks like the database is being reset if the volume isn't present.

0
Planned

java.lang.NoClassDefFoundError: com/twelvemonkeys/image/InverseColorMapIndexColorModel

diephoenix 8 years ago updated by Noah Haskell 7 years ago 7

Hi, On scanning I get this error:


20160911 00:28:07 [Scanner thread] INFO com.ubooquity.fileformat.pdf.b - Reading metadata of pdf file: H:\temp\My Books\My Books\Fiction\Wings\03 (18009)\03 - Wings.pdf

20160911 00:28:07 [Scanner thread] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: Scanner thread
java.lang.NoClassDefFoundError: com/twelvemonkeys/image/InverseColorMapIndexColorModel
at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImage10MetadataCleaner.cleanMetadata(Unknown Source) ~[imageio-jpeg-3.1.0.jar.941688140809773937.tmp:3.1.0]
at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.getImageMetadata(Unknown Source) ~[imageio-jpeg-3.1.0.jar.941688140809773937.tmp:3.1.0]
at org.apache.pdfbox.filter.DCTFilter.getNumChannels(DCTFilter.java:271) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.filter.DCTFilter.decode(DCTFilter.java:69) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:69) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:163) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:235) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.<init>(PDImageXObject.java:147) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.graphics.PDXObject.createXObject(PDXObject.java:70) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.pdmodel.PDResources.getXObject(PDResources.java:385) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:53) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:208) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:139) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94) ~[pdfbox-2.0.0.jar.2923209612619892780.tmp:2.0.0]
at com.ubooquity.fileformat.pdf.b.a(SourceFile:71) ~[Ubooquity.jar:1.10.1]
at com.ubooquity.fileformat.pdf.b.a(SourceFile:44) ~[Ubooquity.jar:1.10.1]
at com.ubooquity.data.feeder.a.b(SourceFile:382) ~[Ubooquity.jar:1.10.1]
at com.ubooquity.data.feeder.a.a(SourceFile:212) ~[Ubooquity.jar:1.10.1]
at com.ubooquity.data.feeder.a.b(SourceFile:316) ~[Ubooquity.jar:1.10.1]
at com.ubooquity.data.feeder.a.a(SourceFile:35) ~[Ubooquity.jar:1.10.1]
at com.ubooquity.data.feeder.a$1.run(SourceFile:116) ~[Ubooquity.jar:1.10.1]
at java.lang.Thread.run(Unknown Source) ~[na:1.8.0_51]
Caused by: java.lang.ClassNotFoundException: Failure to load: com.twelvemonkeys.image.InverseColorMapIndexColorModel
at com.ubooquity.e.c.loadClass(SourceFile:992) ~[Ubooquity.jar:1.10.1]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_51]
... 27 common frames omitted


Both ubooquity and java on latest version, Windows 10 PC.

0
Under review

nginx and ubooquity success benchmark 10000 requests in 9.236 seconds

H. Truman 8 years ago updated 8 years ago 3

Hello I just setup nginx and ubooquity reverse proxy successfully. I did two benchmarking test and the results look great.

First test was done with nginx as reverse proxy like this

ab -kc 1000 -n 10000 http://104.251.217.110/admin


and it gives the following result:


Server Software: nginx/1.4.6
Server Hostname: 104.251.217.110
Server Port: 80

Document Path: /admin
Document Length: 2071 bytes

Concurrency Level: 1000
Time taken for tests: 9.236 seconds
Complete requests: 10000
Failed requests: 0
Keep-Alive requests: 10000
Total transferred: 22290000 bytes
HTML transferred: 20710000 bytes
Requests per second: 1082.67 [#/sec] (mean)
Time per request: 923.645 [ms] (mean)
Time per request: 0.924 [ms] (mean, across all concurrent requests)
Transfer rate: 2356.70 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 78 287.5 0 1747
Processing: 194 806 503.3 700 5544
Waiting: 193 775 439.2 698 4108
Total: 194 884 582.7 720 5544

Percentage of the requests served within a certain time (ms)
50% 720
66% 836
75% 1037
80% 1202
90% 1580
95% 2146
98% 2615
99% 3118
100% 5544 (longest request)


And I did the same thing with just ubooquity itself using



ab -kc 1000 -n 10000 http://104.251.217.110:2202/admin


And the test failed with the following results

Concurrency Level: 1000
Time taken for tests: 18.322 seconds
Complete requests: 10000
Failed requests: 4999



But while all of this sounds interesting I am reluctant to put this into a production server since nginx is just passing request to nanohttpd server which is not designed for that type of usage.

My concern is that nanohttpd may just be unresponsive in a production environment even if nginx is right in front of him...


PleaseTom, let me know what do you think...




Bellow is a complete result of my tests:


pi@raspberrypi:~ $ ab -kc 1000 -n 10000 http://104.251.217.110/admin
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 104.251.217.110 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software: nginx/1.4.6
Server Hostname: 104.251.217.110
Server Port: 80

Document Path: /admin
Document Length: 2071 bytes

Concurrency Level: 1000
Time taken for tests: 9.236 seconds
Complete requests: 10000
Failed requests: 0
Keep-Alive requests: 10000
Total transferred: 22290000 bytes
HTML transferred: 20710000 bytes
Requests per second: 1082.67 [#/sec] (mean)
Time per request: 923.645 [ms] (mean)
Time per request: 0.924 [ms] (mean, across all concurrent requests)
Transfer rate: 2356.70 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 78 287.5 0 1747
Processing: 194 806 503.3 700 5544
Waiting: 193 775 439.2 698 4108
Total: 194 884 582.7 720 5544

Percentage of the requests served within a certain time (ms)
50% 720
66% 836
75% 1037
80% 1202
90% 1580
95% 2146
98% 2615
99% 3118
100% 5544 (longest request)






pi@raspberrypi:~ $ ab -kc 1000 -n 10000 http://104.251.217.110:2202/admin
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 104.251.217.110 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:
Server Hostname: 104.251.217.110
Server Port: 2202

Document Path: /admin
Document Length: 2071 bytes

Concurrency Level: 1000
Time taken for tests: 18.322 seconds
Complete requests: 10000
Failed requests: 4999
(Connect: 0, Receive: 0, Length: 4999, Exceptions: 0)
Keep-Alive requests: 5001
Total transferred: 10998792 bytes
HTML transferred: 10363284 bytes
Requests per second: 545.78 [#/sec] (mean)
Time per request: 1832.247 [ms] (mean)
Time per request: 1.832 [ms] (mean, across all concurrent requests)
Transfer rate: 586.22 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 733 2065.9 173 15309
Processing: 0 130 153.5 172 1908
Waiting: 0 119 135.7 175 932
Total: 0 863 2105.9 355 15506

Percentage of the requests served within a certain time (ms)
50% 355
66% 439
75% 490
80% 1280
90% 1511
95% 3453
98% 7453
99% 15417
100% 15506 (longest request)


0
Answered

Which user rights on DSM 6?

jotteerr 8 years ago updated by Tom 8 years ago 2

Hi all,


I managed to successfully install Ubooquity on my Synology NAS DS214play, the server is running (as root). User admin and groups http and admin have r/w rights on the shared folder /volume1/Comics, but when going to the web interface Ubooquity tells me "Sorry, you are not authorized to access any file on this server".

Any clues how to proceed?


Regards

Joachim

0

NAS synology with DSM 6

camo mille despres 8 years ago updated by jotteerr 8 years ago 2

Hi,

I have problems to install ubooquity on à Synology Nas, that runs under DSM 6

I have been following the steps described in this tutorial to intall Ubooquity

http://vaemendis.net/ubooquity/misc/synology-tutorial/

But DSM 6 doesn't allow to use root user with a ssh connection.

Thank's in advance for your help.

0
Answered

building mini pics index

christophe B 8 years ago updated by Tom 8 years ago 4

hello

i just want to know how you build index pics for cbr and pdf

for cbr do you use a line command for unrar ? do you unrar all the files and keep the first entry or do you only extract the first file ? if yes how do you do this ?

Thanks

0
Answered

Only default cover

Garikover 8 years ago updated by Tom 8 years ago 4

Hello,


I install ubooquity on Synology DS215J (DSM 6 + Java8) and it works very well but the default coverage is always used. I use Google Chrome & Firefox.
I check on Windows 10 and the covers are correctly displayed (with Chrome & Firefox) so it is not a problem with files.

DS215j Log :


Ubooquity version: 1.10.1 built on 2016-05-10 at 20:36

Java version: 1.8.0_60
Java vendor: Oracle Corporation
Java VM name: OpenJDK Zero VM
OS name: Linux
OS version: 3.2.40
OS architecture: arm
Number of processors: 2
Max memory: 494 MB
Free memory: 8 MB
Total memory: 18 MB
isUserManagementEnabled: false
comicWidth: 160
comicHeight: 230
comicsPaginationNumber: 30
bookWidth: 160
bookHeight: 230
booksPaginationNumber: 30
autoscanPeriod: 0
isWebAdminEnabled: false
theme: Default
reverseProxyPrefix: false
keystorePath: false
keystorePassword: false
isOpdsProviderEnabled: true
hideEmptyFolder: true
scanExclusionPattern: false
bypassSingleRootFolder: false
window.innerWidth: 980
window.innerHeight: 653
window.outerWidth: 0
window.outerHeight: 0
window.devicePixelRatio: 2
navigator.userAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_4 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13G35 Safari/601.1
navigator.platform: iPhone
navigator.language: fr-fr
screen.availWidth: 320
screen.availHeight: 460
screen.width: 320
screen.height: 480


Have you an idea ?