My server suddenly stops working via docker

I have no experience to use linux so I am struggling to operate is running on ubuntu 20.04.1 LTS
Running via docker.

I launch the app with this command.
docker run --rm -it --name n8n -p 5678:5678 -v ~/.n8n/:/root/.n8n n8nio/n8n &

My app is running over a day, but the app is suddenly stopped working. So I have to launch again the app every a couple of days. Please tell me how to solve the problem.

Welcome to the community @kaben8n!

Sadly have to say that I have no idea. Without additional information, it is also sadly also impossible to help you. So for start would the following be helpful:

  • what does “stop working” mean.
  • is there any error message anywhere
  • are there any log messages anywhere
    Please answer all of the above ones with as much detail as possible. Also mention anything else you can think of. Thanks!

Have you configured any custom cron on n8n?
I hanged the server with a custom cron before due to repeat task every second.

  1. “stop working” means; I run the workflows that RSS to Webhook (Discord). When the app is running, RSS deliver to Discord text channel, but when “stop working”, it doesn’t. And also I cannot access “http://:5678/workflow”.
  2. I have no idea there is any error messages or not.
  3. I have no idea to access the log of There is no problem at ubuntu server which runs

No, I have never edited cron.