
Koreader not loading pages opds ubooquity v3
I have noticed that opds in koreader is not working right with ubooquity v3. On default I can see 3 pages in opds koreader, changing titles per page in ubooquity settings influences this. For example putting 300 titles per page would give me more pages in opds koreader but sadly still not everything.
Is there any way to fix this somehow?
ps. I put this in questions because maybe this is intended however to me it feels like a bug.

Missing volumes
Hi Tom,
I don’t know if you know a tool named sonaar which, for series, helps to link a directory with an official list of episodes. If a released one is missing you get an indicator with the missing episode... there is also other function but I am not talking about it (automatic download and what ever...) and that is not the purpose of my request.
Indeed I was wondering if we can imagine a connection to comics database (bedetheque etc.) and Ubooquity tolet us know if some albums of the serie have been published but not in the collection... it would be a super useful tool, even if I can imagine that developing connectors to those public database could be a nightmare...
Have look into sonaar, the UI and way of processing the data is super smooth and very well done if you want to have some ideas of what it can look like.
Thank you for reading and maybe for considering that feature !

Cookies vs. Server progress settings
Hi!
I'm running Ubooquity 3.0.1 & I used to be on an earlier version - which I broke somehow, I'm not exactly sure which but I would assume v2. It used to have an option to either store book progress in cookies, or the server itself. Any chance that setting might make a comeback in a later iteration of v3? I share my library with my family & this setting was helpful.
Thanks!

For some books only, the metadata (cover and description) do not show up
Hi,
I use Calibre (the latest version) to create my library. I download covers and description and embed them in the book files. Then I start a new scan in Ubooquity. For most of the books, it works just fine. But in some rare cases, whatever I do, it doesn't show neither the cover nor the description in Ubooquity. Could you please help me figure out why ?

Feature request - PHP support for Jetty?
Hi Tom,
Would it be possible to add php support to the underlying webserver?
If so i would also love to have database support also (mysql prefered).
I got a separate webserver with just for keeping track of my favorites/current reading, ;)
Or if you would like to implement a simular thing?, i have like 3 fields in the DB, user, "name" and url, like: /comics/65/

