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

Manual scanning crashes the whole lms service #570

Closed
chpio opened this issue Dec 14, 2024 · 7 comments
Closed

Manual scanning crashes the whole lms service #570

chpio opened this issue Dec 14, 2024 · 7 comments

Comments

@chpio
Copy link

chpio commented Dec 14, 2024

running current docker build.

logs:

lms  | [2024-Dec-14 17:26:07.025] 1 - [info] - 135250242661176 [DB UPDATER] Scheduling next scan right now
lms  | [2024-Dec-14 17:26:07.025] 1 - [info] - 135250242661176 [UI] New scan started!
lms  | [2024-Dec-14 17:26:07.025] 1 [/ CUZ3EVaGhzwSR8a3] [info] - 135250242448184 [UI] Notifying message 'Scan launched!' for category '??Lms.Admin.Database.database??'
lms  | [2024-Dec-14 17:26:07.025] 1 - [info] "wthttp: 172.24.0.6   POST /?wtd=CUZ3EVaGhzwSR8a3 HTTP/1.1 200 0"
lms  | [2024-Dec-14 17:26:07.025] 1 - [info] "WebRequest: took 14189.8 ms"
lms  | [2024-Dec-14 17:26:07.025] 1 - [info] "wthttp: 172.24.0.6   POST /?wtd=CUZ3EVaGhzwSR8a3 HTTP/1.1 200 48"
lms  | [2024-Dec-14 17:26:07.025] 1 - [info] "WebRequest: took 0.681 ms"
lms  | [2024-Dec-14 17:26:07.074] 1 - [info] "wthttp: 172.24.0.6   POST /?wtd=CUZ3EVaGhzwSR8a3 HTTP/1.1 200 567"
lms  | [2024-Dec-14 17:26:07.074] 1 - [info] "WebRequest: took 0.355 ms"
lms  | [2024-Dec-14 17:26:07.127] 1 - [info] "wthttp: 172.24.0.6   POST /?wtd=CUZ3EVaGhzwSR8a3 HTTP/1.1 200 142"
lms  | [2024-Dec-14 17:26:07.127] 1 - [info] "WebRequest: took 0.253 ms"
lms  | [2024-Dec-14 17:26:07.284] 1 - [fatal] - 135250243418936 [UTILS] Exception caught in IO context: basic_string: construction from null is not valid
lms exited with code 0

@epoupon
Copy link
Owner

epoupon commented Dec 14, 2024

Ah it was already reported. Does a full rescan fix the issue?

@chpio
Copy link
Author

chpio commented Dec 14, 2024

Sorry for that (#561). Yeah the scan went through. Thank you!

@chpio chpio closed this as completed Dec 14, 2024
@epoupon
Copy link
Owner

epoupon commented Dec 14, 2024

Can you please tell me more about this crash? Did you upgrade lms just before scanning?

@chpio
Copy link
Author

chpio commented Dec 14, 2024

Im running docker watchtower and it updated lms to 33311c62879e on the 2.12.2024. I added some new songs just now (it has been a long time i did that the last time).

@epoupon
Copy link
Owner

epoupon commented Dec 14, 2024

Ok, and did you set up automatic scans before this manual scan?

@chpio
Copy link
Author

chpio commented Dec 15, 2024

Yeah, had weekly scans enabled. I think i do not have any old logs, but i might be able to rollback my db/lms installation to a previous state (so to the state before the force scan) due to btrfs snapshots.

@epoupon
Copy link
Owner

epoupon commented Dec 15, 2024

Ok, so it likely crashed due to the new files. Thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants