Closed lifepillar closed 4 years ago
docker-compose ps
shows me:
compose_archivematica-dashboard_1 /usr/local/bin/gunicorn -- ... Exit 3
[…]
compose_elasticsearch_1 /usr/local/bin/docker-entr ... Exit 78
If I try docker-compose up -d
the two processes seem to get up, as docker ps
now gives me:
compose_archivematica-dashboard_1 /usr/local/bin/gunicorn -- ... Up 8000/tcp
[…]
compose_elasticsearch_1 /usr/local/bin/docker-entr ... Up 127.0.0.1:62002->9200/tcp, 9300/tcp
But a few seconds after that they crash again.
Never mind, likely an issue with virtual memory being too low, as explained in the Readme. I wonder whether there is a way to run the development environment without Elasticsearch, though.
I wonder whether there is a way to run the development environment without Elasticsearch, though.
I've done this quite a few times. You can stop the Elasticsearch service with docker-compose down elasticsearch
or even remove the service definition entirely from docker-compose.yml
. Archivematica works without Elasticsearch (with limited capabilities) as long as you update the environment strings:
ARCHIVEMATICA_MCPSERVER_SEARCH_ENABLED=false
ARCHIVEMATICA_MCPCLIENT_SEARCH_ENABLED=false
IIRC, when changing environment strings, you also need to rebuild the containers. Or just follow the upgrading notes.
I have just installed the current master following the instructions in the Readme, and I have the following containers up and running:
I can access the Storage Service just fine at http://127.0.0.1:62081, but when I try to connect to the Dashboard at http://127.0.0.1:62080, I get a
501 Bad Gateway
error. That is apparently due to the nginx container failing to resolvearchivematica-dashboard
, asdocker logs
reports this:Any idea why, or any suggestions to debug that?