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. Backup mount lost its permissions - unable to remount

Backup mount lost its permissions - unable to remount

Scheduled Pinned Locked Moved Solved Support
backups
23 Posts 4 Posters 2.0k 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.
  • jdaviescoatesJ jdaviescoates

    @avatar1024 it has /snapshop/ in it, but looks like that is empty:

    root@v2202211129685206445:/mnt/cloudronbackup/my.uniteddiversity.coop-netcup/snapshot# ls -la
    total 8
    drwxr-xr-x 2 yellowtent yellowtent 4096 Nov 29 10:24 .
    drwxr-xr-x 3 yellowtent yellowtent 4096 Nov 29 10:25 ..
    
    
    avatar1024A Offline
    avatar1024A Offline
    avatar1024
    wrote on last edited by
    #13

    @jdaviescoates said in Backup mount lost its permissions - unable to remount:

    it has /snapshop/ in it, but looks like that is empty:

    Maybe wait for @staff to confirm but I'd say that you should deleted it all and try to remount your drive one more time. If that doesn't work (and it might not as you said it was empty originally) then I don't know...sorry.

    jdaviescoatesJ 1 Reply Last reply
    1
    • avatar1024A avatar1024

      @jdaviescoates said in Backup mount lost its permissions - unable to remount:

      it has /snapshop/ in it, but looks like that is empty:

      Maybe wait for @staff to confirm but I'd say that you should deleted it all and try to remount your drive one more time. If that doesn't work (and it might not as you said it was empty originally) then I don't know...sorry.

      jdaviescoatesJ Online
      jdaviescoatesJ Online
      jdaviescoates
      wrote on last edited by
      #14

      @avatar1024 said in Backup mount lost its permissions - unable to remount:

      (and it might not as you said it was empty originally)

      At that point /cloudronbackup was root:root so perhaps that was the issue, but yeah I'll think I'll wait for @girish to chime in again.

      Also thinking perhaps I should most to SSHFS too instead of CIFS given that seems to have resolved a bunch of issues for you, right?

      I use Cloudron with Gandi & Hetzner

      avatar1024A 1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        @avatar1024 said in Backup mount lost its permissions - unable to remount:

        (and it might not as you said it was empty originally)

        At that point /cloudronbackup was root:root so perhaps that was the issue, but yeah I'll think I'll wait for @girish to chime in again.

        Also thinking perhaps I should most to SSHFS too instead of CIFS given that seems to have resolved a bunch of issues for you, right?

        avatar1024A Offline
        avatar1024A Offline
        avatar1024
        wrote on last edited by avatar1024
        #15

        @jdaviescoates said in Backup mount lost its permissions - unable to remount:

        At that point /cloudronbackup was root:root so perhaps that was the issue

        root:root is also the case for me, it is only the mount that changes the permissions to the storage box user.

        @jdaviescoates said in Backup mount lost its permissions - unable to remount:

        Also thinking perhaps I should most to SSHFS too instead of CIFS given that seems to have resolved a bunch of issues for you, right?

        Yes sshfs has definitely be more reliable for me. I switched to it when I hit some unmounting / backup problems in the paste due to a bug in how CIFS were handle by Cloudron and never had a problem since so never went back to CIFS.

        jdaviescoatesJ 1 Reply Last reply
        1
        • avatar1024A avatar1024

          @jdaviescoates said in Backup mount lost its permissions - unable to remount:

          At that point /cloudronbackup was root:root so perhaps that was the issue

          root:root is also the case for me, it is only the mount that changes the permissions to the storage box user.

          @jdaviescoates said in Backup mount lost its permissions - unable to remount:

          Also thinking perhaps I should most to SSHFS too instead of CIFS given that seems to have resolved a bunch of issues for you, right?

          Yes sshfs has definitely be more reliable for me. I switched to it when I hit some unmounting / backup problems in the paste due to a bug in how CIFS were handle by Cloudron and never had a problem since so never went back to CIFS.

          jdaviescoatesJ Online
          jdaviescoatesJ Online
          jdaviescoates
          wrote on last edited by
          #16

          @avatar1024 thanks, I'll wait for @girish to chime in again and then likely look into mounting using SSHFS too...

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          1
          • nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #17

            So for a start, check if this directory is actually mounted currently. You can do this with mountpoint /mnt/cloudronbackup/ and also systemctl status mnt-cloudronbackup.mount should give some status on that mointpoint. If it isn't mounted (it means it is just a local folder on the filesystem), then delete all contents of it (mostly empty folder I assume) and then try to remount via the button in your backs view of your Cloudron dashboard.

            jdaviescoatesJ 1 Reply Last reply
            0
            • nebulonN nebulon

              So for a start, check if this directory is actually mounted currently. You can do this with mountpoint /mnt/cloudronbackup/ and also systemctl status mnt-cloudronbackup.mount should give some status on that mointpoint. If it isn't mounted (it means it is just a local folder on the filesystem), then delete all contents of it (mostly empty folder I assume) and then try to remount via the button in your backs view of your Cloudron dashboard.

              jdaviescoatesJ Online
              jdaviescoatesJ Online
              jdaviescoates
              wrote on last edited by jdaviescoates
              #18

              @nebulon said in Backup mount lost its permissions - unable to remount:

              So for a start, check if this directory is actually mounted currently.

              I don't really need to check that, because it isn't, that's the whole point.

              But yeah, double triple confirmed:

              root@v2202211129685206445:~# mountpoint /mnt/cloudronbackup/
              /mnt/cloudronbackup/ is not a mountpoint
              root@v2202211129685206445:~# systemctl status mnt-cloudronbackup.mount
              ● mnt-cloudronbackup.mount - backup
                   Loaded: loaded (/etc/systemd/system/mnt-cloudronbackup.mount; enabled; vendor preset: enabled)
                   Active: failed (Result: exit-code) since Tue 2022-11-29 10:26:43 UTC; 48min ago
                    Where: /mnt/cloudronbackup
                     What: //uXXXXXX.your-storagebox.de/backup
              
              Nov 29 10:26:43 v2202211129685206445 systemd[1]: Mounting backup...
              Nov 29 10:26:43 v2202211129685206445 mount[30438]: mount error(79): Can not access a needed shared library
              Nov 29 10:26:43 v2202211129685206445 mount[30438]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
              Nov 29 10:26:43 v2202211129685206445 systemd[1]: mnt-cloudronbackup.mount: Mount process exited, code=exited, status=32/n/a
              Nov 29 10:26:43 v2202211129685206445 systemd[1]: mnt-cloudronbackup.mount: Failed with result 'exit-code'.
              Nov 29 10:26:43 v2202211129685206445 systemd[1]: Failed to mount backup.
              

              @nebulon said in Backup mount lost its permissions - unable to remount:

              If it isn't mounted (it means it is just a local folder on the filesystem), then delete all contents of it (mostly empty folder I assume) and then try to remount via the button in your backs view of your Cloudron dashboard.

              Did that. Didn't work.

              Then changed /mnt/cloudronbackup back to root:root (can you confirm what is should be?) to see if that would help. It didn't.

              Also rebooted again for good measure, didn't help.

              /mnt/cloudronbackup/ is not a mountpoint is still not a mountpoint.

              I use Cloudron with Gandi & Hetzner

              nebulonN 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @nebulon said in Backup mount lost its permissions - unable to remount:

                So for a start, check if this directory is actually mounted currently.

                I don't really need to check that, because it isn't, that's the whole point.

                But yeah, double triple confirmed:

                root@v2202211129685206445:~# mountpoint /mnt/cloudronbackup/
                /mnt/cloudronbackup/ is not a mountpoint
                root@v2202211129685206445:~# systemctl status mnt-cloudronbackup.mount
                ● mnt-cloudronbackup.mount - backup
                     Loaded: loaded (/etc/systemd/system/mnt-cloudronbackup.mount; enabled; vendor preset: enabled)
                     Active: failed (Result: exit-code) since Tue 2022-11-29 10:26:43 UTC; 48min ago
                      Where: /mnt/cloudronbackup
                       What: //uXXXXXX.your-storagebox.de/backup
                
                Nov 29 10:26:43 v2202211129685206445 systemd[1]: Mounting backup...
                Nov 29 10:26:43 v2202211129685206445 mount[30438]: mount error(79): Can not access a needed shared library
                Nov 29 10:26:43 v2202211129685206445 mount[30438]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                Nov 29 10:26:43 v2202211129685206445 systemd[1]: mnt-cloudronbackup.mount: Mount process exited, code=exited, status=32/n/a
                Nov 29 10:26:43 v2202211129685206445 systemd[1]: mnt-cloudronbackup.mount: Failed with result 'exit-code'.
                Nov 29 10:26:43 v2202211129685206445 systemd[1]: Failed to mount backup.
                

                @nebulon said in Backup mount lost its permissions - unable to remount:

                If it isn't mounted (it means it is just a local folder on the filesystem), then delete all contents of it (mostly empty folder I assume) and then try to remount via the button in your backs view of your Cloudron dashboard.

                Did that. Didn't work.

                Then changed /mnt/cloudronbackup back to root:root (can you confirm what is should be?) to see if that would help. It didn't.

                Also rebooted again for good measure, didn't help.

                /mnt/cloudronbackup/ is not a mountpoint is still not a mountpoint.

                nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote on last edited by
                #19

                @jdaviescoates right so unless the mount succeeds that folder remains a local folder. It seems the underlying issue is mentioned there Can not access a needed shared library could it be that while you changed the kernel, apt had updated or autoremoved any extra libraries which cifs mount need? Also while clicking the remount button in the Cloudron dashboard, checkout the mentioned dmesg output, hopefully that reveals which shared library went missing on your system.

                jdaviescoatesJ 1 Reply Last reply
                0
                • nebulonN nebulon

                  @jdaviescoates right so unless the mount succeeds that folder remains a local folder. It seems the underlying issue is mentioned there Can not access a needed shared library could it be that while you changed the kernel, apt had updated or autoremoved any extra libraries which cifs mount need? Also while clicking the remount button in the Cloudron dashboard, checkout the mentioned dmesg output, hopefully that reveals which shared library went missing on your system.

                  jdaviescoatesJ Online
                  jdaviescoatesJ Online
                  jdaviescoates
                  wrote on last edited by jdaviescoates
                  #20

                  @nebulon said in Backup mount lost its permissions - unable to remount:

                  could it be that while you changed the kernel, apt had updated or autoremoved any extra libraries which cifs mount need?

                  I guess perhaps when I ran apt install linux-image-5.4.0-131-generic something like that could've happened? 🤷

                  Literally all I did was copy/ paste the instructions at https://forum.cloudron.io/post/57216

                  @nebulon said in Backup mount lost its permissions - unable to remount:

                  Also while clicking the remount button in the Cloudron dashboard, checkout the mentioned dmesg output, hopefully that reveals which shared library went missing on your system.

                  Spotted this:

                  [ 2001.662062] CIFS: Attempting to mount //uXXXXXX.your-storagebox.de/backup
                  [ 2001.662085] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
                  [ 2001.663516] CIFS VFS: CIFS mount error: iocharset utf8 not found
                  
                  

                  ?!?

                  I don't get how making the kernel changes would remove iocharset utf 8?

                  (also, please could you confirm what the permissions should be on all the folders within /mnt/ thanks!)

                  I use Cloudron with Gandi & Hetzner

                  girishG 1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @nebulon said in Backup mount lost its permissions - unable to remount:

                    could it be that while you changed the kernel, apt had updated or autoremoved any extra libraries which cifs mount need?

                    I guess perhaps when I ran apt install linux-image-5.4.0-131-generic something like that could've happened? 🤷

                    Literally all I did was copy/ paste the instructions at https://forum.cloudron.io/post/57216

                    @nebulon said in Backup mount lost its permissions - unable to remount:

                    Also while clicking the remount button in the Cloudron dashboard, checkout the mentioned dmesg output, hopefully that reveals which shared library went missing on your system.

                    Spotted this:

                    [ 2001.662062] CIFS: Attempting to mount //uXXXXXX.your-storagebox.de/backup
                    [ 2001.662085] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
                    [ 2001.663516] CIFS VFS: CIFS mount error: iocharset utf8 not found
                    
                    

                    ?!?

                    I don't get how making the kernel changes would remove iocharset utf 8?

                    (also, please could you confirm what the permissions should be on all the folders within /mnt/ thanks!)

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

                    @jdaviescoates Can you try apt install linux-modules-extra-5.4.0-131-generic and reboot ?

                    jdaviescoatesJ 1 Reply Last reply
                    1
                    • girishG girish

                      @jdaviescoates Can you try apt install linux-modules-extra-5.4.0-131-generic and reboot ?

                      jdaviescoatesJ Online
                      jdaviescoatesJ Online
                      jdaviescoates
                      wrote on last edited by
                      #22

                      @girish said in Backup mount lost its permissions - unable to remount:

                      apt install linux-modules-extra-5.4.0-131-generic

                      Thanks that did the job!

                      Guess you need to add that to the fix instructions!

                      I use Cloudron with Gandi & Hetzner

                      girishG 1 Reply Last reply
                      2
                      • jdaviescoatesJ jdaviescoates has marked this topic as solved on
                      • jdaviescoatesJ jdaviescoates

                        @girish said in Backup mount lost its permissions - unable to remount:

                        apt install linux-modules-extra-5.4.0-131-generic

                        Thanks that did the job!

                        Guess you need to add that to the fix instructions!

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

                        @jdaviescoates that was quick!

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