Skip to content

Music Scanner aborting quickly on v9.0.2/v9.0.3-nightly #1404

@wilson

Description

@wilson

Describe the bug
Suddenly unable to scan my library at all from Windows, tested on v9.0.2 and v9.0.3.

To Reproduce
Steps to reproduce the behavior:
0. (If needed, configure the Lyrion service to 'Run As' a user with appropriate share access)

  1. Go to 'Server Settings - Basic Settings'
  2. Click on 'Media Folders'
  3. Configure a UNC-style path e.g. '\\localhost\someshare'
  4. Let the scanner try to rebuild the library
  5. View the scanner log

Expected behavior
Any files in 'someshare' should be scanned and added to the library.

Screenshots
Image

System Information (please complete the following information):

  • Windows 10 Pro
  • Material skin
  • Chrome
  • LMS version 9.0.3 - 1748542788 @ Fri May 30 03:52:11 CUT 2025
  • No players involved in the report

Additional context
scanner.log is attached, as is the latest server.log (seems un-interesting)

scanner.log
server.log

For searchability, the relevant error seems to be:

[25-06-05 22:22:04.3636] main::main (346) Error: Failed when running main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st execute failed: called with 1 bind variables when 3 are needed [for Statement "
		INSERT INTO scanned_files
		(url, timestamp, filesize)
		VALUES
		(?, ?, ?)
	" with ParamValues: 1='file:////10.0.0.100/audio/Isiliel%20-%20Qliffoth%20(2024)/Isiliel%20-%20Qliphoth.flac', 2=1747822880, 3=65234255] at C:/Program Files/Lyrion/server/Slim/Schema/Storage.pm line 126

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions