Help with Ubooquity new-setup - can't see my books
Greetings All, I'm new user to Ubooquity, finding it very fascinating and matching my simple needs to read my books collection over browser if possible. to keep it simple, instead of raspberry pi, I'm using old i386 headless linux box with some SSD attached for plex and Ubooquity. Everything looks okay though when I try to login with any users I setup to read the books, it throws me back out to user-login screen. so can't see any books.
video capturing the behavior
Below are the logs and setup details.
pi@nas:~$
pi@nas:~$
pi@nas:~$ uname -r
6.1.0-22-686-pae
pi@nas:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
pi@nas:~$ lscpu
Architecture: i686
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 36 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
CPU family: 6
Model: 15
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: 11
BogoMIPS: 5320.08
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl smx est tm2
ssse3 cx16 xtpr pdcm lahf_lm pti dtherm
Caches (sum of all):
L1d: 64 KiB (2 instances)
L1i: 64 KiB (2 instances)
L2: 4 MiB (1 instance)
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: KVM: Mitigation: VMX unsupported
L1tf: Mitigation; PTE Inversion
Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Meltdown: Mitigation; PTI
Mmio stale data: Unknown: No mitigations
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Vulnerable
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Srbds: Not affected
Tsx async abort: Not affected
pi@nas:~$ pwd
/home/pi
pi@nas:~$ ls -l
total 19100
-rwxrwxrwx 1 pi pi 19243825 Jun 16 15:29 Ubooquity.jar
drwxr-xr-x 4 pi pi 4096 Jun 16 15:31 cache
drwxr-xr-x 2 pi pi 4096 Jun 16 15:31 fonts
drwxrwxrwx 7 pi pi 4096 Jun 16 15:22 jre1.8.0_421
drwxr-xr-x 2 pi pi 4096 Jun 17 02:42 logs
-rw-r--r-- 1 pi pi 1699 Jun 17 03:12 preferences.json
drwxr-xr-x 3 pi pi 4096 Jun 16 16:56 themes
-rw-r--r-- 1 pi pi 258048 Jun 17 03:14 ubooquity-5.mv.db
-rw-r--r-- 1 pi pi 17539 Jun 17 02:43 ubooquity-5.trace.db
-rw-r--r-- 1 pi pi 64 Jun 16 16:22 webadmin.cred
pi@nas:~$ cat preferences.json
{
"filesPaths" : [ {
"pathString" : "/files",
"userName" : [ "reader", "pi" ]
}, {
"pathString" : "/",
"userName" : [ "reader", "pi" ]
} ],
"comicsPaths" : [ {
"pathString" : "/comics",
"userName" : [ ]
} ],
"booksPaths" : [ {
"pathString" : "/mnt/8000SAM1/8000/Docs_Devnet/scala_related",
"userName" : [ "pi", "reader" ]
} ],
"users" : [ {
"name" : "reader",
"passwordHash" : "c19f4fd0ce688506f543170e8fcaa8451bd1d512817c8dcb0990af46452b827e"
}, {
"name" : "pi",
"passwordHash" : "c19f4fd0ce688506f543170e8fcaa8451bd1d512817c8dcb0990af46452b827e"
} ],
"isFilesProviderEnabled" : true,
"isComicsProviderEnabled" : true,
"isBooksProviderEnabled" : true,
"isUserManagementEnabled" : true,
"libraryPortNumber" : 2202,
"adminPortNumber" : 2203,
"comicWidth" : 160,
"comicHeight" : 230,
"comicsPaginationNumber" : 30,
"bookWidth" : 160,
"bookHeight" : 230,
"booksPaginationNumber" : 50,
"minimizeToTray" : false,
"minimizeOnStartup" : false,
"autoscanPeriod" : 720,
"isRemoteAdminEnabled" : true,
"theme" : "NorthernLights",
"isShrinkingCacheEnabled" : false,
"shrunkPageWidth" : 1536,
"shrunkPageHeight" : 2500,
"shrinkingCachePath" : "",
"autoScanAtLaunch" : true,
"reverseProxyPrefix" : "",
"keystorePath" : "",
"keystorePassword" : "",
"isOpdsProviderEnabled" : false,
"folderExclusionPattern" : "",
"bypassSingleRootFolder" : false,
"enableFolderMetadataDisplay" : true,
"bookmarkUsingCookies" : false,
"displayTitleInsteadOfFileName" : false,
"keepUnreachableSharedFolders" : true,
"isCalibreLibrary" : false,
"instanceId" : "2f57af2db55843c9b12770c110b7d867"
}
pi@nas:~$ java -jar Ubooquity.jar -headless --remoteadmin
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: -1, adminport: -1, remoteadmin: true, host: null, debug: false, execdir: /home/pi
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - #############################
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - #############################
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Java version: 17.0.11
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Java vendor: Debian
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK Server VM
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 239 MB
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - OS version: 6.1.0-22-686-pae
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - OS architecture: i386
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20240617 03:18:09 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20240617 03:18:09 [main] INFO org.eclipse.jetty.util.log - Logging initialized @2195ms to org.eclipse.jetty.util.log.Slf4jLog
20240617 03:18:09 [main] INFO com.ubooquity.b - Starting internal server...
20240617 03:18:09 [main] INFO com.ubooquity.b - Reverse proxy prefix is not activated
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20240617 03:18:09 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:18:09 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20240617 03:18:09 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 4, added or updated: 0, removed: 0]
20240617 03:18:09 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20240617 03:18:09 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@f687fe{/,null,AVAILABLE,@admin}
20240617 03:18:09 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@dda234{/,null,AVAILABLE,@library}
20240617 03:18:09 [main] INFO o.e.jetty.server.AbstractConnector - Started library@3e4aff{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20240617 03:18:09 [main] INFO o.e.jetty.server.AbstractConnector - Started admin@132416e{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
20240617 03:18:09 [main] INFO org.eclipse.jetty.server.Server - Started @2357ms
20240617 03:18:09 [main] INFO com.ubooquity.b - Internal server started. Listening on port 2202 (library) and 2203 (admin)
Tyep Q then ENTER to exit
20240617 03:18:10 [Timer-1] INFO com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20240617 03:18:11 [Timer-1] INFO com.ubooquity.Ubooquity - Latest version available: 2.1.2 - Current version: 2.1.2
other logs from Admin
20240617 03:37:22 [qtp13082651-21] INFO com.ubooquity.d.c - User successfuly logged in. [login:pi][ip:10.0.0.27]
20240617 03:37:37 [qtp13082651-33] INFO com.ubooquity.d.c - User successfuly logged in. [login:reader][ip:10.0.0.27]
20240617 03:40:26 [qtp13082651-34] INFO com.ubooquity.d.c - User successfuly logged in. [login:pi][ip:10.0.0.27]
20240617 03:40:51 [qtp13082651-35] INFO com.ubooquity.d.c - User successfuly logged in. [login:pi][ip:10.0.0.27]
20240617 03:41:11 [qtp13082651-35] INFO com.ubooquity.d.c - User successfuly logged in. [login:pi][ip:10.0.0.27]
20240617 03:41:20 [qtp13082651-34] INFO com.ubooquity.d.c - User successfuly logged in. [login:reader][ip:10.0.0.27]
EDIT
strange though I observed for some reason the scan doesn't reflect the books under 'added/updated' section but only under total.
Another set of logs
pi@nas:~$ java -jar Ubooquity.jar -headless --remoteadmin
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: -1, adminport: -1, remoteadmin: true, host: null, debug: false, execdir: /home/pi
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - #############################
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - #############################
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - Java version: 17.0.11
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - Java vendor: Debian
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK Server VM
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 239 MB
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - OS version: 6.1.0-22-686-pae
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - OS architecture: i386
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20240617 03:56:25 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20240617 03:56:28 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20240617 03:56:28 [main] INFO org.eclipse.jetty.util.log - Logging initialized @5210ms to org.eclipse.jetty.util.log.Slf4jLog
20240617 03:56:28 [main] INFO com.ubooquity.b - Starting internal server...
20240617 03:56:28 [main] INFO com.ubooquity.b - Reverse proxy prefix is not activated
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20240617 03:56:28 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:56:28 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20240617 03:56:28 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 4, added or updated: 0, removed: 0]
20240617 03:56:28 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20240617 03:56:28 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@f687fe{/,null,AVAILABLE,@admin}
20240617 03:56:28 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@dda234{/,null,AVAILABLE,@library}
20240617 03:56:28 [main] INFO o.e.jetty.server.AbstractConnector - Started library@3e4aff{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20240617 03:56:28 [main] INFO o.e.jetty.server.AbstractConnector - Started admin@12a4eed{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
20240617 03:56:28 [main] INFO org.eclipse.jetty.server.Server - Started @5361ms
20240617 03:56:28 [main] INFO com.ubooquity.b - Internal server started. Listening on port 2202 (library) and 2203 (admin)
Tyep Q then ENTER to exit
20240617 03:56:29 [Timer-1] INFO com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20240617 03:56:30 [Timer-1] INFO com.ubooquity.Ubooquity - Latest version available: 2.1.2 - Current version: 2.1.2
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20240617 03:56:50 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:56:50 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20240617 03:56:50 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 4, added or updated: 0, removed: 0]
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20240617 03:57:11 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:57:11 [Scanner thread] WARN com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20240617 03:57:11 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 4, added or updated: 0, removed: 0]
Customer support service by UserEcho
For a second I was shocked when I read i386 running Plex and Ubooquity, then Iooked at the log... :D
Have you set it up for each user? Each user has to be given specific access to each library by the administrator. Also, try just turning off users and having no login required?