App gets stuck on syncing large database

Issue description:

Hi, the app seems to get stuck when syncing the database at around 161k songs. The database has 700k songs in total. I have tried several times and re-installed the app but every time it gets stuck around there. The exact number varies but it stops there and then displays the following message “Unsuccessful, check logs if frequent.”

The Navidrome database works on iOS Narjo app and also on other Android apps such as Castafiore.

Logs:

Upload description: I shared the logs with support under my username Jasmine

Additional information:

Reproduction steps:

Media provider:

Subsonic

Screenshots:

Your logs does not contains the issue and stops during the album part.

What should I do? Castafiore works with it?

You need to provide logs that contains the issue :slight_smile:
Enable logs, sync then upload the logs after it shows the error.

Just uploaded it now, did that work?

There’s no new logs if it’s more than 100Mb you need to use the website https://upload.symfonium.app

Just uploaded it now manually

Ok so this is a Navidrome bug.

Required value 'title' missing at $.subsonic-response.searchResult3.song[94]

The title value is missing for that song, while it’s a mandatory field.

{
          "id": "zMGZ3Q4ZXZdahBKUomF8rC",
          "parent": "wCDQlUzKPNjus5Wbir2YAJ",
          "isDir": false,
          "album": "Polla Blava",
          "artist": "Cecilio G.",
          "track": 6,
          "year": 2014,
          "coverArt": "mf-zMGZ3Q4ZXZdahBKUomF8rC_699cfad6",
          "size": 15750000,
          "contentType": "audio/flac",
          "suffix": "flac",
          "duration": 140,
          "bitRate": 1411,
          "path": "Cecilio G./Polla Blava/01-06 - .flac",
          "discNumber": 1,
          "created": "2026-02-24T01:11:50Z",
          "albumId": "wCDQlUzKPNjus5Wbir2YAJ",
          "artistId": "znPleVwWlY71TDCrHi2Q6j",
          "type": "music",
          "bpm": 0,
          "comment": "",
          "sortName": "",
          "mediaType": "song",
          "musicBrainzId": "",
          "isrc": [],
          "genres": [],
          "replayGain": {},
          "channelCount": 2,
          "samplingRate": 44100,
          "bitDepth": 16,
          "moods": [],
          "artists": [
            {
              "id": "znPleVwWlY71TDCrHi2Q6j",
              "name": "Cecilio G."
            }
          ],
          "displayArtist": "Cecilio G.",
          "albumArtists": [
            {
              "id": "znPleVwWlY71TDCrHi2Q6j",
              "name": "Cecilio G."
            }
          ],
          "displayAlbumArtist": "Cecilio G.",
          "contributors": [],
          "displayComposer": "",
          "explicitStatus": ""
        },

@deluan this is on “serverVersion”: “0.60.3 (34c6f12a)”

Jasmine you’ll probably need to provide that file to Deluan so he can repro and fix.

The only situation where the title may be missing is when it is missing in the DB, and there’s no way the scanner will add empty titles, it falls back to the file path if the tag is missing. Maybe you used some external script that writes directly into Navidrome’s DB?

Reading it again, maybe the title tag is present, but with empty value? @Jasmine can you confirm?

Hi, I’ve resolved this now by changing the title. Sync works!

Navidrome side also have a patch to prevent that in the future thanks Deluan.