Open sosukeinu opened 2 months ago
Can you reboot the container, start another scan, and then give the log output. Looks like it might have gotten stuck during a scan
I restarted the server, and it does, indeed seem to find the files. However, they are never added to the library.
LOGS: kavita20240705.log
odd. looks like its getting stuck on that folder. can you try pulling the books out, restarting kavita, and running the scan again?
Can't seem to have this working properly.
Also had a problem when scanning the first library.
I have recreated the server and it worked with the first library/folder.
Now, having added new library and folder mounted on
/mnt/pdf/xyz
it can't find any files on the second one.
Are there any logs I can share to allow troubleshooting? Could this be about file/ownership permissions?
The pdf files are hosted on the host server. The server is running on a docker engine. The pdf files are mapped into the /mnt/pdf folder.
TIA
[Kavita] [2024-07-16 15:14:27.694 +00:00 75] [Information] API.Services.Tasks.ScannerService [ScannerService] Beginning file scan on myfiles
[Kavita] [2024-07-16 15:14:27.694 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 1: Scan Files
[Kavita] [2024-07-16 15:14:27.694 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 1.A: Process 1 folders
[Kavita] [2024-07-16 15:14:27.695 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 1.B: Scan files in /mnt/pdf/myfiles
[Kavita] [2024-07-16 15:14:27.695 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 1.C: Process files in /mnt/pdf/myfiles
[Kavita] [2024-07-16 15:14:27.695 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 2: Track Found Series
[Kavita] [2024-07-16 15:14:27.695 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 3: Process Parsed Series
[Kavita] [2024-07-16 15:14:27.695 +00:00 75] [Information] API.Services.Tasks.ScannerService [ScannerService] Finished file scan in 0 milliseconds. Updating database
[Kavita] [2024-07-16 15:14:27.695 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 4: Save Library
[Kavita] [2024-07-16 15:14:27.711 +00:00 75] [Information] API.Services.Tasks.ScannerService [ScannerService] Finished library scan of 0 series in 18 milliseconds for myfiles. There were no changes
[Kavita] [2024-07-16 15:14:27.711 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Library myfiles Step 5: Remove Deleted Series
[Kavita] [2024-07-16 15:14:27.711 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Removing Series that were not found during the scan
[Kavita] [2024-07-16 15:14:27.711 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Found 0 series that needs to be removed: []
[Kavita] [2024-07-16 15:14:27.711 +00:00 75] [Debug] API.Services.Tasks.ScannerService [ScannerService] Removing Series that were not found during the scan - complete
[Kavita] [2024-07-16 15:14:27.713 +00:00 37] [Information] API.Services.Tasks.CleanupService Performing cleanup of Cache directories
[Kavita] [2024-07-16 15:14:27.713 +00:00 37] [Information] API.Services.Tasks.CleanupService Cache directory purged
[Kavita] [2024-07-16 15:14:29.635 +00:00 77] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 1.0041 ms
[Kavita] [2024-07-16 15:14:29.636 +00:00 76] [Information] API.Controllers.AccountController confirm-email failed from invalid registered email: redacted@gmail.com
[Kavita] [2024-07-16 15:14:29.636 +00:00 76] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP POST /api/account/confirm-email-update responded 400 in 0.7940 ms
[Kavita] [2024-07-16 15:14:29.691 +00:00 76] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 0.4332 ms
[Kavita] [2024-07-16 15:14:29.740 +00:00 76] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 0.3881 ms
[Kavita] [2024-07-16 15:14:47.659 +00:00 77] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 0.8325 ms
[Kavita] [2024-07-16 15:14:47.711 +00:00 73] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 0.6615 ms
[Kavita] [2024-07-16 15:14:47.768 +00:00 73] [Information] Serilog.AspNetCore.RequestLoggingMiddleware HTTP GET /api/theme responded 200 in 0.6120 ms
What happened?
I've been trying over the past few weeks to get Kavita working on my home network. Every time I start it up, I try force scanning, but nothing shows up. I've even set up two very minimal folders just to try and get it figured out.
and
The only reason I have that extra level in J.R.R. Tolkien, is just incase I didn't have the requisite nesting correct.
What did you expect?
The scan to find the files and add them to the library.
Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.
0.8.1 - Stable
What operating system is Kavita being hosted from?
Docker (Dockerhub Container)
If the issue is being seen on Desktop, what OS are you running where you see the issue?
None
If the issue is being seen in the UI, what browsers are you seeing the problem on?
No response
If the issue is being seen on Mobile, what OS are you running where you see the issue?
None
If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?
No response
Relevant log output
Additional Notes
No response