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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Encryption error since upgrade to 25.0.2

    Nextcloud
    7
    14
    625
    Loading More Posts
    • 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.
    • E
      ekevu123 last edited by

      I am running Nextcloud 25.0.2 on Cloudron 7.3.4. Since the latest Nextcloud upgrade, I get this sync error on my laptop client:

      Encryption not ready: multikeyencryption failed error:0480006C:PEM routines::no start line)
      

      Does anyone have an idea how to solve this?

      1 Reply Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates last edited by jdaviescoates

        No idea, but someone here has the same issue:

        https://help.nextcloud.com/t/server-side-encryption-error/142257

        Personally I avoid using encryption (apart from where apps take care of everything for me, like Signal, Element etc) because I think the likelihood of something going wrong with it and me loosing access to all my files is more likely than someone accessing my unencrypted files.

        I use Cloudron with Gandi & Hetzner

        E 1 Reply Last reply Reply Quote 2
        • E
          ekevu123 @jdaviescoates last edited by

          @jdaviescoates That sounds like a reasonable approach, I take that into consideration.

          jdaviescoates 1 Reply Last reply Reply Quote 0
          • jdaviescoates
            jdaviescoates @ekevu123 last edited by

            @ekevu123 I've got and old Samsung NC10 netbook that I once installed ElementaryOS on and chose to use encryption when I installed it...

            Then I didn't use the machine for ages and so I completely forgot my login details and seemingly didn't have them saved anywhere (these days I'd put them in my Vaultwarden) so I could never access the files on that machine again.

            Thankfully there wasn't really anything important on it!

            In the end I just installed Ubuntu over the top of it (and didn't use encryption when I did) in order to be able to use the machine again (although given it takes a max 2GB RAM not a lot I can actually do with it these days)

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply Reply Quote 0
            • P
              privsec last edited by

              next cloud encryption is an absolute joke.

              Don’t use it

              E 1 Reply Last reply Reply Quote 2
              • E
                ekevu123 @privsec last edited by

                What's the best way to turn off encryption for a Nextcloud instance that is already in use? I found different tutorials in the internet, so let's ask to be on the safe side. I have regular backups (thanks to Cloudron).

                1 Reply Last reply Reply Quote 0
                • S
                  savity last edited by savity

                  Hey i have the same issue anyone got a solution for this? I can't even download files from my Cloud since i always get this issue? Is it possible to disable and enable again?

                  And yes it is since Upgrading to Ubuntu 22.04

                  https://help.nextcloud.com/t/server-side-encryption-error/142257/2

                  @nebulade Hey found the issue can you guys change this pls? Nextcloud is not usable

                  https://github.com/nextcloud/server/issues/32003

                  [provider_sect]
                  default = default_sect
                  #legacy = legacy_sect commented out

                  [default_sect]
                  activate = 1

                  #[legacy_sect]
                  #activate = 0

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    guyds @savity last edited by

                    Same issue here, but I'm still on Ubuntu 20.04.

                    This is a major issue because we can't access any of our files anymore and we can't even apply the temporary workaround since the openssl config for the Nextcloud app is on a readonly filesystem.

                    Unfortunately this isn't the first time I'm experiencing issues with the server side encryption in Nextcloud 😞
                    Therefore I want to turn off the encryption alltogether, but that's only possible after this issue gets fixed 🀷

                    1 Reply Last reply Reply Quote 0
                    • humptydumpty
                      humptydumpty last edited by humptydumpty

                      https://cryptomator.org/ to the rescue - I use it for the sensitive stuff that I have on NC.

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        guyds @humptydumpty last edited by

                        @humptydumpty There are several alternatives indeed, such as cryptomator, but they don't solve the current issue with the Nextcloud encryption.
                        The only way to get access again to our Nextcloud files is by modifying the openssl config, but that's something only @girish or @nebulon can do I guess.

                        1 Reply Last reply Reply Quote 0
                        • Referenced by  S savity 
                        • girish
                          girish Staff last edited by

                          I have pushed a new package 4.16.0-1 to fix this.

                          S G 2 Replies Last reply Reply Quote 1
                          • S
                            savity @girish last edited by

                            @girish works i have upgraded now πŸ™‚

                            1 Reply Last reply Reply Quote 1
                            • G
                              guyds @girish last edited by

                              @girish Thanks, it's working again! πŸ‘

                              E 1 Reply Last reply Reply Quote 1
                              • Topic has been marked as a question  nebulon nebulon 
                              • Topic has been marked as solved  nebulon nebulon 
                              • E
                                ekevu123 @guyds last edited by

                                Two things worked for me:

                                • occ encryption:decrypt-all (on one of the server) which safely decrypted all files and disabled encryption in a couple of minutes
                                • on another server, this command didn't decrypt all files but ran without errors, so I needed to come up with another way. So, I put all files and folders into one folder on my laptop, used occ encryption:disable to disable encryption and then created a copy on my laptop, waited for the copy of the folder to upload to the server, then I would delete the original (and rename the copy). Took some time, but it worked.
                                1 Reply Last reply Reply Quote 2
                                • First post
                                  Last post
                                Powered by NodeBB