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. Support
  3. apt update / install inside an app

apt update / install inside an app

Scheduled Pinned Locked Moved Solved Support
12 Posts 6 Posters 1.8k Views 6 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.
  • A Offline
    A Offline
    Adhok
    wrote on last edited by Adhok
    #3

    i want to install sshpass to test some stuff on my private network.
    I'm pretty sure you will answer "use ssh-key instead off" but i really want to install sshpass.
    So, there is nothing i can do ? Is that possible to edit the docker file to add the packet on the app ?

    1 Reply Last reply
    0
    • BrutalBirdieB Offline
      BrutalBirdieB Offline
      BrutalBirdie
      Partner
      wrote on last edited by BrutalBirdie
      #4

      @Adhok You can not install anything extra inside of a Cloudron app.
      You also can not ssh into a Cloudron app.

      What do you want to do, maybe describe what your goal is and we might be able to help you out.


      To not write unnecessary stuff what level of IT expertise would you rate yourself at?
      Do you know about Docker and containerization?

      Like my work? Consider donating a drink. Cheers!

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Adhok
        wrote on last edited by
        #5

        Thank you for this answer 🙂

        I want to run a post-download script inside the qbitorrent app to automatically upload a downloaded file on my home's synology.
        To do this task, i want to run a rsync command which include the sshpass to login on the SYNO with a clear-text password.
        I'm aware about the security risk but i'm ok because on synology side i just allow the cloudron's VPS IP to access on the NAS. (And because making a couple of ssh key on synology is a fu**ing obstacle course)

        Before all of this, i also try something into n8n to automate the process but i'm not able to correctly configure the SFTP box after the Local File Trigger box.

        My IT level is 10 years as system and network administrator. I'm a beginner about docker/kubernetees but i know the base.

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

          This feature to move downloaded files over to other apps has come up in the past, maybe this could be provided by the package in some ways. I think @girish recently worked on something similar in conjunction with jellyfin.

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

            @Adhok didn't realize creating a ssh key on synology is hard.

            So, an idea is to mount your synology as a Cloudron Volume (https://docs.cloudron.io/volumes/) . Then, mount the volume into the qbittorrent app. After that, it's a simple matter of copying the file.

            A 1 Reply Last reply
            0
            • girishG girish

              @Adhok didn't realize creating a ssh key on synology is hard.

              So, an idea is to mount your synology as a Cloudron Volume (https://docs.cloudron.io/volumes/) . Then, mount the volume into the qbittorrent app. After that, it's a simple matter of copying the file.

              A Offline
              A Offline
              Adhok
              wrote on last edited by
              #8

              @girish said in apt update / install inside an app:

              @Adhok didn't realize creating a ssh key on synology is hard.

              As i said 9 hours ago :

              @Adhok said in apt update / install inside an app:

              (And because making a couple of ssh key on synology is a fu**ing obstacle course)

              So yes, i realize creating a ssh key on syno is hard.
              (Maybe it was second degree ? My bad if.
              (It's not really hard to create, but too advanced for the thing i want to do.
              (and because i don't want to open the home service for users of the syno => it's a security hole)))

              Whatever, i will try to mount my syno as a cloudron volume, for the moment i don't know how to do but RTFM you know..
              You can keep this topic open, i will come back faster if i success the task or not.

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

                Usually creating a ssh key is really just a matter of 10 seconds. Just run ssh-keygen and that's it ? After that you just copy over the public key into the user's .ssh/authorized_keys file...

                A 1 Reply Last reply
                0
                • girishG girish

                  Usually creating a ssh key is really just a matter of 10 seconds. Just run ssh-keygen and that's it ? After that you just copy over the public key into the user's .ssh/authorized_keys file...

                  A Offline
                  A Offline
                  Adhok
                  wrote on last edited by
                  #10

                  @girish said in apt update / install inside an app:

                  Usually creating a ssh key is really just a matter of 10 seconds. Just run ssh-keygen and that's it ? After that you just copy over the public key into the user's .ssh/authorized_keys file...

                  On a random Linux, yes.
                  It's a little bit different on Syno (which is a linux too but anyway).

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Adhok
                    wrote on last edited by
                    #11

                    It's ok about mounting Synology's volume on the qbittorrent app through Cloudron.
                    I'm going to change my auto-send script and everything will be ok !
                    I use SSHFS with a couple of key. (because NFS is unsecure and SSHFS does not permit password)

                    Thank you @girish and @nebulon for the help !

                    robiR 1 Reply Last reply
                    1
                    • A Adhok

                      It's ok about mounting Synology's volume on the qbittorrent app through Cloudron.
                      I'm going to change my auto-send script and everything will be ok !
                      I use SSHFS with a couple of key. (because NFS is unsecure and SSHFS does not permit password)

                      Thank you @girish and @nebulon for the help !

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #12

                      @Adhok Don't forget to consider the opposite possibility. Push vs Pull.

                      Conscious tech

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