0
Searching answer
No content when user security enabled
If I enable the "Protect shared content with user accounts" option and log in with one of the accounts, the comic section is blank. I can actually see the link to comics but once in, there's nothing. I did add the usernames to the shared comic folder. If they aren't there, I get the this user "Sorry, you are not authorized to access any file on this server". So I assume I set the permissions right. Or am I doing something wrong?
Customer support service by UserEcho
[Edit] Done in 1.7.0
For now I'm quite puzzled by this problem. So if you have time to "play" a little bit with the settings (try to share another folder, create another user etc.) and find some hints, it would help a lot.
The only log messages that seems like it could be related was
"20150305 15:20:59 [Scanner thread] WARN com.ubooquity.data.database.b - Could not find id of root path /shares/Installs/Comics (ignore this warning if you just added a new root directory)"
It only happens when beginning a scan.
And "20150305 15:25:03 [pool-2-thread-16] WARN com.ubooquity.provider.page.a - Entry not available, either you don't have the right to see it or it is a file format not supported for online reading. ID: 1747"
This occured when I went straight to a book in the comic reader "/comicreader/1747" that I had previously visited when security was turned off.
I hope that information helps.
20150513 11:06:36 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20150513 11:06:36 [pool-2-thread-4] INFO com.ubooquity.b - Reverse proxy prefix is not activated
20150513 11:06:36 [Scanner thread] WARN com.ubooquity.data.database.b - Could not find id of root path J: (ignore this warning if you just added a new root directory)
20150513 11:06:36 [pool-2-thread-4] INFO com.ubooquity.b - Internal server started. Listening on port 2202
20150513 11:06:42 [Scanner thread] ERROR com.ubooquity.data.feeder.a - Error while scanning comics shared directories
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Unknown Source) ~[na:1.8.0_45]
at java.util.Arrays$ArrayList.<init>(Unknown Source) ~[na:1.8.0_45]
at java.util.Arrays.asList(Unknown Source) ~[na:1.8.0_45]
at com.ubooquity.data.feeder.a.c(SourceFile:442) [Ubooquity.jar:1.7.6]
at com.ubooquity.data.feeder.a.b(SourceFile:39) [Ubooquity.jar:1.7.6]
at com.ubooquity.data.feeder.a$1.run(SourceFile:127) [Ubooquity.jar:1.7.6]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_45]
20150513 11:06:42 [Scanner thread] WARN com.ubooquity.data.database.b - Could not find id of root path J: (ignore this warning if you just added a new root directory)
20150513 11:06:42 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20150513 11:06:42 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20150513 11:06:44 [pool-2-thread-14] INFO com.ubooquity.provider.webadmin.j - Admin logged off
20150513 11:06:55 [pool-2-thread-19] INFO com.ubooquity.b - User logged off
20150513 11:07:12 [pool-2-thread-19] INFO com.ubooquity.b - Cookie token invalid or too old. Access Denied. [login:][ip:216.47.218.231]
20150513 11:07:12 [pool-2-thread-19] INFO com.ubooquity.b - User successfuly logged in. [login:][ip:]
20150513 11:12:12 [pool-2-thread-11] INFO com.ubooquity.b - User logged off
20150513 14:36:08 [pool-2-thread-17] INFO com.ubooquity.b - User successfuly logged in. [login:][ip:]
20150513 14:37:21 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20150513 14:37:21 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20150513 14:37:21 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20150513 14:37:21 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20150513 14:37:21 [Scanner thread] WARN com.ubooquity.data.database.b - Could not find id of root path J: (ignore this warning if you just added a new root directory)
20150513 14:37:24 [Scanner thread] INFO com.ubooquity.b.c - Reading metadata of comic file: J:\\Comics\Misc\Mad Max - Fury Road Inspired Artists Deluxe Edition (2015) (Digital) (Dogmatix-Empire).cbr
20150513 14:37:24 [Scanner thread] INFO com.ubooquity.data.database.b - Inserting/updating comic entry in database : J:\Comics\Misc\Mad Max - Fury Road Inspired Artists Deluxe Edition (2015) (Digital) (Dogmatix-Empire).cbr
20150513 14:37:31 [Scanner thread] ERROR com.ubooquity.data.feeder.a - Error while scanning comics shared directories
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Unknown Source) ~[na:1.8.0_45]
at java.util.Arrays$ArrayList.<init>(Unknown Source) ~[na:1.8.0_45]
at java.util.Arrays.asList(Unknown Source) ~[na:1.8.0_45]
at com.ubooquity.data.feeder.a.c(SourceFile:442) [Ubooquity.jar:1.7.6]
at com.ubooquity.data.feeder.a.b(SourceFile:39) [Ubooquity.jar:1.7.6]
at com.ubooquity.data.feeder.a$1.run(SourceFile:127) [Ubooquity.jar:1.7.6]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_45]
20150513 14:37:31 [Scanner thread] WARN com.ubooquity.data.database.b - Could not find id of root path J: (ignore this warning if you just added a new root directory)
20150513 14:37:31 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20150513 14:37:31 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
I can send u the full log if u like?
This was on a QNAP Linux NAS using the qpkg package distro here:
http://forum.qnap.com/viewtopic.php?f=320&t=109450
java.lang.NullPointerException: null........
I just readded my share path and changed it to the full windows UNC path: \\peacemaker\comics as opposed to just using J:\
I will keep an eye on the logs and see if this clears up the errors and report back.