Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubooquity - won't detect books #46

Closed
1 task done
jlaidlaw86 opened this issue Aug 14, 2023 · 3 comments
Closed
1 task done

Ubooquity - won't detect books #46

jlaidlaw86 opened this issue Aug 14, 2023 · 3 comments

Comments

@jlaidlaw86
Copy link

jlaidlaw86 commented Aug 14, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when i access the ubooquity webui my books are empty and a scan doesnt find anything.

Expected Behavior

ubooquity should detect my books on scan

Steps To Reproduce

I installed ubooquity through portainer
I set a bind for /books (the container folder) to /volume1/Books (where all my books are shared on the host).

Environment

- OS:Synology  DSM 7.2 (Model DSM 418)
- How docker service was installed:Portainer

CPU architecture

arm64

Docker creation

version: '3.8'
services:
  ubooquity:
    image: linuxserver/ubooquity:latest
    ports:
      - 2202:tcp
      - 2203:tcp
    environment:
      MAXMEM: '512'
      PUID: '1000'
      PGID: '1000'
      TZ: America/Chicago
    volumes:
      - ':/books'
      - ':/comics'
      - ':/config'

Container logs

20230813 22:37:55 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
20230813 22:37:55 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20230813 22:37:55 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@6c4906d3{/,null,AVAILABLE,@admin}
20230813 22:37:55 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@65987993{/,null,AVAILABLE,@library}
20230813 22:37:55 [main] INFO  o.e.jetty.server.AbstractConnector - Started library@4b8d604b{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20230813 22:37:55 [main] INFO  o.e.jetty.server.AbstractConnector - Started admin@5e7cd6cc{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
20230813 22:37:55 [main] INFO  org.eclipse.jetty.server.Server - Started @8154ms
20230813 22:37:55 [main] INFO  com.ubooquity.b - Internal server started. Listening on port 2202 (library) and 2203 (admin)
Tyep Q then ENTER to exit
[ls.io-init] done.
20230813 22:37:56 [Timer-0] INFO  com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20230813 22:37:57 [Timer-0] INFO  com.ubooquity.Ubooquity - Latest version available: 2.1.2 - Current version: 2.1.2
20230813 22:38:41 [qtp2074820378-22] INFO  com.ubooquity.d.a - Admin cookie token invalid or too old. Access Denied. [ip:2600:1700:f02:7ec0:d1d8:174b:ba56:506]
20230813 22:38:48 [qtp2074820378-24] INFO  com.ubooquity.d.a - Admin cookie token invalid or too old. Access Denied. [ip:2600:1700:f02:7ec0:d1d8:174b:ba56:506]
20230813 22:38:52 [qtp2074820378-36] INFO  com.ubooquity.d.a - Admin cookie token invalid or too old. Access Denied. [ip:2600:1700:f02:7ec0:d1d8:174b:ba56:506]
20230813 22:38:52 [qtp2074820378-36] INFO  com.ubooquity.d.a - Admin successfully logged in
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning books directories
20230813 22:39:02 [Scanner thread] WARN  com.ubooquity.data.database.a - Could not find id of root path /books (ignore this warning if you just added a new root directory)
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.database.a - Inserting/updating book entry in database : /books
20230813 22:39:02 [Scanner thread] ERROR com.ubooquity.data.feeder.a - Error while scanning shared book folders
java.lang.NullPointerException: null
	at java.util.Objects.requireNonNull(Objects.java:203) ~[na:1.8.0_372]
	at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) ~[na:1.8.0_372]
	at java.util.Arrays.asList(Arrays.java:3800) ~[na:1.8.0_372]
	at com.ubooquity.data.feeder.a.a(SourceFile:297) [Ubooquity.jar:2.1.2]
	at com.ubooquity.data.feeder.a.b(SourceFile:105) [Ubooquity.jar:2.1.2]
	at java.lang.Thread.run(Thread.java:750) ~[na:1.8.0_372]
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.database.a - Found 1 empty folders
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.database.a - Deleted empty folders from database. Looking for new ones...
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books folder content cache populated
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning comics directories
20230813 22:39:02 [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)
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.database.c - Inserting/updating comic entry in database : /comics
20230813 22:39:02 [Scanner thread] ERROR com.ubooquity.data.feeder.a - Error while scanning comics shared directories
java.lang.NullPointerException: null
	at java.util.Objects.requireNonNull(Objects.java:203) ~[na:1.8.0_372]
	at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) ~[na:1.8.0_372]
	at java.util.Arrays.asList(Arrays.java:3800) ~[na:1.8.0_372]
	at com.ubooquity.data.feeder.a.b(SourceFile:451) [Ubooquity.jar:2.1.2]
	at com.ubooquity.data.feeder.a.b(SourceFile:112) [Ubooquity.jar:2.1.2]
	at java.lang.Thread.run(Thread.java:750) ~[na:1.8.0_372]
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.database.c - Found 1 empty folders
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.database.c - Deleted empty folders from database. Looking for new ones...
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics folder content cache populated
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20230813 22:39:02 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.provider.api.admin.a - Applying preferences modifications and restarting server
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.b - Stopping internal server...
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.data.feeder.a - Aborting content scan...
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.data.feeder.a - Waiting for scanner thread to stop
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.data.feeder.a - Scanner thread stopped
20230813 22:39:05 [Thread-23] INFO  o.e.jetty.server.AbstractConnector - Stopped library@4b8d604b{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20230813 22:39:05 [Thread-23] INFO  o.e.jetty.server.AbstractConnector - Stopped admin@5e7cd6cc{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
20230813 22:39:05 [Thread-23] INFO  o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@65987993{/,null,UNAVAILABLE,@library}
20230813 22:39:05 [Thread-23] INFO  o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@6c4906d3{/,null,UNAVAILABLE,@admin}
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.b - Internal server stopped
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.Ubooquity - Saving preferences
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.b - Starting internal server...
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.b - Reverse proxy prefix: ubooquity
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning books directories
20230813 22:39:05 [Thread-23] INFO  org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20230813 22:39:05 [Scanner thread] WARN  com.ubooquity.data.database.a - Could not find id of root path /books (ignore this warning if you just added a new root directory)
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.database.a - Inserting/updating book entry in database : /books
20230813 22:39:05 [Thread-23] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@5e314bd1{/,null,AVAILABLE,@admin}
20230813 22:39:05 [Thread-23] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@6126ec2e{/,null,AVAILABLE,@library}
20230813 22:39:05 [Thread-23] INFO  o.e.jetty.server.AbstractConnector - Started library@28084303{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20230813 22:39:05 [Scanner thread] ERROR com.ubooquity.data.feeder.a - Error while scanning shared book folders
java.lang.NullPointerException: null
	at java.util.Objects.requireNonNull(Objects.java:203) ~[na:1.8.0_372]
	at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) ~[na:1.8.0_372]
	at java.util.Arrays.asList(Arrays.java:3800) ~[na:1.8.0_372]
	at com.ubooquity.data.feeder.a.a(SourceFile:297) [Ubooquity.jar:2.1.2]
	at com.ubooquity.data.feeder.a.b(SourceFile:105) [Ubooquity.jar:2.1.2]
	at java.lang.Thread.run(Thread.java:750) ~[na:1.8.0_372]
20230813 22:39:05 [Thread-23] INFO  o.e.jetty.server.AbstractConnector - Started admin@34de42fc{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
20230813 22:39:05 [Thread-23] INFO  org.eclipse.jetty.server.Server - Started @78251ms
20230813 22:39:05 [Thread-23] INFO  com.ubooquity.b - Internal server started. Listening on port 2202 (library) and 2203 (admin)
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.database.a - Found 1 empty folders
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.database.a - Deleted empty folders from database. Looking for new ones...
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books folder content cache populated
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning comics directories
20230813 22:39:05 [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)
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.database.c - Inserting/updating comic entry in database : /comics
20230813 22:39:05 [Scanner thread] ERROR com.ubooquity.data.feeder.a - Error while scanning comics shared directories
java.lang.NullPointerException: null
	at java.util.Objects.requireNonNull(Objects.java:203) ~[na:1.8.0_372]
	at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) ~[na:1.8.0_372]
	at java.util.Arrays.asList(Arrays.java:3800) ~[na:1.8.0_372]
	at com.ubooquity.data.feeder.a.b(SourceFile:451) [Ubooquity.jar:2.1.2]
	at com.ubooquity.data.feeder.a.b(SourceFile:112) [Ubooquity.jar:2.1.2]
	at java.lang.Thread.run(Thread.java:750) ~[na:1.8.0_372]
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.database.c - Found 1 empty folders
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.database.c - Deleted empty folders from database. Looking for new ones...
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics folder content cache populated
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20230813 22:39:05 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2023
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Nov 13, 2023
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

2 participants