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. Support
  3. Backups appear to not work after upgrade

Backups appear to not work after upgrade

Scheduled Pinned Locked Moved Solved Support
backupssshfs
11 Posts 4 Posters 1.8k Views 4 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.
    • R Offline
      R Offline
      Robin
      wrote on last edited by girish
      #1

      As the title says...

      Provider mountpoint
      Location /mnt/ibt/backup
      Storage Format rsync
      Encryption is enabled if that matters.

      I'm getting this as a notification:

      Unable to chown:EACCES: permission denied, chown '/mnt/ibt/backup/snapshot/app_22f1c4f7-7480-405d-aae9-258e7cc5cee7/O4m2+us4iuqCWWOtbom2RZncffaPgi9HNTF936n7CaU'

      However: I think the error is incorrect, or weird, or something, though, because the permissions are most definitely correct. Cloudron is the only thing that ever touches that mountpoint, and it has access to do whatever it wants:

      -rw-r--r-- 1 yellowtent yellowtent 3732 Jul 9 15:41 /mnt/ibt/backup/snapshot/app_22f1c4f7-7480-405d-aae9-258e7cc5cee7/O4m2+us4iuqCWWOtbom2RZncffaPgi9HNTF936n7CaU

      I tried removing the problematic file, and forcing a new backup, but the same error happened again.

      nebulonN 1 Reply Last reply
      0
      • R Robin

        As the title says...

        Provider mountpoint
        Location /mnt/ibt/backup
        Storage Format rsync
        Encryption is enabled if that matters.

        I'm getting this as a notification:

        Unable to chown:EACCES: permission denied, chown '/mnt/ibt/backup/snapshot/app_22f1c4f7-7480-405d-aae9-258e7cc5cee7/O4m2+us4iuqCWWOtbom2RZncffaPgi9HNTF936n7CaU'

        However: I think the error is incorrect, or weird, or something, though, because the permissions are most definitely correct. Cloudron is the only thing that ever touches that mountpoint, and it has access to do whatever it wants:

        -rw-r--r-- 1 yellowtent yellowtent 3732 Jul 9 15:41 /mnt/ibt/backup/snapshot/app_22f1c4f7-7480-405d-aae9-258e7cc5cee7/O4m2+us4iuqCWWOtbom2RZncffaPgi9HNTF936n7CaU

        I tried removing the problematic file, and forcing a new backup, but the same error happened again.

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @robin looks like something in the backup config migration during the release is off. Is that mountpoint by any chance sshfs?

        R 1 Reply Last reply
        0
        • nebulonN nebulon

          @robin looks like something in the backup config migration during the release is off. Is that mountpoint by any chance sshfs?

          R Offline
          R Offline
          Robin
          wrote on last edited by
          #3

          @nebulon said in Backups appear to not work after upgrade:

          @robin Is that mountpoint by any chance sshfs?

          Yes, it is indeed sshfs

          girishG 1 Reply Last reply
          0
          • R Robin

            @nebulon said in Backups appear to not work after upgrade:

            @robin Is that mountpoint by any chance sshfs?

            Yes, it is indeed sshfs

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @robin Can you tell me how you mounted your sshfs i.e the mounting options ? It seems that chown does not work. @nebulon hit a similar issue but I haven't managed to reproduce it but it seems to be maybe related to sshfs in ubuntu 18. I am just testing this out.

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              I figured out the problem. It happens with sshfs is not mounted as "root" user.

              R 1 Reply Last reply
              2
              • girishG girish

                I figured out the problem. It happens with sshfs is not mounted as "root" user.

                R Offline
                R Offline
                Robin
                wrote on last edited by
                #6

                @girish Yeah, I'm using uid=yellowtent,gid=yellowtent, so I think that is indeed my problem

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mazarian
                  wrote on last edited by
                  #7

                  Seems like I'm having the same issue. Is there a workaround for this? Not quite sure how to fix it!

                  girishG 1 Reply Last reply
                  0
                  • M mazarian

                    Seems like I'm having the same issue. Is there a workaround for this? Not quite sure how to fix it!

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @mazarian We have put in a fix in 6.3.5. Can you try updating to that by going to Settings -> Check for updates. And then you have to update with "Skip backup" checkbox checked since of course the backups are failing.

                    After the update, you can configure the Backups to use the new SSHFS backend. Can you please try that?

                    R M 2 Replies Last reply
                    1
                    • girishG girish

                      @mazarian We have put in a fix in 6.3.5. Can you try updating to that by going to Settings -> Check for updates. And then you have to update with "Skip backup" checkbox checked since of course the backups are failing.

                      After the update, you can configure the Backups to use the new SSHFS backend. Can you please try that?

                      R Offline
                      R Offline
                      Robin
                      wrote on last edited by
                      #9

                      @girish Fix seems to have worked for me, thanks!

                      For satisfying my own curiosity, can you explain why using the mountpoint method was no longer sufficient? 🙂

                      1 Reply Last reply
                      0
                      • girishG girish

                        @mazarian We have put in a fix in 6.3.5. Can you try updating to that by going to Settings -> Check for updates. And then you have to update with "Skip backup" checkbox checked since of course the backups are failing.

                        After the update, you can configure the Backups to use the new SSHFS backend. Can you please try that?

                        M Offline
                        M Offline
                        mazarian
                        wrote on last edited by
                        #10

                        @girish Thank you! I was already on 6.3.5 and was experiencing that issue. I decided to delete the /mnt/cloudronbackup directory and set the SSHFS settings again (I had already reset the SSHFS settings with no success) and it works now. The permissions of the new cloudronbackup directory are totally different.

                        Initially, the cloudronbackup directory was root:root. Then I got a warning saying it should be yellowtent:yellowtent- it still didn't work after making that change.

                        Not Working:
                        drwxr-xr-x 3 yellowtent yellowtent 4.0K Jul 11 21:33 cloudronbackup

                        Working:
                        drwxrwxrwx 1 1032 users 100 Jul 12 14:09 cloudronbackup

                        girishG 1 Reply Last reply
                        1
                        • M mazarian

                          @girish Thank you! I was already on 6.3.5 and was experiencing that issue. I decided to delete the /mnt/cloudronbackup directory and set the SSHFS settings again (I had already reset the SSHFS settings with no success) and it works now. The permissions of the new cloudronbackup directory are totally different.

                          Initially, the cloudronbackup directory was root:root. Then I got a warning saying it should be yellowtent:yellowtent- it still didn't work after making that change.

                          Not Working:
                          drwxr-xr-x 3 yellowtent yellowtent 4.0K Jul 11 21:33 cloudronbackup

                          Working:
                          drwxrwxrwx 1 1032 users 100 Jul 12 14:09 cloudronbackup

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #11

                          @mazarian that's correct, the permission is the thing I fixed in 6.3.5. Glad it's working now and thanks for reporting back!

                          1 Reply Last reply
                          1
                          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