Skip to content

Library not scanning #3058

Description

@pedroponte

What happened?

Can't seem to have library scan working properly.

Had a problem when scanning the first library.

I have then recreated the server and it worked with the first library/folder.

Now, having added new library and folder mounted on

/mnt/pdf/lib2

it can't find any files on the second one.

The first library is mounted on /mnt/pdf/lib1

TIA

What did you expect?

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 from the host docker engine into the container /mnt/pdf folder.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.2 - Stable

What operating system is Kavita being hosted from?

Docker (Other)

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?

Firefox

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

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

Additional Notes

docker engine, running on linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportUser is needing support on something not working but not confirmed to be a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions