few-sunset-43876
11/18/2022, 3:20 AMversion: '3.8'
services:
...
neo4j:
image: neo4j:4.4.9-community
env_file: neo4j/env/docker.env
hostname: neo4j
container_name: neo4j
ports:
- ${DATAHUB_MAPPED_NEO4J_HTTP_PORT:-7474}:7474
- ${DATAHUB_MAPPED_NEO4J_BOLT_PORT:-7687}:7687
volumes:
- neo4jdata:/data
...
networks:
default:
name: datahub_network
volumes:
esdata:
neo4jdata:
zkdata:
broker:
neo4j/env/docker.env
NEO4J_AUTH=neo4j/datahub
NEO4J_dbms_default__database=graph.db
NEO4J_dbms_allow__upgrade=true
But the neo4j container could not start due to the message:
Changed password for user 'neo4j'. IMPORTANT: this change will only take effect if performed before the database is started for the first time.
Could anyone help?
Thank you so much in advance!incalculable-ocean-74010
11/18/2022, 11:41 AMfew-sunset-43876
11/21/2022, 2:48 AMincalculable-ocean-74010
11/21/2022, 11:24 AMdatahub cli, specifically: datahub docker quickstart , this will generate a docker-compose file and save it locally on your machine that is tailored to your system.incalculable-ocean-74010
11/21/2022, 11:25 AM~/.datahub/quickstart/few-sunset-43876
11/21/2022, 12:52 PMincalculable-ocean-74010
11/21/2022, 12:55 PMfew-sunset-43876
11/21/2022, 3:06 PMdocker-compose down --remove-orphans && docker-compose pull && docker-compose -p datahub up --force-recreate
after upgrade, I restarted neo4j one or 2 times, and it could not be restarted due to
Changed password for user 'neo4j'. IMPORTANT: this change will only take effect if performed before the database is started for the first time.
So, you advice me to use quickstart. I don't know if using quickstart can help me upgrade as I'm gonna do the upgrade on production.