[Urgent!] How to restart ERPNext server?

Hello everyone!

I had to restart my server and now the ERPNext containers are not running. What command do I need to get the system up again?

Do I just need to run “docker compose --project-name erpnext-one -f ~/gitops/erpnext-one.yaml up -d” ?

I installed the system using these instructions: https://github.com/frappe/frappe_docker/blob/main/docs/single-server-example.md

I am very new to Docker…

Thank you!

I managed to get the system running again using:
docker container start 18fed0e85048 ca422a3a41e7 9442183c6966 ac85abeeb621 1b9b46bb5d8c 5c34e6dda38f c7726e977877 06acb16da809

based on output from docker ps -a

I had to start a couple of the containers twice. It seems awfully fragile though…

Is this really the best way to run ERPNext?

Try it.

You cannot use it without knowing it! At least not in production!

docs: https://docs.docker.com/

Thank you for the reply!

I was worried it might rebuild the containers and delete all my info otherwise I would have tried it.

You cannot use it without knowing it! At least not in production!

docs: https://docs.docker.com/

I would not be using docker if I could be sure of other installation methods. What is the best non-docker way to install an ERPNext system?

Use frappecloud or find some offering from frappe tech that helps everyone.

I opted to learn containers with its common practices because the world is doing it. People who package and run applications on production servers have boiled down to common knowledge in form of containers and container orchestration.

Self hostable FOSS today offers podman.io, buildah.io and kubernetes.io. Every other offering including docker will ask money at some point of time.

Other option is to build your own: GitHub - frappe/press: World-class cloud hosting for the Frappe stack

Dockerfile does exist today in code, so you still need to learn containers: press/press/docker/Dockerfile at 2397b57bd2a38d37d87769f6911017fe2fb92d07 · frappe/press · GitHub

2 Likes

Thank you very much for your advice! I will do some more research and commit to learning a few new things! :slight_smile: