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. Peertube CLI not working

Peertube CLI not working

Scheduled Pinned Locked Moved Solved PeerTube
10 Posts 3 Posters 1.3k 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.
    • imc67I Offline
      imc67I Offline
      imc67
      translator
      wrote on last edited by
      #1

      In the docs (https://docs.cloudron.io/apps/peertube/) it says:

      # peertube import --url https://peertube.cloudron.club --username root --password changeme --target-url https://www.youtube.com/watch?v=xxx --tmpdir /tmp
      

      however, doing that (with the correct credentials, URL's etc) results in:

      bash: peertube: command not found
      

      What am I doing wrong?

      using latest version: org.joinpeertube.cloudronapp@2.3.0-1

      luckowL 1 Reply Last reply
      0
      • imc67I imc67

        In the docs (https://docs.cloudron.io/apps/peertube/) it says:

        # peertube import --url https://peertube.cloudron.club --username root --password changeme --target-url https://www.youtube.com/watch?v=xxx --tmpdir /tmp
        

        however, doing that (with the correct credentials, URL's etc) results in:

        bash: peertube: command not found
        

        What am I doing wrong?

        using latest version: org.joinpeertube.cloudronapp@2.3.0-1

        luckowL Offline
        luckowL Offline
        luckow
        translator
        wrote on last edited by
        #2

        @imc67 Same here. It looks like something is broken with the cli-wrapper. https://docs.joinpeertube.org/maintain-tools?id=cli-wrapper

        Pronouns: he/him | Primary language: German

        1 Reply Last reply
        0
        • imc67I Offline
          imc67I Offline
          imc67
          translator
          wrote on last edited by
          #3

          @girish any clue of to solve this?

          girishG 2 Replies Last reply
          0
          • imc67I imc67

            @girish any clue of to solve this?

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

            @imc67 Just looking into this now.

            1 Reply Last reply
            0
            • imc67I imc67

              @girish any clue of to solve this?

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

              @luckow @imc67 this seems to work for me out of the box. Are you running this in the Web Terminal btw?

              root@56a8cfff-2217-4ae9-89c4-f69c3470abe8:/app/code/server# peertube 
              
                ___/),.._                           ░P░e░e░r░T░u░b░e░
              /'   ,.   ."'._
              (     "'   '-.__"-._             ,-
              \'='='),  "\ -._-"-.          -"/
                    / ""/"\,_\,__""       _" /,-
                   /   /                -" _/"/
                  /   |    ._\\ |\  |_.".-"  /
                 /    |   __\)|)|),/|_." _,."
                /     _."   " ") | ).-""---''--
               (                  "/.""7__-""''
               |                   " ."._--._
               \       \ (_    __   ""   ".,_
                \.,.    \  ""   -"".-"
                 ".,_,  (",_-,,,-".-
                     "'-,\_   __,-"
                           ",)" ")
                            /"\-"
                          ,"\/
                    _,.__/"\/_                     (the CLI for red chocobos)
                   / \) "./,  ".
                --/---"---" "-) )---- by Chocobozzz et al.
              
              Usage: peertube [command] [options]
              
              imc67I 1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                Import also works for me:

                root@56a8cfff-2217-4ae9-89c4-f69c3470abe8:/app/code/cli# peertube import --url https://videos.cloudron.space --username root --password changeme --target-url 
                --tmpdir /tmp info: Will download and upload 1 videos. info: ############################################################ info: Downloading video "How To Install Cloudron on Ubuntu 20.04"... info: [youtube] S3qZf3fYl6Q: Downloading webpage [youtube] S3qZf3fYl6Q: Downloading MPD manifest [dashsegments] Total fragments: 55 [download] Destination: /tmp/0dfa2c23cdd12e5a8005643e3ff340d747e5b12fbfc56d58da22d9ff67f000cc.f136.mp4 [download] 100% of 7.79MiB in 00:07.82MiB/s ETA 00:0046:11 [download] Destination: /tmp/0dfa2c23cdd12e5a8005643e3ff340d747e5b12fbfc56d58da22d9ff67f000cc.mp4.f140 [download] 100% of 4.26MiB in 00:0067MiB/s ETA 00:009 [ffmpeg] Merging formats into "/tmp/0dfa2c23cdd12e5a8005643e3ff340d747e5b12fbfc56d58da22d9ff67f000cc.mp4" Deleting original file /tmp/0dfa2c23cdd12e5a8005643e3ff340d747e5b12fbfc56d58da22d9ff67f000cc.f136.mp4 (pass -k to keep) Deleting original file /tmp/0dfa2c23cdd12e5a8005643e3ff340d747e5b12fbfc56d58da22d9ff67f000cc.mp4.f140 (pass -k to keep) info: Uploading on PeerTube video "How To Install Cloudron on Ubuntu 20.04". warn: Uploaded video "How To Install Cloudron on Ubuntu 20.04"! info: Video/s for user root imported:
                1 Reply Last reply
                0
                • girishG girish

                  @luckow @imc67 this seems to work for me out of the box. Are you running this in the Web Terminal btw?

                  root@56a8cfff-2217-4ae9-89c4-f69c3470abe8:/app/code/server# peertube 
                  
                    ___/),.._                           ░P░e░e░r░T░u░b░e░
                  /'   ,.   ."'._
                  (     "'   '-.__"-._             ,-
                  \'='='),  "\ -._-"-.          -"/
                        / ""/"\,_\,__""       _" /,-
                       /   /                -" _/"/
                      /   |    ._\\ |\  |_.".-"  /
                     /    |   __\)|)|),/|_." _,."
                    /     _."   " ") | ).-""---''--
                   (                  "/.""7__-""''
                   |                   " ."._--._
                   \       \ (_    __   ""   ".,_
                    \.,.    \  ""   -"".-"
                     ".,_,  (",_-,,,-".-
                         "'-,\_   __,-"
                               ",)" ")
                                /"\-"
                              ,"\/
                        _,.__/"\/_                     (the CLI for red chocobos)
                       / \) "./,  ".
                    --/---"---" "-) )---- by Chocobozzz et al.
                  
                  Usage: peertube [command] [options]
                  
                  imc67I Offline
                  imc67I Offline
                  imc67
                  translator
                  wrote on last edited by
                  #7

                  @girish yes WebTerminal of the app:

                  Connecting...
                  If you resize the browser window, press Ctrl+D to start a new session with the current size.
                  root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server# peertube
                  bash: peertube: command not found
                  root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server#
                  
                  girishG 1 Reply Last reply
                  0
                  • imc67I imc67

                    @girish yes WebTerminal of the app:

                    Connecting...
                    If you resize the browser window, press Ctrl+D to start a new session with the current size.
                    root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server# peertube
                    bash: peertube: command not found
                    root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server#
                    
                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @imc67 Ah! Workaround is source /root/.bashrc and then run the command. This is fixed in 6.3.6 which is already out.

                    imc67I 1 Reply Last reply
                    1
                    • girishG girish

                      @imc67 Ah! Workaround is source /root/.bashrc and then run the command. This is fixed in 6.3.6 which is already out.

                      imc67I Offline
                      imc67I Offline
                      imc67
                      translator
                      wrote on last edited by
                      #9

                      @girish said in Peertube CLI not working:

                      source /root/.bashrc

                      this was it!!

                      root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server# source /root/.bashrc
                      root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server# peertube
                      
                        ___/),.._                           ░P░e░e░r░T░u░b░e░
                      /'   ,.   ."'._
                      (     "'   '-.__"-._             ,-
                      \'='='),  "\ -._-"-.          -"/
                            / ""/"\,_\,__""       _" /,-
                           /   /                -" _/"/
                          /   |    ._\\ |\  |_.".-"  /
                         /    |   __\)|)|),/|_." _,."
                        /     _."   " ") | ).-""---''--
                       (                  "/.""7__-""''
                       |                   " ."._--._
                       \       \ (_    __   ""   ".,_
                        \.,.    \  ""   -"".-"
                         ".,_,  (",_-,,,-".-
                             "'-,\_   __,-"
                                   ",)" ")
                                    /"\-"
                                  ,"\/
                            _,.__/"\/_                     (the CLI for red chocobos)
                           / \) "./,  ".
                        --/---"---" "-) )---- by Chocobozzz et al.
                      
                      Usage: peertube [command] [options]
                      
                      girishG 1 Reply Last reply
                      0
                      • imc67I imc67

                        @girish said in Peertube CLI not working:

                        source /root/.bashrc

                        this was it!!

                        root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server# source /root/.bashrc
                        root@fd074a84-6b24-4541-984a-58b15a4f5439:/app/code/server# peertube
                        
                          ___/),.._                           ░P░e░e░r░T░u░b░e░
                        /'   ,.   ."'._
                        (     "'   '-.__"-._             ,-
                        \'='='),  "\ -._-"-.          -"/
                              / ""/"\,_\,__""       _" /,-
                             /   /                -" _/"/
                            /   |    ._\\ |\  |_.".-"  /
                           /    |   __\)|)|),/|_." _,."
                          /     _."   " ") | ).-""---''--
                         (                  "/.""7__-""''
                         |                   " ."._--._
                         \       \ (_    __   ""   ".,_
                          \.,.    \  ""   -"".-"
                           ".,_,  (",_-,,,-".-
                               "'-,\_   __,-"
                                     ",)" ")
                                      /"\-"
                                    ,"\/
                              _,.__/"\/_                     (the CLI for red chocobos)
                             / \) "./,  ".
                          --/---"---" "-) )---- by Chocobozzz et al.
                        
                        Usage: peertube [command] [options]
                        
                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @imc67 yes sorry, I completely forgot about that regression in Cloudron 6.3.5.

                        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