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. PeerTube
  3. 'move-to-object-storage' jobs failing after upgrade to v6.x

'move-to-object-storage' jobs failing after upgrade to v6.x

Scheduled Pinned Locked Moved Solved PeerTube
7 Posts 3 Posters 1.1k Views 3 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.
  • S Offline
    S Offline
    shrey
    wrote on last edited by
    #1

    Since the latest upgrade to Peertube v6.0.2, i'm increasingly, getting this error:
    EXTERNAL STORAGE MOVE FAILED

    For full description:
    https://github.com/Chocobozzz/PeerTube/issues/6149

    1 Reply Last reply
    2
    • S shrey marked this topic as a question on
    • S Offline
      S Offline
      shrey
      wrote on last edited by shrey
      #2

      Hi.

      This release is continuing to experience the aforementioned issues.

      As per the upstream-maintainer, it is recommended to try an upgrade to the underlying s3 related packages.

      Ref: https://github.com/Chocobozzz/PeerTube/issues/6149#issuecomment-1876710960

      But when i try to run the provided command in the app Terminal:
      yarn upgrade --latest @aws-sdk/client-s3 @aws-sdk/lib-storage @aws-sdk/s3-request-presigner @smithy/node-http-handler

      i receive the following errors:

      root@1a096a10-f841-480a-be1f-4e93cd2053b3:/app/code/server# yarn upgrade --latest @aws-sdk/client-s3 @aws-sdk/lib-storage @aws-sdk/s3-request-presigner @smithy/node-http-handler
      yarn upgrade v1.22.19
      warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable.
      warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0".
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      error Could not write file "/app/code/server/yarn-error.log": "EROFS: read-only file system, open '/app/code/server/yarn-error.log'"
      error An unexpected error occurred: "EROFS: read-only file system, unlink '/app/code/server/node_modules/.yarn-integrity'".
      info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.
      root@1a096a10-f841-480a-be1f-4e93cd2053b3:/app/code/server#
      

      How do i go about this now?

      PS: Without resolving this issue, the PeerTube v6.0.2 version in Cloudron is practically broken/useless.

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

        Since those npm packages are part of the app code as dependencies, this wont work on Cloudron as those are in the read-only portion of the filesystem by design. I guess for that we have to wait for upstream to update the dependencies with a release. Blindly updating libraries an app is using can have all kinds of side-effects.

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

          @shrey I think upstream dev is asking you to test a code change. If you want to try this on Cloudron:

          • Put the app in recovery mode (in the repair section of app)
          • Now , you can open a web terminal and then run the command that the author wanted
          • After this, start the app with /app/pkg/start.sh .

          Note that changes will be lost when you remove the recovery mode. Also, see https://docs.cloudron.io/troubleshooting/#unresponsive-app

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

            I think since I suspect this might take a bit to fix is to roll back the app to previous release and play around with a clone of the app instead.

            1 Reply Last reply
            1
            • girishG girish

              @shrey I think upstream dev is asking you to test a code change. If you want to try this on Cloudron:

              • Put the app in recovery mode (in the repair section of app)
              • Now , you can open a web terminal and then run the command that the author wanted
              • After this, start the app with /app/pkg/start.sh .

              Note that changes will be lost when you remove the recovery mode. Also, see https://docs.cloudron.io/troubleshooting/#unresponsive-app

              S Offline
              S Offline
              shrey
              wrote on last edited by
              #6

              @girish
              Thanks for this tip!

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

                @shrey great work figuring the root cause! I have published a new package now that highlights the breaking changes in 6.0 .

                For others reading, the main issue was that some of the configuration keys have changed in peertube 6. See https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md#v600 for more information. For example, if you use object storage to store videos, the storage paths have changed.

                1 Reply Last reply
                2
                • girishG girish has marked this topic as solved on
                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