Skip to main content

Troubleshooting

🟣 In case you want to stop the container, run the following command:​

docker stop middleware

🟣 Do a full reset​

In order to fetch latest version from remote and then starting the system, use following command:

docker pull middlewareeng/middleware:latest
docker rm -f middleware || true
docker run --name middleware \
-p 3333:3333 \
-v middleware_postgres_data:/var/lib/postgresql/data \
-v middleware_keys:/app/keys \
-d middlewareeng/middleware:latest
docker logs -f middleware

🟣 If you see an error like: Conflict. The container name "/middleware" is already in use by container.​

Then run following command before running the container again:

docker rm -f middleware

🟣 If you wish to delete all the data saved in the container, you can delete the volumes created by running the following command:​

docker volume rm middleware_postgres_data middleware_keys