0
Not a bug

[2.0.2] Memory?

Telecart 8 years ago updated 8 years ago 8

I've had ubooquity open on my Mac Mini server for maybe a week now, using it intermittently. Noticing some sluggishness, I opened activity monitor and noticed the "launcher" app is now taking well over 1GB of RAM. I closed Ubooquity and reopened it and it seems fine, but wondering if there's a memory management issue maybe.

0
Under review

PDF cover generation bug with OpenJDK

shagr4th 8 years ago updated by Tom 8 years ago 5

FYI, if some of you have issues with PDF covers and Ubooquity 2.X, maybe this is due to this OpenJDK bug: https://bugs.openjdk.java.net/browse/JDK-8048782


I'll try to switch later to Oracle JDK or OpenJDK 9 to confirm the issue

0
Under review

[2.0.2] Database corruption

lkj 8 years ago updated by Tom 8 years ago 9

Hi,


Following a few days of everything working smoothly, today, everything is unfortunately broken.


Initially, I was able to connect to the admin interface. After entering the admin password, ubooquity seemed to go into a redirection loop.


Some relevant log messages:


20170513 16:25:53 [qtp2898168-6297] ERROR com.ubooquity.data.database.f - Cound not get session token entry for user : UbooquityInternalAdministratorUserName
org.h2.jdbc.JdbcSQLException: The database has been closed [90098-193]
20170513 16:25:53 [qtp2898168-6297] INFO  com.ubooquity.d.a - Admin cookie token invalid or too old. Access Denied. [ip:192.168.1.113]
20170513 16:25:53 [qtp2898168-3451] ERROR com.ubooquity.data.database.f - Cound not get session token entry for user : UbooquityInternalAdministratorUserName
org.h2.jdbc.JdbcSQLException: The database has been closed [90098-193]
20170513 16:26:03 [qtp2898168-6299] ERROR com.ubooquity.data.database.f - Error while creating/updating session in database
org.h2.jdbc.JdbcSQLException: The database has been closed [90098-193]
20170513 16:26:03 [qtp2898168-6299] INFO  com.ubooquity.d.a - Admin successfully logged in
20170513 16:26:03 [qtp2898168-6302] ERROR com.ubooquity.data.database.f - Cound not get session token entry for user : UbooquityInternalAdministratorUserName
org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: File corrupted in chunk 595347, expected page length 4..256, got 1409434955 [1.4.193/6]" [50000-193]
20170513 16:26:03 [qtp2898168-6302] INFO  com.ubooquity.d.a - Admin cookie token invalid or too old. Access Denied. [ip:192.168.1.113]
20170513 16:26:03 [qtp2898168-6298] ERROR com.ubooquity.data.database.f - Cound not get session token entry for user : UbooquityInternalAdministratorUserName
org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: File corrupted in chunk 595347, expected page length 4..256, got 1409434955 [1.4.193/6]" [50000-193]

[much more of this before the server was shut down]


When trying to restart, the following happens:


20170513 16:28:03 [main] INFO  com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: 2200, adminport: 2202, remoteadmin: true, host: null, debug: false, execdir: /path/to/comics
20170513 16:28:16 [main] ERROR com.ubooquity.data.database.d - Cound not get number of existing tables
org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: File corrupted in chunk 595347, expected page length 4..256, got 1409434955 [1.4.193/6]" [50000-193]
20170513 16:28:16 [main] ERROR com.ubooquity.data.database.d - Could not configure collation strength
org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: File corrupted in chunk 595347, expected page length 4..256, got 1409434955 [1.4.193/6]" [50000-193]
20170513 16:28:16 [main] ERROR com.ubooquity.data.database.c - Could not create COMIC table
org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: File corrupted in chunk 595347, expected page length 4..256, got 1409434955 [1.4.193/6]" [50000-193]
20170513 16:28:16 [main] ERROR com.ubooquity.Ubooquity - Exiting application because of exception
org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: File corrupted in chunk 595347, expected page length 4..256, got 1409434955 [1.4.193/6]" [50000-193]
20170513 16:28:16 [main] ERROR com.ubooquity.Ubooquity - Failed to display error dialog
java.lang.IllegalStateException: Toolkit not initialized


and that's the end of it. As mentioned in the subject, this is ubooquity 2.0.2 running on ubuntu 16.04.2.


