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

    Support
    filemanager
    4
    7
    176
    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.
    • T
      thargol last edited by girish

      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.

      nebulon 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @thargol last edited by 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 1 Reply Last reply Reply Quote 1
        • nebulon
          nebulon Staff @thargol last edited by

          @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 Reply Quote 0
          • robi
            robi last edited by

            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"
            
            

            Life of Gratitude.
            Life of Advanced Technology

            1 Reply Last reply Reply Quote 0
            • T
              thargol @nebulon last edited by

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

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @thargol last edited by 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 1 Reply Last reply Reply Quote 1
                • T
                  thargol @girish last edited by thargol

                  @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 Reply Quote 1
                  • robi
                    robi last edited by

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

                    Life of Gratitude.
                    Life of Advanced Technology

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    Powered by NodeBB