I have updated an old server which was still running ODK Central 1.2
For this, I first updated docker-compose (1.22.0 to the newest 2.12.2).
After running docker-compose build and docker image prune, when I run docker-compose stop I get the following output:
:~/central# docker-compose stop
[+] Running 9/0
⠿ Container central_nginx_1 Stopped 0.0s
⠿ Container central_service_1 Stopped 0.0s
⠿ Container 46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_central_enketo_1 Stopped 0.0s
⠿ Container central-postgres-1 Stopped 0.0s
⠿ Container central-mail-1 Stopped 0.0s
⠿ Container central-pyxform-1 Stopped 0.0s
⠿ Container central-enketo_redis_cache-1 Stopped 0.0s
⠿ Container central-secrets-1 Stopped 0.0s
⠿ Container central-enketo_redis_main-1 Stopped 0.0s
The container
central_enketo_1
has been replaced by 46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_central_enketo_1
Then, docker-compose up does not work, and it gives the error:
Running 0/0
⠋ Container 46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_46049b062660_central_enketo_1 Recreate 0.0s
Error response from daemon: No command specified
Thank you for your support!