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. Regenerate video thumbnails

Regenerate video thumbnails

Scheduled Pinned Locked Moved Unsolved PeerTube
19 Posts 5 Posters 3.1k Views 5 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.
  • mdc773M Offline
    mdc773M Offline
    mdc773
    wrote on last edited by
    #6

    Thanks for your findings, i actually figured out this way of doing it as well but i find some thumbnails but then fails on some.. plus I am having the problem again when my peertube fails to send the videos to my objective storage (idrive-e3) so what happen is peertube save the videos locally and its about 1.5TB then it takes up all the space and the app stops..... this the seconded time this happened so idk if the problem is idrive or cloudron

    jdaviescoatesJ 1 Reply Last reply
    0
    • mdc773M Offline
      mdc773M Offline
      mdc773
      wrote on last edited by
      #7

      System Info

      1 Reply Last reply
      0
      • mdc773M Offline
        mdc773M Offline
        mdc773
        wrote on last edited by
        #8
        This post is deleted!
        1 Reply Last reply
        0
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #9

          Btw, it's "object storage".

          It's an interesting failure scenario that should be investigated with the peertube guys upstream.

          Perhaps they need better retries and resilience on their s3 backend code and options for not saving locally if that fails.

          Conscious tech

          jdaviescoatesJ 1 Reply Last reply
          1
          • mdc773M Offline
            mdc773M Offline
            mdc773
            wrote on last edited by
            #10

            thanks will do
            and yeah lol object storage

            1 Reply Last reply
            0
            • mdc773M mdc773

              Thanks for your findings, i actually figured out this way of doing it as well but i find some thumbnails but then fails on some.. plus I am having the problem again when my peertube fails to send the videos to my objective storage (idrive-e3) so what happen is peertube save the videos locally and its about 1.5TB then it takes up all the space and the app stops..... this the seconded time this happened so idk if the problem is idrive or cloudron

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #11

              @mdc773 said in Regenerate video thumbnails:

              so what happen is peertube save the videos locally and its about 1.5TB then it takes up all the space and the app stops..... this the seconded time this happened so idk if the problem is idrive or cloudron

              I was having similar problems with large videos when I was trying to run PeerTube on a server that didn't really have enough RAM / CPU to power it. Since I've been on a more powerful server everything has been working fine. I'd guess you're hitting a similar problem and what you need is a server upgrade.

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • robiR robi

                Btw, it's "object storage".

                It's an interesting failure scenario that should be investigated with the peertube guys upstream.

                Perhaps they need better retries and resilience on their s3 backend code and options for not saving locally if that fails.

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #12

                @robi said in Regenerate video thumbnails:

                options for not saving locally if that fails

                I'm not sure, but I'd guess it does all the CPU intensive transcoding locally before uploading to S3.

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                2
                • mdc773M Offline
                  mdc773M Offline
                  mdc773
                  wrote on last edited by
                  #13

                  I appreciate everyone help even @jdaviescoates but hey i'm not 100% sure but i have a EX101 hetzner Intel® Core™ i9-13900 24 Core with 128gb ram cant be the server peertube fails and i need to find the exact log.. at the moment i plan to simulate the problem with a massive upload :? 😕

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • mdc773M mdc773

                    I appreciate everyone help even @jdaviescoates but hey i'm not 100% sure but i have a EX101 hetzner Intel® Core™ i9-13900 24 Core with 128gb ram cant be the server peertube fails and i need to find the exact log.. at the moment i plan to simulate the problem with a massive upload :? 😕

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

                    @mdc773 certainly sounds like server power is not the issue!

                    Just to be sure though, have you also cranked up the app resources in the app settings?

                    I use Cloudron with Gandi & Hetzner

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

                      Maybe I missed it, what is the error message now?

                      1 Reply Last reply
                      0
                      • mdc773M Offline
                        mdc773M Offline
                        mdc773
                        wrote on last edited by
                        #16

                        well i am trying to simulate this at the moment..

                        1 Reply Last reply
                        0
                        • jdaviescoatesJ jdaviescoates

                          @mdc773 certainly sounds like server power is not the issue!

                          Just to be sure though, have you also cranked up the app resources in the app settings?

                          mdc773M Offline
                          mdc773M Offline
                          mdc773
                          wrote on last edited by
                          #17

                          @jdaviescoates yes i have

                          1 Reply Last reply
                          1
                          • mdc773M Offline
                            mdc773M Offline
                            mdc773
                            wrote on last edited by
                            #18
                            warn[10/24/2023, 3:39:37 PM] Object storage max upload part seems to have a big value (1073741824 bytes). Consider using a lower one (like 100MB). 
                            
                            

                            I have set this up long time ago i don't fully understand max upload part but I've set to 100MB like it says same problem peertube support is very slow they have a matrix chat but barley reply

                            i really need some help my idea for object storage was to save local space which i think this why all of us do this

                            girishG 1 Reply Last reply
                            0
                            • mdc773M mdc773
                              warn[10/24/2023, 3:39:37 PM] Object storage max upload part seems to have a big value (1073741824 bytes). Consider using a lower one (like 100MB). 
                              
                              

                              I have set this up long time ago i don't fully understand max upload part but I've set to 100MB like it says same problem peertube support is very slow they have a matrix chat but barley reply

                              i really need some help my idea for object storage was to save local space which i think this why all of us do this

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

                              @mdc773 said in Regenerate video thumbnails:

                              i don't fully understand max upload part

                              On S3 compatible storage, you can upload large files, like 5TB. It would be infeasible to upload such large files in a single shot. So, they have APIs to upload files in "parts". Like you upload 10k parts of 5GB each for example to get to 5TB. The number of parts and size of each part depends on the S3 storage.

                              Usually, I leave upload part size to something like 10MB-50MB. There is actually nothing wrong with 100MB part size, but for some reason peertube is complaining about it.

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