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

Issue when rebuilding with latest release #561

Open
GioF71 opened this issue Nov 30, 2024 · 9 comments
Open

Issue when rebuilding with latest release #561

GioF71 opened this issue Nov 30, 2024 · 9 comments

Comments

@GioF71
Copy link

GioF71 commented Nov 30, 2024

Hello, I am getting this fatal error when rebuilding the library using the latest release:

lms-lightweight-music-server | [2024-Nov-30 18:50:11.325] 1 - [fatal] - 139725496240952 [UTILS] Exception caught in IO context: basic_string: construction from null is not valid

does this help? Do you need further information?
Thank you for the attention

@epoupon
Copy link
Owner

epoupon commented Nov 30, 2024

So you have the docker version (amd64?), you just trigger a scan and you get this error?

@GioF71
Copy link
Author

GioF71 commented Nov 30, 2024

Yes (both questions)

@epoupon
Copy link
Owner

epoupon commented Nov 30, 2024

Can you edit lms.conf to set logs to debug level and paste lines before this error happens? See https://hub.docker.com/r/epoupon/lms +

log-min-severity = "info";

@GioF71
Copy link
Author

GioF71 commented Nov 30, 2024

I assume I must set:
log-min-severity = "debug";

Not a log more here, just some info of when it does happen, not the cause apparently:

lms-lightweight-music-server | [2024-Nov-30 19:42:41.319] 1 - [debug] - 140001515182904 [FEEDBACK] [listenbrainz] Starting sync!
lms-lightweight-music-server | [2024-Nov-30 19:42:41.319] 1 - [debug] - 140001515031352 [SCROBBLING] [listenbrainz] Starting sync!
lms-lightweight-music-server | [2024-Nov-30 19:42:41.324] 1 - [debug] - 140001515182904 [FEEDBACK] [listenbrainz] Queing 0 pending 'love' feedbacks
lms-lightweight-music-server | [2024-Nov-30 19:42:41.325] 1 - [debug] - 140001515182904 [FEEDBACK] [listenbrainz] Queing 0 pending 'erase' feedbacks
lms-lightweight-music-server | [2024-Nov-30 19:42:41.326] 1 - [debug] - 140001515182904 [FEEDBACK] [listenbrainz] Scheduled sync in 3600 seconds...
lms-lightweight-music-server | [2024-Nov-30 19:42:41.327] 1 - [debug] - 140001515031352 [SCROBBLING] [listenbrainz] Queing 0 pending listen
lms-lightweight-music-server | [2024-Nov-30 19:42:41.327] 1 - [debug] - 140001515031352 [SCROBBLING] [listenbrainz] Scheduled sync in 3600 seconds...
lms-lightweight-music-server | [2024-Nov-30 19:42:41.400] 1 - [debug] - 140001508883256 [DB UPDATER] Discovered xxxx files in '"/music"'
lms-lightweight-music-server | [2024-Nov-30 19:42:41.401] 1 - [debug] - 140001508883256 [DB UPDATER] Discovered xxxx files in all directories
lms-lightweight-music-server | [2024-Nov-30 19:42:41.401] 1 - [debug] - 140001508883256 [DB UPDATER] Completed scan step 'Discover files'
lms-lightweight-music-server | [2024-Nov-30 19:42:41.401] 1 - [debug] - 140001508883256 [DB UPDATER] Starting scan step 'Scan files'
lms-lightweight-music-server | [2024-Nov-30 19:42:41.402] 1 - [info] "wthttp: 172.24.0.3   POST /?wtd=M8mI3kP9ivGb6UlK HTTP/1.1 200 142"
lms-lightweight-music-server | [2024-Nov-30 19:42:41.403] 1 - [info] "WebRequest: took 943.722 ms"
lms-lightweight-music-server | [2024-Nov-30 19:42:41.414] 1 - [info] "wthttp: 172.24.0.3   POST /?wtd=M8mI3kP9ivGb6UlK HTTP/1.1 200 48"
lms-lightweight-music-server | [2024-Nov-30 19:42:41.414] 1 - [info] "WebRequest: took 1.438 ms"
lms-lightweight-music-server | [2024-Nov-30 19:42:42.402] 1 - [info] "wthttp: 172.24.0.3   POST /?wtd=M8mI3kP9ivGb6UlK HTTP/1.1 200 129"
lms-lightweight-music-server | [2024-Nov-30 19:42:42.402] 1 - [info] "WebRequest: took 977.58 ms"
lms-lightweight-music-server | [2024-Nov-30 19:42:43.403] 1 - [info] "wthttp: 172.24.0.3   POST /?wtd=M8mI3kP9ivGb6UlK HTTP/1.1 200 128"
lms-lightweight-music-server | [2024-Nov-30 19:42:43.403] 1 - [info] "WebRequest: took 989.46 ms"
lms-lightweight-music-server | [2024-Nov-30 19:42:44.403] 1 - [info] "wthttp: 172.24.0.3   POST /?wtd=M8mI3kP9ivGb6UlK HTTP/1.1 200 128"
lms-lightweight-music-server | [2024-Nov-30 19:42:44.403] 1 - [info] "WebRequest: took 985.667 ms"
lms-lightweight-music-server | [2024-Nov-30 19:42:44.782] 1 - [fatal] - 140001509186360 [UTILS] Exception caught in IO context: basic_string: construction from null is not valid

@epoupon
Copy link
Owner

epoupon commented Nov 30, 2024

Thanks! Can you retry with the option to force scan? I suspect some particular file may trigger the issue.

@GioF71
Copy link
Author

GioF71 commented Nov 30, 2024

You mean rescan all files?
If so, it looks like it's running. I'll notify about how the process terminates!

@GioF71
Copy link
Author

GioF71 commented Nov 30, 2024

Hello, the scan terminated without issues!

@GioF71
Copy link
Author

GioF71 commented Nov 30, 2024

Also, after the full rescan, a subsequent normal rescan also went through without issues.

@epoupon
Copy link
Owner

epoupon commented Dec 1, 2024

Thanks for reporting. Will try to figure it out

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