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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Encryption error since upgrade to 25.0.2

Encryption error since upgrade to 25.0.2

Scheduled Pinned Locked Moved Solved Nextcloud
14 Posts 7 Posters 2.8k 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.
  • E ekevu123

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

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #4

    @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
    0
    • P Offline
      P Offline
      privsec
      wrote on last edited by
      #5

      next cloud encryption is an absolute joke.

      Donโ€™t use it

      E 1 Reply Last reply
      2
      • P privsec

        next cloud encryption is an absolute joke.

        Donโ€™t use it

        E Offline
        E Offline
        ekevu123
        wrote on last edited by
        #6

        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
        0
        • S Offline
          S Offline
          savity
          wrote on last edited by savity
          #7

          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
          0
          • S 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 Offline
            G Offline
            guyds
            wrote on last edited by
            #8

            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
            0
            • humptydumptyH Offline
              humptydumptyH Offline
              humptydumpty
              wrote on last edited by humptydumpty
              #9

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

              G 1 Reply Last reply
              0
              • humptydumptyH humptydumpty

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

                G Offline
                G Offline
                guyds
                wrote on last edited by
                #10

                @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
                0
                • S savity referenced this topic on
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #11

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

                  S G 2 Replies Last reply
                  1
                  • girishG girish

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

                    S Offline
                    S Offline
                    savity
                    wrote on last edited by
                    #12

                    @girish works i have upgraded now ๐Ÿ™‚

                    1 Reply Last reply
                    1
                    • girishG girish

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

                      G Offline
                      G Offline
                      guyds
                      wrote on last edited by
                      #13

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

                      E 1 Reply Last reply
                      1
                      • nebulonN nebulon marked this topic as a question on
                      • nebulonN nebulon has marked this topic as solved on
                      • G guyds

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

                        E Offline
                        E Offline
                        ekevu123
                        wrote on last edited by
                        #14

                        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
                        2
                        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