YunoHost-Apps / navidrome_ynh

Navidrome package for YunoHost
https://www.navidrome.org/
GNU General Public License v3.0
17 stars 4 forks source link

Service fails after upgrade to 0.49.2 #94

Closed zecamigo closed 1 year ago

zecamigo commented 1 year ago

Describe the bug

Service fails after upgrade from 0.48.0 to 0.49.2 (btw 0.48.0 to 0.49.0 was working fine asides the lost playlists)

Context

Steps to reproduce

Upgrade from the webadmin

Note: the library location is customized (music files in an external disk)

Logs

http request fails with 502 Bad Gateway

Feb 12 14:09:54 navidrome[3287782]: Version: 0.49.2 (3cd934ab) Feb 12 14:09:54 navidrome[3287782]: time="2023-02-12T14:09:54Z" level=fatal msg="Failed to apply new migrations" error="ERROR 20230209181414_change_image_files_list_separator.go: failed to run Go migration function func(*sql.Tx) error: sql: Scan error on column index 1, name \"image_files\": converting NULL to string is unsupported" Feb 12 14:09:54 systemd[1]: navidrome.service: Main process exited, code=exited, status=1/FAILURE Feb 12 14:09:54 systemd[1]: navidrome.service: Failed with result 'exit-code'. Feb 12 14:09:54 systemd[1]: navidrome.service: Scheduled restart job, restart counter is at 5. Feb 12 14:09:54 systemd[1]: Stopped Navidrome Music Server and Streamer compatible with Subsonic/Airsonic. Feb 12 14:09:54 systemd[1]: navidrome.service: Start request repeated too quickly. Feb 12 14:09:54 systemd[1]: navidrome.service: Failed with result 'exit-code'. Feb 12 14:09:54 systemd[1]: Failed to start Navidrome Music Server and Streamer compatible with Subsonic/Airsonic.

ericgaspar commented 1 year ago

Maybe an upstream bug... https://github.com/navidrome/navidrome/issues/2168

zecamigo commented 1 year ago

Yep, sorry I hadn't check. Closing this one.