N8N Self Hosted | FREE Cloud Server + SSL Setup

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии •

  • @pressrepeat2000
    @pressrepeat2000 3 месяца назад +3

    This is extremely well explained. I hope you keep making tutorial videos! To make it this simple, yet super-clear and fast (not wasting time) is a true skill that few people have.

    • @FuturMinds
      @FuturMinds  3 месяца назад

      Thanks @pressrepeat2000 This means a lot :)

  • @diegocs8
    @diegocs8 3 месяца назад +2

    Thanks for the tutorial man. I have a couple of follow-up videos suggestions:
    1. An in-depth video on how to attach an external database
    2. A video on how to keep docker and n8n up to date after installing on Google Cloud VM
    Thanks again. Subscribed.

    • @FuturMinds
      @FuturMinds  3 месяца назад

      @diegocs8 Thanks for the video suggestions. Those are good topics. I'll try to cover them soon.

  • @orenizhack1630
    @orenizhack1630 3 месяца назад +1

    Hello, your guide is outstanding. Thank you for sharing it. Best regards, Oren

    • @FuturMinds
      @FuturMinds  3 месяца назад

      Glad it was helpful!

  • @SaintNicholas-z9b
    @SaintNicholas-z9b 12 дней назад

    while running the docker its not showing the cointainer id
    how to resolve this?

  • @nitinkamath.A
    @nitinkamath.A 12 дней назад

    Not for windows ? Only lunix ?

  • @Ken-o9-c3b
    @Ken-o9-c3b 3 месяца назад +8

    Great tutorial. Only issue is that you should not include the protocol () in the docker run command for the value of 'N8N_HOST'. I ran into an issue where N8N was appending the protocol to the value when generating a webhook URL on my VM.

  • @KaladeepMumbai
    @KaladeepMumbai 25 дней назад

    I followed these steps and could create successfully, however when I am testing web hook calls, the execution shows the test execution as success however the front end loader keeps going with Waiting for Trigger and the page stays the same. Any help?

  • @BobMonizLQD3Designs
    @BobMonizLQD3Designs 28 дней назад

    Server is not working I get nothing when I do the sudo docker ps command. IS there a way to clear out the server and start over?

  • @lobos009
    @lobos009 2 месяца назад

    Great tutorial. Any tutorial on how to safely update n8n to latest version?

    • @FuturMinds
      @FuturMinds  2 месяца назад

      @lobos009 You can follow the steps here: github.com/futurminds/n8n-self-hosting/blob/main/README.md#:~:text=your%2Ddomain.com.-,How%20to%20update%20n8n%3A,-You%20can%20follow

  • @zackiLA
    @zackiLA 2 месяца назад

    Well explained. Thank you very much. I successfully did the tutorial and ran the n8n in my subdomain.
    Question: can I install ollama and openwebui in the same instance to integrate with the n8n?

    • @FuturMinds
      @FuturMinds  2 месяца назад

      @zackiLA I'm glad it was helpful. Yes, of course you can install other apps/models on the same instance. But ollama will require high VM configurations. So, check the requirements for the specific model you want to install before proceeding.

  • @YasinAlif-i3h
    @YasinAlif-i3h 2 месяца назад +1

    great content man!
    however, I'm facing an issue regarding the webhook data not showing in UI, any idea how to resolve this?
    Ps- the data is available in the execution, just doesnt show in UI, also cannot stop execution

    • @FuturMinds
      @FuturMinds  2 месяца назад

      "the data is available in the execution, just doesnt show in UI, also cannot stop execution" -> I'm not clear about what issue you are seeing. But check if this is the expected behaviour.

  • @nabi188
    @nabi188 2 месяца назад

    Thank you for your tutorial. But I wonder if I can upgrade n8n later without losing data?

    • @FuturMinds
      @FuturMinds  2 месяца назад

      @nabi188 yes, you can follow the steps here to upgrade n8n without losing data: github.com/futurminds/n8n-self-hosting?tab=readme-ov-file#how-to-update-n8n

  • @jhonydalcin4988
    @jhonydalcin4988 2 месяца назад

    Awesome tutorial! I'm a beginner on that, so I'm just wondering about the external database needs. If I want to connect an external database to store the datas like Supabase Firebase, to sotre users datas, is the 30GB enough just for my workflows inside the VM engine? I'm thinking something like up to 3 small workflows, just for an MVP validation.

    • @FuturMinds
      @FuturMinds  2 месяца назад

      @jhonydalcin4988 How many users' data do you plan to store? Basically what's the scale of the system? How many workflows do you expect to run daily? Most of the time, 30 GB is more than enough for MVPs.

  • @YasinAlif-i3h
    @YasinAlif-i3h 2 месяца назад +1

    great video!
    However my webhook data doesnt show in UI, how can this be resolved!
    Ps- the data is available in the execution, I also cannot stop the execution

  • @asampson628
    @asampson628 2 месяца назад

    After multiple failed attempts, I'm really feeling despondent. Somehow I just don't get n8n to launch from the Google cloud server😢

    • @FuturMinds
      @FuturMinds  2 месяца назад

      @asampson628 What issue are you facing? I'll try to help.

  • @Phongyewtong
    @Phongyewtong 2 месяца назад

    can n8n run on this spec with a few workflow running 24/7?

    • @FuturMinds
      @FuturMinds  2 месяца назад

      @Phongyewtong It depends on how complex your workflows are and how many workflows will run in parallel. If it's just a very few workflows running in parallel, I don't see any problem. If you are not looking for high execution speed, you can start with this spec and then upgrade if required.

  • @IvySaskia
    @IvySaskia 3 месяца назад

    When a new version of n8n is up, how do u update on the deployed one?

    • @FuturMinds
      @FuturMinds  3 месяца назад +1

      @IvySaskia you can follow the instructions here to update the version: docs.n8n.io/hosting/installation/docker/#updating
      Important: Take a backup of ~/.n8n:/home/node/.n8n
      Ensure that your n8n instance is using a persistent volume or a mapped directory for its data storage. This is crucial because the workflows, user accounts, and configurations are stored in the database file (typically database.sqlite), which should be located in a directory that remains intact even when the container is removed.
      In your docker-compose.yml, you should have something like this:
      ```
      volumes:
      - ~/.n8n:/home/node/.n8n
      ```
      This mapping ensures that the .n8n directory on your host machine is used for data storage, preserving your workflows and configurations across container updates.
      When you stop and remove the n8n container, you are only deleting the container instance itself, not the data stored in the persistent volume. As long as the volume is correctly configured, your workflows and accounts should remain unaffected.
      But to avoid any chance of data loss you should take a backup of ~/.n8n:/home/node/.n8n before removing the container.

    • @IvySaskia
      @IvySaskia 3 месяца назад +1

      @@FuturMinds ok... when I use on my desktop docker, the data does not lose, but on this deploy how do I make the backup? I restart with the new image (making pull the new iamge) , I got two issues. 1 Data is lose .. 2 the new version on the container is not updated.

    • @FuturMinds
      @FuturMinds  3 месяца назад

      @IvySaskia On this link: docs.n8n.io/hosting/installation/docker/#updating, you will find that you first need to stop your container and then remove it. Then update the image and spin up a new container.
      To create a backup, you can copy ~/.n8n:/home/node/.n8n to your local or another directory on the same VM even before deleting the container. And then, after updating and spinning up a new container, if you see the data getting lost, you can replace ~/.n8n:/home/node/.n8n with the one you saved earlier.
      This should work fine.

  • @Docente_Digital_MX
    @Docente_Digital_MX 2 месяца назад

    I think it's not working anymore, I followed all the instructions and got stuck at step 2. Even though docker is active, I can't access N8N with the external IP.

    • @FuturMinds
      @FuturMinds  2 месяца назад +1

      @Docente_Digital_MX Did you see any errors while running 'docker run'? You can run 'docker ps' and see if container is in running state. Instructions are correct since they are working for everyone. See if you missed any step in the doc.

    • @Docente_Digital_MX
      @Docente_Digital_MX 2 месяца назад

      @@FuturMinds CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
      f9ac7baebbb0 n8nio/n8n "tini -- /docker-ent…" 2 hours ago Up About an hour 0.0.0.0:5678->5678/tcp, :::5678->5678/tcp n8n
      No, no errors during installation.

    • @Docente_Digital_MX
      @Docente_Digital_MX 2 месяца назад

      @@FuturMinds Follow all the steps rigorously, but when I try to log in it tells me that it took too long to respond.

    • @Docente_Digital_MX
      @Docente_Digital_MX 2 месяца назад +1

      I did it, I needed to create a firewall rule

    • @FuturMinds
      @FuturMinds  2 месяца назад +1

      Awesome :)

  • @hashtechnovation3914
    @hashtechnovation3914 3 месяца назад

    Please make video how to self host on aws lambda please

    • @FuturMinds
      @FuturMinds  3 месяца назад

      @hashtechnovation3914 did you mean aws ec2?
      AWS Lambda is a serverless compute service designed to run code without managing servers, but it's not ideal for self-hosting applications like n8n due to its constraints around long-running tasks, storage, and network access. n8n requires a persistent environment, such as a VM or container, which AWS Lambda is not designed for.

  • @AtifKhan-gs2dw
    @AtifKhan-gs2dw Месяц назад

    Is there any way to host n8n on google cloud run

    • @FuturMinds
      @FuturMinds  Месяц назад

      Not possible. n8n requires long running VM with some memory and space.

    • @AtifKhan-gs2dw
      @AtifKhan-gs2dw Месяц назад

      @@FuturMinds HEY THANKS FOR REPLY, thanks for tutorial as well , completed my n8n installation but when i suspend my machine all things have gone also assigned with new external ip

    • @FuturMinds
      @FuturMinds  Месяц назад

      Yes since the n8n data is stored on that same VM you terminated, it is lost. If you want your data to be independent of VM, you'll need to configure external DB.

    • @AtifKhan-gs2dw
      @AtifKhan-gs2dw Месяц назад

      ​@@FuturMinds hello , i am able to run n8n over google cloud through your video but i got a problem like no one having, any workflow get stuck at executing and when i stopped it got executed successfully, even in chat model i have to stop after every asking question to able to run properly,. Need help please

    • @AtifKhan-gs2dw
      @AtifKhan-gs2dw Месяц назад

      Ok some how i managed to solve it thanks

  • @consig1iere294
    @consig1iere294 2 месяца назад

    I am a beginner and was following through your tutorial great but got stuck at 5:20 Hostinger part. Is there a free way to do that?

    • @FuturMinds
      @FuturMinds  2 месяца назад

      @consig1iere294 You will need a domain to use certbot which is used to enable ssl on your server. I can skip setting up ssl but then you will see warnings in your browser and traffic won't be encrypted and it's risky. Instead, I would suggest you to buy a really cheap (