thanks.



0
Under review

https to http redirect issue while behind a reverse proxy. (ver 2.0.2)

Ray Rawls 8 years ago updated by Mario Westphal 3 weeks ago 11

So testing out the new version! looks slick, thanks for all the work on the new version!


So I run my ubooquity site behind a proxy because reasons, only 80 and 443 work for me.  Anyway when I load the page via (https:/mysite.com/) and login From the landing page i can click on Latest comics with no issue the page loads all is great. When I click on my comic root (Comic) it redirects me to a (http://mysite.com/comics/1/) dropping the https:// (i can manually put in https://mysite.com) and all works as expected.  For some reason it just drops the https:// opening that link.

0
Answered

Database Backup / Rebuild

Bobby Hill 8 years ago updated by hitnrun30 7 years ago 6

Would simply making a copy of the .db file be suitable as a backup?  If I reinstalled Ubooquity and dropped the file into my Ubooquity folder, would it be recognized?


With as heavily skinned as this program can be, if the database gets wiped all the links get changed to new values.


If it's not as simple as replacing the fresh install's database file with the old file, can we get a to-do for an option in the Admin screen to load from a database file?

Answer
Tom 8 years ago

I just wrote a page describing the directory structure of Ubooquity so that you can know what contains what:

https://vaemendis.github.io/ubooquity-doc/pages/dir-structure.html


Basically, if you want to backup your installation and restore it without having to rescan your files, you'll need:


  • preferences.json (your settings)
  • ubooquity-5.mv.db (the database)
  • webadmin.cred (contains your admin password)
  • the cache folder (the covers of your books)
  • the themes folder (if you added additional themes inside)

So if you don't care about wasting a few megs, you might as well just backup and restore your whole Ubooquity directory without the "jar" file (or with, if you want to keep the same version ).

0

Comics out of order in search list

Zack Weishaus 8 years ago updated by Jamyz 8 years ago 1

When I navigate to a folder manually, comics are displayed in order. Even when using the flat grouping, issues of a certain series are kept together and in order (for the most part - I know there is a known bug in which, in the case of a series with over 100 issues, issue 100-109 are displayed after issue 10, 110-119 are displayed after 11, and so on).

However, when I do a search, the results are given in no particular order. Not only are issues of the same series not grouped together, when issues of the same series do turn up next to each other, they're usually displayed out of order.

Image 202


0

Unable to access Ubooquity when Windows Firewall is enabled

lanceuppercut 8 years ago updated by clockwork42 6 years ago 2

Ubooquity was working a while ago and at some point broke and I've only gotten around to looking at it.


I'm unable to access the server from another computer on the same network, using the internal IP (192.168.1.14:2202/admin) if the Windows Firewall is turned on. I've tried adding rules to allow 2202 for both TCP and UDP for incoming but I am still not able to access it when the firewall is enabled.


What am I missing? If I disable it, it works right away, as expected. I don't have any other firewalls in place and just disabling the Windows Firewall to get it to work, leads me to believe that's where the problem lies, somehow.

0

Wrong IP address used by ubooquity

papnikol 8 years ago updated by Bobby Hill 8 years ago 1

HI, my PC is accessing 2 LANS, one belonging to the router (and thus the allowing access to internet) and the other is local only and cannot access the internet. Unfortunately, ubooquity automatically selects the latter for assgning a local address, so I can not access my library from outside.


Is there a way to manually select a LAN or an address?

0
Under review

[2.0] Updated Synology instructions?

theotherjasonfischer 8 years ago updated 8 years ago 3

Just wondering if the Synology instructions are going to be updated for the new 2.0 release. It looks great, but I can't quite get the syntax for the .conf file down to get it to launch.

0

cover extraction on debian linux

Dochopper 8 years ago updated by Matthieu 8 years ago 1

can I get an idea of the method being used to extract cover art from .cbr files? on my new linux box it's not doing it and I'm sure I am just missing a package or 2...


I get "20170429 22:22:00 [Scanner thread] WARN com.ubooquity.data.feeder.b - Could not extract cover for comic: /home/booq/library/[filename].cbr" for every one of the comics that I've tried. I added the 7zip package thinking that would help, but it didn't. Any suggestions would be helpful.