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. N8N
  3. Cannot setup environnments

Cannot setup environnments

Scheduled Pinned Locked Moved Solved N8N
9 Posts 3 Posters 1.3k 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.
  • LanhildL Offline
    LanhildL Offline
    Lanhild
    App Dev
    wrote on last edited by
    #1

    In the Cloudron's n8n app, I cannot setup environments using a git repo over SSH, as it is prompting to confirm the fingerprint of the key.

    2024-03-04_15-25-55.png

    When clicking "Connect", it loads forever waiting for the key fingerprint to be confirmed.
    2024-03-04_15-27-09.png

    The issue is because it's trying to write to the /root/.ssh/known_hosts file when it doesn't have the permission.2024-03-04_15-29-24.png

    For more context, I'm using Gitea as a Git provider

    1 Reply Last reply
    1
    • nebulonN nebulon marked this topic as a question on
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      So the n8n app is run as the cloudron user, not as root, so acknowledging the fingerprint as root will not help for the plugin usage I assume. Can you try to run this with the cloudron user and see if this helps?

      LanhildL 1 Reply Last reply
      1
      • nebulonN nebulon

        So the n8n app is run as the cloudron user, not as root, so acknowledging the fingerprint as root will not help for the plugin usage I assume. Can you try to run this with the cloudron user and see if this helps?

        LanhildL Offline
        LanhildL Offline
        Lanhild
        App Dev
        wrote on last edited by Lanhild
        #3

        @nebulon Ah yes, I forgot to include it in the OP, but it results in the same error, except that it's in /home/cloudron/.ssh

        The issue can easily be reproduced by trying to clone a private git repo over ssh within the application

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

          @Lanhild I wanted to test this but looks like Workflows are only in the Enterprise plan, is it?

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

            @Lanhild I have pushed an update that symlinks .ssh atleast, but I am not sure if this fixes the problem because I can't test it.

            LanhildL 1 Reply Last reply
            0
            • girishG girish

              @Lanhild I have pushed an update that symlinks .ssh atleast, but I am not sure if this fixes the problem because I can't test it.

              LanhildL Offline
              LanhildL Offline
              Lanhild
              App Dev
              wrote on last edited by Lanhild
              #6

              @girish I'm getting the following error
              51e7ccb6-474e-4827-b9c2-2f817264af26-image.png

              It seems to work when using a GitHub repo though? 🤔

              girishG 1 Reply Last reply
              0
              • girishG girish

                @Lanhild I wanted to test this but looks like Workflows are only in the Enterprise plan, is it?

                LanhildL Offline
                LanhildL Offline
                Lanhild
                App Dev
                wrote on last edited by
                #7

                @girish Yeah, unfortunately their environments feature is enterprise only

                1 Reply Last reply
                0
                • LanhildL Lanhild

                  @girish I'm getting the following error
                  51e7ccb6-474e-4827-b9c2-2f817264af26-image.png

                  It seems to work when using a GitHub repo though? 🤔

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

                  @Lanhild can you check the permissions of that folder? Maybe it was root from a previous run?

                  LanhildL 1 Reply Last reply
                  0
                  • girishG girish

                    @Lanhild can you check the permissions of that folder? Maybe it was root from a previous run?

                    LanhildL Offline
                    LanhildL Offline
                    Lanhild
                    App Dev
                    wrote on last edited by
                    #9

                    @girish Yeah that was it. It works now. Thanks!

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