Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Immich
  3. Immich broken after update to 3.0.1

Immich broken after update to 3.0.1

Scheduled Pinned Locked Moved Solved Immich
13 Posts 6 Posters 678 Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kubasbimbas
    wrote last edited by
    #4

    Hi, I’m facing the same issue. Immich app doesn’t start after the update.

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote last edited by
      #5

      do you see the same error messages or something else, also have you adjust the config manually somehow?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kubasbimbas
        wrote last edited by
        #6

        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
        
        1 Reply Last reply
        0
        • SansGuidonS Offline
          SansGuidonS Offline
          SansGuidon
          wrote last edited by
          #7

          Fix found thanks to Claude Sonnet. The issue is that Immich v3.0 renamed the ffmpeg audio codec libopus to opus, 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.json
          

          Then restart the app. The schema drift warnings resolve themselves once the app starts successfully and migrations run.

          About me / Now

          1 Reply Last reply
          5
          • SansGuidonS SansGuidon referenced this topic
          • J joseph has marked this topic as solved
          • jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #8

            Hello @sansguidon
            Thank you very much for looking into this and also providing a solution.

            SansGuidonS 1 Reply Last reply
            2
            • jamesJ james

              Hello @sansguidon
              Thank you very much for looking into this and also providing a solution.

              SansGuidonS Offline
              SansGuidonS Offline
              SansGuidon
              wrote last edited by
              #9

              @james all credits to Claude here 🤣

              About me / Now

              1 Reply Last reply
              1
              • B Offline
                B Offline
                BitEater67
                wrote last edited by
                #10

                Also thank you for this solution.

                1 Reply Last reply
                1
                • SansGuidonS Offline
                  SansGuidonS Offline
                  SansGuidon
                  wrote last edited by
                  #11

                  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?

                  About me / Now

                  B jdaviescoatesJ 2 Replies Last reply
                  0
                  • SansGuidonS SansGuidon

                    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?

                    B Offline
                    B Offline
                    BitEater67
                    wrote last edited by
                    #12

                    @SansGuidon .. especially when one had never not touched anything on that config file.

                    1 Reply Last reply
                    0
                    • SansGuidonS SansGuidon

                      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?

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote last edited by
                      #13

                      @SansGuidon said:

                      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

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      2

                      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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search