V3.0.1 beta scans not showing complete on dashboard but logs show complete
When a scan is started it adds all the new items found and the user can view/ download etc but on the admin dashboard it does not show as complete the Total line is not populated. The log file though indicates that it is complete or at least it does from what I can tell. When I try to start another scan I get the message that one is already running. At the moment I simply stop and restart the server to resolve this. When I restart it then shows the total line populated from the previous scan
Here are the last lines from my log file after I stopped and restarted the server:
20231105 08:36:25 [Scanner thread] INFO com.ubooquity.a.a.a.d - Inserting/updating opus entry in database : L:\Magazines\Crafts
20231105 08:36:26 [Scanner thread] INFO com.ubooquity.a.a.f - Found 14800 empty folders
20231105 08:36:28 [Scanner thread] INFO com.ubooquity.a.a.f - Deleted empty folders from database. Looking for new ones...
20231105 08:36:28 [Scanner thread] INFO com.ubooquity.a.a.f - Found 144 empty folders
20231105 08:36:29 [Scanner thread] INFO com.ubooquity.a.a.f - Deleted empty folders from database. Looking for new ones...
20231105 08:36:30 [Scanner thread] INFO com.ubooquity.a.b.a - Finished scanning directories. Populating caches...
20231105 08:36:35 [Scanner thread] INFO com.ubooquity.a.b.a - Caches populated
20231105 08:36:35 [Scanner thread] INFO com.ubooquity.a.b.a - Statistics: [total: 148999, added or updated: 8, removed: 0]
20231105 13:55:28 [AWT-EventQueue-0] INFO com.ubooquity.c.f - Applying preferences modifications and restarting server
20231105 13:55:28 [AWT-EventQueue-0] INFO com.ubooquity.a - Stopping internal server...
20231105 13:55:28 [AWT-EventQueue-0] INFO com.ubooquity.a.b.a - Aborting content scan...
20231105 13:55:28 [AWT-EventQueue-0] INFO com.ubooquity.a.b.a - Waiting for scanner thread to stop
20231105 13:55:33 [AWT-EventQueue-0] INFO com.ubooquity.a.b.a - Interrupting stuck scanner thread
20231105 13:55:33 [AWT-EventQueue-0] INFO com.ubooquity.a.b.a - Scanner thread stopped
20231105 13:55:33 [AWT-EventQueue-0] INFO org.eclipse.jetty.server.Server - Stopped Server@9a20cbd{STOPPING}[11.0.15,sto=0]
20231105 13:55:33 [AWT-EventQueue-0] INFO o.e.jetty.server.AbstractConnector - Stopped library@7126e26{HTTP/1.1, (http/1.1)}{0.0.0.0:2202}
20231105 13:55:33 [AWT-EventQueue-0] INFO o.e.jetty.server.AbstractConnector - Stopped admin@35adf623{HTTP/1.1, (http/1.1)}{0.0.0.0:2203}
20231105 13:55:33 [AWT-EventQueue-0] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@3bb9ca38{/,null,STOPPED,@library}
20231105 13:55:33 [AWT-EventQueue-0] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@5934153e{/,null,STOPPED,@admin}
20231105 13:55:33 [AWT-EventQueue-0] INFO com.ubooquity.a - Internal server stopped
20231105 13:55:33 [AWT-EventQueue-0] INFO c.u.pref.PreferencesRepository - Saving preferences...
20231105 13:55:33 [AWT-EventQueue-0] INFO com.ubooquity.a - Starting internal server...
20231105 13:55:33 [AWT-EventQueue-0] INFO com.ubooquity.a.b.a - Ignoring scan request as another scan is already running.
20231105 13:55:33 [Scanner thread] ERROR com.ubooquity.Ubooquity - Uncaught exception on thread: Scanner thread
org.h2.jdbc.JdbcSQLNonTransientException: General error: "org.h2.mvstore.MVStoreException: Reading from file sun.nio.ch.FileChannelImpl@9f60d0c failed at 189418556 (length -1), read 0, remaining 1536 [2.2.222/1]"; SQL statement:
select o.filepath from opus o
join (select filename, filesize, count(*) from opus group by filename, filesize having count(*) > 1 ) b
on o.filename = b.filename and o.filesize = b.filesize
order by o.filename [50000-222]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
at org.h2.message.DbException.get(DbException.java:212)
at org.h2.message.DbException.convert(DbException.java:407)
at org.h2.command.Command.executeQuery(Command.java:213)
at org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:131)
at com.ubooquity.a.a.a.a.c(SourceFile:596)
at com.ubooquity.a.a.e.f(SourceFile:156)
at com.ubooquity.a.b.a.h(SourceFile:116)
at com.ubooquity.a.b.a.b(SourceFile:102)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.h2.mvstore.MVStoreException: Reading from file sun.nio.ch.FileChannelImpl@9f60d0c failed at 189418556 (length -1), read 0, remaining 1536 [2.2.222/1]
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996)
at org.h2.mvstore.DataUtils.readFully(DataUtils.java:455)
at org.h2.mvstore.FileStore.readFully(FileStore.java:719)
at org.h2.mvstore.SingleFileStore.readFully(SingleFileStore.java:60)
at org.h2.mvstore.SingleFileStore.readFully(SingleFileStore.java:28)
at org.h2.mvstore.SFChunk.readFully(SFChunk.java:35)
at org.h2.mvstore.Chunk.readBufferForPage(Chunk.java:465)
at org.h2.mvstore.FileStore.readPage(FileStore.java:1960)
at org.h2.mvstore.MVStore.readPage(MVStore.java:1021)
at org.h2.mvstore.MVMap.readPage(MVMap.java:632)
at org.h2.mvstore.Page$NonLeaf.getChildPage(Page.java:1117)
at org.h2.mvstore.Cursor.hasNext(Cursor.java:64)
at org.h2.mvstore.tx.TransactionMap$CommittedIterator.fetchNext(TransactionMap.java:960)
at org.h2.mvstore.db.MVPrimaryIndex$MVStoreCursor.next(MVPrimaryIndex.java:440)
at org.h2.index.IndexCursor.next(IndexCursor.java:292)
at org.h2.table.TableFilter.next(TableFilter.java:425)
at org.h2.command.query.Select.gatherGroup(Select.java:517)
at org.h2.command.query.Select.queryGroup(Select.java:488)
at org.h2.command.query.Select.queryWithoutCache(Select.java:828)
at org.h2.command.query.Query.queryWithoutCacheLazyCheck(Query.java:197)
at org.h2.command.query.Query.query(Query.java:520)
at org.h2.command.query.Query.query(Query.java:483)
at org.h2.index.QueryExpressionIndex.find(QueryExpressionIndex.java:269)
at org.h2.index.QueryExpressionIndex.find(QueryExpressionIndex.java:152)
at org.h2.index.IndexCursor.find(IndexCursor.java:166)
at org.h2.table.TableFilter.next(TableFilter.java:394)
at org.h2.table.TableFilter.next(TableFilter.java:464)
at org.h2.command.query.Select$LazyResultQueryFlat.fetchNextRow(Select.java:1843)
at org.h2.result.LazyResult.hasNext(LazyResult.java:78)
at org.h2.result.FetchedResult.next(FetchedResult.java:34)
at org.h2.command.query.Select.queryFlat(Select.java:728)
at org.h2.command.query.Select.queryWithoutCache(Select.java:833)
at org.h2.command.query.Query.queryWithoutCacheLazyCheck(Query.java:197)
at org.h2.command.query.Query.query(Query.java:520)
at org.h2.command.query.Query.query(Query.java:483)
at org.h2.command.CommandContainer.query(CommandContainer.java:252)
at org.h2.command.Command.executeQuery(Command.java:192)
... 6 common frames omitted
Caused by: java.nio.channels.ClosedByInterruptException: null
at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:200)
at java.base/sun.nio.ch.FileChannelImpl.endBlocking(FileChannelImpl.java:172)
at java.base/sun.nio.ch.FileChannelImpl.readInternal(FileChannelImpl.java:992)
at java.base/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:964)
at org.h2.mvstore.DataUtils.readFully(DataUtils.java:441)
... 41 common frames omitted
20231105 13:55:33 [AWT-EventQueue-0] INFO com.ubooquity.a - Reverse proxy prefix: collection
Here is my system info:
Ubooquity version: | 3.0.1 built on 2023-10-15 at 17:52 |
Java version: | 21.0.1 |
Java vendor: | Oracle Corporation |
Java VM name: | Java HotSpot(TM) 64-Bit Server VM |
OS name: | Windows 11 |
OS version: | 10.0 |
OS architecture: | amd64 |
Number of processors: | 16 |
Max memory: | 8176 MB |
Free memory: | 216 MB |
Total memory: | 708 MB |
Let me know if there is anything else you need or changes that I should make to my setup to get it working.

