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. Migrated to a new server, now file manager doesn't show files

Migrated to a new server, now file manager doesn't show files

Scheduled Pinned Locked Moved Solved Support
filemanager
7 Posts 4 Posters 1.2k 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.
    • T Offline
      T Offline
      thargol
      wrote on last edited by girish
      #1

      I migrated my installation to a new server and installed from backups, and everything went well. But when I opened the file manager for one of my apps, nothing displayed. I have checked, and all the pre-existing apps behave the same way, while new apps I have added port-migration display files/folders in file manager correctly. I am able to access files through the terminal, but I would like to have the file manager working properly as well.

      nebulonN 1 Reply Last reply
      0
      • T thargol

        @nebulon I have restarted the SFTP service and can confirm what @robi said, it did not fix the issue.

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

        @thargol Services -> SFTP -> Enable recovery mode. Then, after say 10 seconds, Services -> SFTP -> Disable recovery mode. This essentially recreates the filemanager container which I think should fix the problem.

        We had this issue long ago, which I thought we fixed with https://git.cloudron.io/cloudron/box/-/commit/097a7d6b60bc7261525abc5a519a944d8920f6dc . Essentially, there is a race that the filemanager container attaches itself to directories before the app containers. This results in linux creating shadow directories, so while they refer to the same path, both containers see different files! Can you please tell me which version of Cloudron you migrated to?

        T 1 Reply Last reply
        1
        • T thargol

          I migrated my installation to a new server and installed from backups, and everything went well. But when I opened the file manager for one of my apps, nothing displayed. I have checked, and all the pre-existing apps behave the same way, while new apps I have added port-migration display files/folders in file manager correctly. I am able to access files through the terminal, but I would like to have the file manager working properly as well.

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

          @thargol can you try to restart the SFTP service from the services view in your Cloudron dashboard? While not ideally named, that services provides both FTP and a REST api (which the filemanager uses) for file access into the apps.

          T 1 Reply Last reply
          0
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #3

            I have the same issue.. didn't migrate.

            Restarting the SFTP service does not solve the problem.

            The docker logs have a lot of odd messages repeating too.

            Nov 12 03:50:22 host dockerd[18044]: time="2021-11-12T11:50:22.112787468Z" level=info msg="ignoring event" container=bb4b55cea8312a5849748d93d051ac56f6ecc742bbbed5bd1cfe9d535b8c4e1e module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
            
            

            Conscious tech

            1 Reply Last reply
            0
            • nebulonN nebulon

              @thargol can you try to restart the SFTP service from the services view in your Cloudron dashboard? While not ideally named, that services provides both FTP and a REST api (which the filemanager uses) for file access into the apps.

              T Offline
              T Offline
              thargol
              wrote on last edited by
              #4

              @nebulon I have restarted the SFTP service and can confirm what @robi said, it did not fix the issue.

              girishG 1 Reply Last reply
              0
              • T thargol

                @nebulon I have restarted the SFTP service and can confirm what @robi said, it did not fix the issue.

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

                @thargol Services -> SFTP -> Enable recovery mode. Then, after say 10 seconds, Services -> SFTP -> Disable recovery mode. This essentially recreates the filemanager container which I think should fix the problem.

                We had this issue long ago, which I thought we fixed with https://git.cloudron.io/cloudron/box/-/commit/097a7d6b60bc7261525abc5a519a944d8920f6dc . Essentially, there is a race that the filemanager container attaches itself to directories before the app containers. This results in linux creating shadow directories, so while they refer to the same path, both containers see different files! Can you please tell me which version of Cloudron you migrated to?

                T 1 Reply Last reply
                1
                • girishG girish

                  @thargol Services -> SFTP -> Enable recovery mode. Then, after say 10 seconds, Services -> SFTP -> Disable recovery mode. This essentially recreates the filemanager container which I think should fix the problem.

                  We had this issue long ago, which I thought we fixed with https://git.cloudron.io/cloudron/box/-/commit/097a7d6b60bc7261525abc5a519a944d8920f6dc . Essentially, there is a race that the filemanager container attaches itself to directories before the app containers. This results in linux creating shadow directories, so while they refer to the same path, both containers see different files! Can you please tell me which version of Cloudron you migrated to?

                  T Offline
                  T Offline
                  thargol
                  wrote on last edited by thargol
                  #6

                  @girish Thank you very much, that fixed it for me! And I didn't migrate versions, I migrated from one server to a new server. I was on version 7.0.3 before and after migration.

                  1 Reply Last reply
                  1
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #7

                    FYI - something in the Cloudron dashboard went stale, hence when reloading the dash, the FM began to load properly.

                    Conscious tech

                    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