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. Folder in Nextcloud Not Opening After Update to 30.0.2

Folder in Nextcloud Not Opening After Update to 30.0.2

Scheduled Pinned Locked Moved Nextcloud
7 Posts 2 Posters 544 Views 2 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.
  • daebakD Offline
    daebakD Offline
    daebak
    wrote on last edited by
    #1

    I am encountering a problem that I am unable to resolve, and I hope someone can help me.

    In Nextcloud, I have two external hard drives (Ubuntu/Samba) mounted through the Nextcloud panel in CIF, and everything was working perfectly until I updated to version 30.0.2. After the update, a single folder is causing problems: when I try to open it, the loading cursor keeps spinning, but the files never appear.

    I tried to run a scan from the terminal using the command "sudo -u www-data php -f /app/code/occ files:scan --all", but this removed approximately 4080 files and folders. I have checked by connecting to the disk, and the files and folders are still there, but Nextcloud cannot display them.

    This is a very urgent situation, and I would appreciate any help or suggestions. Thank you in advance for your support!!

    Terminal-cloud-c1-ezgest-com-Nextcloud--11-18-2024_03_54_PM.png

    BUSINESS DEVELOPER
    https://antoniodonofrio.com

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      What does "mounted through the Nextcloud panel in CIF" for Nextcloud mean here? I guess those are not Cloudron volumes? Are you using https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage_configuration_gui.html ?

      If so can you see the files in the webterminal of the app and also try to mount those to the server itself, to see if that mounting as such doesn't work?

      Of course maybe you can also try to rollback the app. Nextcloud often has minor regressions with plugins, we try to be cautious and wait longer than usual for Nextcloud but we can't test all those combinations ourselves πŸ˜•

      daebakD 1 Reply Last reply
      0
      • nebulonN nebulon

        What does "mounted through the Nextcloud panel in CIF" for Nextcloud mean here? I guess those are not Cloudron volumes? Are you using https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage_configuration_gui.html ?

        If so can you see the files in the webterminal of the app and also try to mount those to the server itself, to see if that mounting as such doesn't work?

        Of course maybe you can also try to rollback the app. Nextcloud often has minor regressions with plugins, we try to be cautious and wait longer than usual for Nextcloud but we can't test all those combinations ourselves πŸ˜•

        daebakD Offline
        daebakD Offline
        daebak
        wrote on last edited by
        #3

        @nebulon yes I am using external storage configuration gui. but I can see all the folders and files. Only one folder if I try to open the loading cursor keeps spinning. If I open the disk from windows terminal that folder work fine. I don't understand why if I try to make a files:scan nextcloud remove so many files and folders. probably I make something wrong becuase is an external disk ?

        BUSINESS DEVELOPER
        https://antoniodonofrio.com

        1 Reply Last reply
        0
        • daebakD Offline
          daebakD Offline
          daebak
          wrote on last edited by daebak
          #4

          I tried restoring the previous backup, and the problem occurs when I update from version 30.0.1 to 30.0.2.

          Since it's just one directory, I can recreate a new directory and move the folders from the directory that won't open to the new one using WebDAV. The problem is that when I run the files:scan command, it empties the directories. What am I doing wrong? How can I retrieve the path of the external disk for that directory?

          Here is the command I'm using: sudo -u www-data php -f /app/code/occ files:scan <username> --path=/<username>/files/externaltest if I have [IP]/storage/directory.

          BUSINESS DEVELOPER
          https://antoniodonofrio.com

          1 Reply Last reply
          1
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            You may have to ask the external storage plugin/app developers on how to use that. I haven't used this in years or maybe others here are actively using it?

            Also have you looked around nextcloud forums and issue trackers for hints?

            1 Reply Last reply
            0
            • daebakD Offline
              daebakD Offline
              daebak
              wrote on last edited by
              #6

              I accidentally solved the problem of the folder that wouldn't open and kept loading infinitely.

              When I tried downloading and uploading the folders to a new folder, the same problem occurred again. I noticed that the cause was an empty Readme.md file of 0KB.

              This problem occurs starting from version 30.0.2; it didn't happen with version 30.0.1. After deleting the file remotely, the folder opens. You can try creating a folder and uploading an empty Readme.mdfile; you should encounter the same problem.

              A bug report should be created, but I don't know if it happens only to me. So, anyone who wants to can try it to see if it’s indeed a bug.

              The second problem, where many empty folders aren't shown after scanning, I couldn't explain. Since it's an external storage used only with Nextcloud, it should be fine permission-wise. This actually concerns me more, because theoretically, with external storage, a cron job should be added to scan files every 15 minutes:

              sudo -u www-data php occ files:scan --all
              

              as indicated in the documentation: Nextcloud External Storage Configuration

              I hope this can be helpful to someone, especially because I haven't found similar cases online and I discovered it only by chance.

              BUSINESS DEVELOPER
              https://antoniodonofrio.com

              1 Reply Last reply
              1
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #7

                Thanks for sharing your findings here! Hopefully this regression gets fixed then with next release.

                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