Immich broken after update to 3.0.1
-
haven't seen this in my production instance, especially strange about the db schema issues, since immich performs db migration on startup, so all I can think of is, that some run may have crashed mid way, so maybe try to rollback and try again for that.
But before this, do you have made any tweaks to the configuration, since there is another issue:
Jul 05 21:56:31 Error: Invalid system config: Jul 05 21:56:31 - [ffmpeg.acceptedAudioCodecs.2] Invalid option: expected one of "mp3"|"aac"|"opus"|"pcm_s16le"which could be the reason the migration didn't run in the first place.
-
Hi, I’m facing the same issue. Immich app doesn’t start after the update.
-
Yes, I have the same errors...haven't changed anything.
Jul 06 20:46:50 Error: Invalid system config: Jul 06 20:46:50 - [ffmpeg.acceptedAudioCodecs.2] Invalid option: expected one of "mp3"|"aac"|"opus"|"pcm_s16le" Jul 06 20:46:50 at buildConfig (/usr/src/app/server/dist/utils/config.js:121:19) Jul 06 20:46:50 at async /usr/src/app/server/dist/utils/config.js:60:26 -
Fix found thanks to Claude Sonnet. The issue is that Immich v3.0 renamed the ffmpeg audio codec
libopustoopus, see https://immich.app/blog/v3-migration, but the persisted config file (/app/data/immich.json) still contains the old value. Config validation crashes the server before migrations can run.One-liner fix:
cloudron exec --app <APP_ID> -- sed -i 's/"libopus"/"opus"/' /app/data/immich.jsonThen restart the app. The schema drift warnings resolve themselves once the app starts successfully and migrations run.
-
S SansGuidon referenced this topic
-
J joseph has marked this topic as solved
-
Hello @sansguidon
Thank you very much for looking into this and also providing a solution.@james all credits to Claude here

-
Also thank you for this solution.
-
I wonder anyway how it happened to break for some users only?
And if a permanent fix should be integrated in the official cloudron package? -
I wonder anyway how it happened to break for some users only?
And if a permanent fix should be integrated in the official cloudron package?@SansGuidon .. especially when one had never not touched anything on that config file.
-
I wonder anyway how it happened to break for some users only?
And if a permanent fix should be integrated in the official cloudron package?I wonder anyway how it happened to break for some users only?
My guess: the non effected users app had enough RAM to successfully complete the migration
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login