AudioMuse-AI icon indicating copy to clipboard operation
AudioMuse-AI copied to clipboard

[BUG] DB main.songs_fts not found

Open Alcyon007 opened this issue 7 months ago • 3 comments

Describe the bug Once it stops, it becomes impossible to continue scanning the paths to the music on the music-server.

To Reproduce Steps to reproduce the behavior: 0. audiomuse-ai-musicserver first start

  1. add 2 paths
  2. scan first path - Scan in Progress in counting and new songs are found
  3. cancel the scan
  4. scan the second path - Scan in Progress is freeze.
  5. Log info: 🌊 Pre-computed waveform for NEW song #1 Error upserting song from /music/Compilations/100 Non-Stop Party Hits (Boxset 60s, 70s, 80s)/1-09 My Sharona - The Knack.flac into DB: no such table: main.songs_fts DEBUG [processPathWithTracking]: Inserting song #1: title='Bus Stop', artist='The Hollies', album='Non Stop Party Hits', duration=172s

Expected behavior Full scan or path scan should continue where it left and go on.

Screenshots None.

Environment Proxmox cluster, 1st Node, LXC (audiomuser-music-server)

  • OS: [Debian]
  • Deployment: [Docker Compose]
  • AudioMuse-AI Version: [v1.0.4.0]
  • Lyrion Music Server Version : 9.1.0 - 1771315634 @ Thu Feb 19 13:51:07 UTC 2026
  • Browser: [Firefox 150.0.1 (64 bits)]
  • HP Z640 Workstation, 2,40 gigahertz Intel Xeon E5-2640 v4 (2 installed), Multi-core (20 total), Hyper-threaded (40 total) - 4 threads dedicated to Music Server
  • RAM: [2GB (of 128GB) DDR4]
  • Disk: [SSD]

Proxmox cluster, secons node, LXC (Worker)

  • OS: [Debian]
  • Deployment: [Docker Compose]
  • AudioMuse-AI Version: [v1.0.4.0]
  • Lyrion Music Server Version : 9.1.0 - 1771315634 @ Thu Feb 19 13:51:07 UTC 2026
  • Browser: [Firefox 150.0.1 (64 bits)]
  • HP Z4 G4 Workstation, 3,60 gigahertz Intel Xeon W-2133, Multi-core (6 total) Hyper-threaded (12 total) - 12 cores dedicated to worker
  • RAM: [8GB (of 128 GB) DDR4]
  • Disk: [Nvme]

Additional context Map is showing songs. But, none of the songs can be played, GUI error message: No valid songs found.

Thank you so much for the amazing software you're currently developing!

Alcyon007 avatar May 01 '26 02:05 Alcyon007

Hi and thanks for the feedback. Let me check if I understand: 1 - you go on the music map functionality; 2 - you select to show 100% of the map; 3 - you click on two song that appear in the below list of song 4 - you click to create the path and you got error

Is that correct ? Especially the point 2: to create the path you first need to show the 100% of the map (maybe in a future update I’ll add something that disable the button if no 100% map is showed).

If even with this doesn’t work please explain better and provide full flask log and eventually what you see in the browser/browser log.

Thanks.

NeptuneHub avatar May 01 '26 07:05 NeptuneHub

Hello. Thank you for the quick response! The main issue I'm facing is that the main.songs_fts table cannot be found during a scan following the first scan; perhaps we can address the map issue later?

Here is the log from the startup of ghcr.io/neptunehub/audiomuse-ai-musicserver:latest === AudioMuse Music Server Container Starting === === Starting Supervisor === Music Server Backend will be available on port 8080 Music Server Frontend will be available on port 3000 All logs will be displayed below: 2026/05/01 09:13:23 DB integrity check OK 2026/05/01 09:13:23 Checking/Updating album_path for existing songs... 2026/05/01 09:13:23 migrateDB: warning - could not create songs_fts virtual table (fts5 may be unavailable): unrecognized token: "" 2026/05/01 09:13:23 migrateSongIDsToUUID: songs.id is already TEXT, migration complete 2026/05/01 09:13:23 migrateDB: failed to backfill date_added: no such table: main.songs_fts 2026/05/01 09:13:23 migrateDB: failed to backfill date_updated: no such table: main.songs_fts 2026/05/01 09:13:23 migrateDB: summary: columns_added=0 songs_migrated=0 date_added_backfilled=0 date_updated_backfilled=0 2026/05/01 09:13:23 migrateDB: completed migrations (idempotent) 2026/05/01 09:13:23 Scheduled library scan is disabled. 2026/05/01 09:13:23 Scheduled analysis is disabled. 2026/05/01 09:13:23 Scheduled clustering is disabled. [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

  • using env: export GIN_MODE=release
  • using code: gin.SetMode(gin.ReleaseMode) 2026/05/01 09:13:23 🧹 HLS session cleanup started

I appreciate your valuable advice

Alcyon007 avatar May 01 '26 13:05 Alcyon007

The log that your're showing are not of this repository but probably about the Music Server here:

  • https://github.com/NeptuneHub/AudioMuse-AI-MusicServer

Please update to the last version of the music server (the new version 61 should be ready in 1h hours from now) where probably I found which is the error and fixed. IF you still have issue yo uneed to open a bug with the correct repository.

NeptuneHub avatar May 01 '26 23:05 NeptuneHub