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. Vaultwarden
  3. Vaultwarden fails to start after update – DB migration error (SSO)

Vaultwarden fails to start after update – DB migration error (SSO)

Scheduled Pinned Locked Moved Solved Vaultwarden
72 Posts 33 Posters 6.4k Views 27 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.
  • T Offline
    T Offline
    Teiluj
    wrote last edited by
    #62

    This seems to fix the issue indeed - At least from my side, there was a table collection charset mismatch.
    The other question is how it came to be.

    J 1 Reply Last reply
    1
    • T Teiluj

      This seems to fix the issue indeed - At least from my side, there was a table collection charset mismatch.
      The other question is how it came to be.

      J Offline
      J Offline
      joseph
      Staff
      wrote last edited by
      #63

      @Teiluj this was a bug in vaultwarden a while go (which is why they maintain a wiki article on how to fix it up). https://github.com/search?q=repo%3Adani-garcia%2Fvaultwarden charset&type=issues

      1 Reply Last reply
      3
      • P Offline
        P Offline
        p44
        translator
        wrote last edited by p44
        #64

        Same problem here. Restored to 1.24.4 and stopped automatic updates.

        1 Reply Last reply
        1
        • jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote last edited by
          #65

          I also had a not responding app and have reverted. Guess I need to look at that guide...

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          2
          • P Offline
            P Offline
            p44
            translator
            wrote last edited by
            #66

            @jdaviescoates @joseph Thanks for your advice. I followed this guide: https://github.com/dani-garcia/vaultwarden/wiki/Using-the-MariaDB-(MySQL)-Backend#foreign-key-errors-collation-and-charset and problem now is fixed.

            thanks a lot

            1 Reply Last reply
            3
            • B Offline
              B Offline
              BetaBreak
              wrote last edited by
              #67

              Is there a step by step instruction to solve this issue, for me it is unclear how to fix this issue. Thanks!

              1 Reply Last reply
              1
              • J Offline
                J Offline
                jayonrails
                translator
                wrote last edited by
                #68

                The above posted link to the GitHub wiki seems to be the step by step instruction. Which is the part where you don't get forward?

                1 Reply Last reply
                2
                • B Offline
                  B Offline
                  BetaBreak
                  wrote last edited by BetaBreak
                  #69

                  Thanks, when I run the queries I don't get out put..
                  Should I do it before upgrading, and or in recovery mode?

                  1 Reply Last reply
                  0
                  • jamesJ Offline
                    jamesJ Offline
                    james
                    Staff
                    wrote last edited by james
                    #70

                    Hello @d19dotca @teiluj @ikalou @p44 @jdaviescoates @betabreak @jayonrails
                    This issue was discussed before, and I did create a handy script to fix the issue.
                    Please see: https://forum.cloudron.io/topic/14812/vaultwarden-fails-to-start-after-update-db-migration-error-sso/24?_=1778581136537

                    I have also merged this topic into the original topic so there is no duplicate.

                    B 1 Reply Last reply
                    5
                    • jamesJ james referenced this topic
                    • jamesJ james

                      Hello @d19dotca @teiluj @ikalou @p44 @jdaviescoates @betabreak @jayonrails
                      This issue was discussed before, and I did create a handy script to fix the issue.
                      Please see: https://forum.cloudron.io/topic/14812/vaultwarden-fails-to-start-after-update-db-migration-error-sso/24?_=1778581136537

                      I have also merged this topic into the original topic so there is no duplicate.

                      B Offline
                      B Offline
                      BetaBreak
                      wrote last edited by
                      #71

                      @james ✔ it works, thanks!

                      jamesJ 1 Reply Last reply
                      1
                      • B BetaBreak

                        @james ✔ it works, thanks!

                        jamesJ Offline
                        jamesJ Offline
                        james
                        Staff
                        wrote last edited by james
                        #72

                        Hello @BetaBreak
                        Great to read that it resolved your issue.
                        Always happy to help.

                        If possible, give the solution I linked also an upvote to improve the forum search.

                        1 Reply Last reply
                        0

                        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