Subsonic / Ampache 7.5.1: No sync after Ampache update

Issue description:

I updated my Ampache server from 7.4.2 to 7.5.1.

On the inital attempt to sync my Symfonium library I can see in the apache access logs that the sync starts:

[redacted] - - [01/Jun/2025:13:13:09 +0200] “GET /rest/ping.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:12 +0200] “GET /rest/getStarred2.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:15 +0200] “GET /rest/getStarred2.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:20 +0200] “GET /rest/getStarred2.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:20 +0200] “GET /rest/getBookmarks.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:23 +0200] “GET /rest/getBookmarks.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:28 +0200] “GET /rest/getBookmarks.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:29 +0200] “GET /rest/getGenres.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:31 +0200] “GET /rest/getGenres.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:35 +0200] “GET /rest/getGenres.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:36 +0200] “GET /rest/getMusicFolders.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:38 +0200] “GET /rest/getMusicFolders.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:40 +0200] “GET /rest/ping.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”
[redacted] - - [01/Jun/2025:13:13:42 +0200] “GET /rest/getMusicFolders.view?u=[username]&p=enc%3A736537656e37&v=1.13.0&c=Symfonium&f=json HTTP/2.0” 200 31 “-” “Symfonium/13.0.0a (Linux;Android 14)”

But after that the sync process fails. When checking the settings for my media source I can see a notice that the version of the source cannot be determined.

I enabled the ampache logs, these are the entires relating to the sync attempt:

2025-06-01T13:28:39+02:00 [ampache] (Ampache\Module\System\Dba) → Database connection…

2025-06-01T13:28:39+02:00 [ampache] (Ampache\Module\Api\SubsonicApiApplication) → Invalid authentication attempt to Subsonic API for user [test]

2025-06-01T13:28:39+02:00 [ampache] (Ampache\Module\Api\Subsonic_Xml_Data) → API fail in function ping-1.16.1

2025-06-01T13:28:39+02:00 [ampache] (Ampache\Module\System\Dba) → Database connection…

2025-06-01T13:28:39+02:00 [username] (Ampache\Module\Api\Subsonic_Xml_Data) → API success in function ping-1.16.1

I just uploaded the latest debug log from Symfonium using my username.

Logs:

Upload description: arno1979

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Subsonic

Screenshots:

     

As said you updated Ampache so the issue is of course Ampache :wink:

anyway

2025-06-01 13:50:27.114 Verbose SubsonicLogger  <-- [418] 200 https://amp.eppendorfer-landstrasse.de/rest/ping.view?u=REDACTED&p=REDACTED&v=1.13.0&c=Symfonium&f=json (178ms, unknown-length body)
2025-06-01 13:50:27.117 Verbose SubsonicLogger  <-- [418] {
    "subsonic-response": []
}
2025-06-01 13:50:27.125 Verbose SubsonicLogger  <-- [418] END HTTP (185ms, 31-byte body)
2025-06-01 13:50:27.127 Error SubsonicLogger  Error (0/0)
a10.s: Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $.subsonic-response

@lachlan-00 Seems Ampache 7.5.1 have a major issue with Subsonic.

Great thanks for looking into this!

fixed reverting some weird code

the json is generated using a conversion function that sucks a lot so i’m about to rewrite the entire API. i’ll do a point release this week to make sure it’s out because the rewrite will take me a few weeks

1 Like

the description of the issue looks very similar to mine, especially the version not found. @lachlan-00 are you able to confirm?

Anything JSON related in subsonic api’s is broken due to a hack i didn’t know was needed.

7.5.2 is uploading to the releases page now and i’ll release in about an hour with docker images to follow