V3.0.1 beta OPDS Error: At line 6, column 20: not well-formed (invalid token)
I just tried to use moon Reader on my android to view my book collection via OPDS. After I select my subcategory and I get to the author folders I get an error for invalidated OPDS content. Here is how I have everything organized with library access authorization for the two users
Books -->sci/fantasy->author->book folders for series & loose epub files
-->mystery ->Author
Login is successful and all sub categories display correctly, just the same error whenever I try to go below the subcategory.
Here is a partial dump from the log from moonreader the log repeats for each author on the first page of the library that it should be displaying. Let me know if there is anything else you need.
Invalidated OPDS content, please contact owner of this OPDS site to verify below error:At line 6, column 20: not well-formed (invalid token)
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:pse="http://vaemendis.net/opds-pse/ns" xmlns:opds="http://opds-spec.org/2010/catalog" xml:lang="en" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> <id>http://5c97d45ac2ab4b96abb759e355834af9-377148-folders</id>
<title>Fantasy & SciFi</title>
<updated>2023-10-29T18:15:38-05:00</updated>
<icon>/collection/theme/common/favicon.ico</icon>
<author>
<name>Ubooquity server</name>
<uri>/collection</uri>
</author>
<link type="application/atom+xml; profile=opds-catalog; kind=navigation" rel="self" href="/collection/opds/books/377148"/> <link type="application/atom+xml; profile=opds-catalog; kind=navigation" rel="start" href="/collection/opds"/>
<entry>
<title>Aaronovitch, Ben</title>
<id>377149</id>
<updated>2023-10-13T17:47:51-05:00</updated>
<content type="html"/>
<link type="application/atom+xml; profile=opds-catalog; kind=acquisition" rel="subsection" href="/collection/opds/books/377149/?displayFiles=true"/>
</entry>
<entry>
<title>Abraham, Daniel</title>
<id>377163</id>
<updated>2023-10-13T17:47:52-05:00</updated>
<content type="html"/>
<link type="application/atom+xml; profile=opds-catalog; kind=acquisition" rel="subsection" href="/collection/opds/books/377163/?displayFiles=true"/>
</entry>
ends
</feed>
<!-- Powered by Ubooquity -->

Question about category
Hello,
Thanks for the new version. I have a question.
What is the difference between folder categories? Are they just for sorting books, or is there something else? Are they related to the format (pdf, cbz, epub...)? And what does it change to check "Folder is a Calibre library"?

DJVU
Is there any plans to incorporate a DJVU reader to Ubooquity?
Unless I am doing something wrong I cannot read these files with the program?
Thanks
Ian

Feature Request - Media Management
Hi Tom,
as I have seen that you are in the middle of v3, I would first of all say a big thank you for the great work :)
I would like to add some feature requests here:
- Media Analysis: Identification of faulty files, wrong cbr/cbz archives, epubs etc.
- Duplicate Files: Identification of duplicates inside the library
is something like this planned?
Customer support service by UserEcho