[GeoNode-users] docker-compose up -d Errors

Amedeo Fadini amefad at gmail.com
Fri Feb 21 10:25:19 PST 2025


Hi John,
when  you launch the command:
docker compose up -d
You tell to docker engine to create the stack following configuration
written in docker-compose.yml
A stack is made by multiple services, each runs in a container. The docker
engine creates the container
As you can see here [0] the celery service and the geoserver service
depends on the django service running and healthy so i guess that Container
"c9da333c1673"is the name of your django container.
Something went wrong  starting this container, maybe a problem building the
django image (but the same image is used by celery)  or maybe in creating
your .env file (check the created .env file with .env.sample on the
repository)

You can try to run docker compose up (withoud -d) to see all the standard
output and check for error in the [django4my_geonode] section

you can also inspect the log for a sincle service with the command
docker compoe log <servicename>

Hope this helps, Have a nice day

Amefad

[0]
https://github.com/GeoNode/geonode-project/blob/57a64bd1bb878f7de602117b6c1321e854445530/docker-compose.yml#L46



Il giorno ven 21 feb 2025 alle ore 15:57 John Scott via geonode-users <
geonode-users at lists.osgeo.org> ha scritto:

> Good Morning
>
> Can anyone help me figure out why I keep getting this error?
> I am trying to install the newest version of GeoNode.
>
> These are the steps I was following:
> git clone https://github.com/GeoNode/geonode-project.git
> cd geonode-project/
> git checkout -b 4.4.1
> source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
> mkvirtualenv --python=/usr/bin/python3 my_geonode
> python3.10 -m venv /home/john/dev/.venvs/my_geonode
> source /home/john/dev/.venvs/my_geonode/bin/activate
> pip install Django==4.2.9
> python3 create-envfile.py
> docker-compose build
> docker-compose up -d
>
> (my_geonode) john at GeoNode:~/my_geonode$ docker-compose up -d
> Creating network "my_geonode_default" with the default driver
> Creating volume "my_geonode-statics" with default driver
> Creating volume "my_geonode-nginxconfd" with default driver
> Creating volume "my_geonode-nginxcerts" with default driver
> Creating volume "my_geonode-gsdatadir" with default driver
> Creating volume "my_geonode-dbdata" with default driver
> Creating volume "my_geonode-dbbackups" with default driver
> Creating volume "my_geonode-backup-restore" with default driver
> Creating volume "my_geonode-data" with default driver
> Creating volume "my_geonode-tmp" with default driver
> Creating volume "my_geonode-rabbitmq" with default driver
> Pulling memcached (memcached:alpine)...
> alpine: Pulling from library/memcached
> f18232174bc9: Pull complete
> a31783bf8858: Pull complete
> f7dfaa864e0a: Pull complete
> ebf91bccf03c: Pull complete
> b79b31b4a4b1: Pull complete
> 19b68a77ac56: Pull complete
> Digest:
> sha256:d07f5a4c41bf25a027d173ed62ded4b00da2e4c3b12f89bb5e40121807df01b5
> Status: Downloaded newer image for memcached:alpine
> Pulling rabbitmq (rabbitmq:3-alpine)...
> 3-alpine: Pulling from library/rabbitmq
> f18232174bc9: Already exists
> 19d4b40b7948: Pull complete
> f92f9ce475b3: Pull complete
> 559d55bde23b: Pull complete
> f25b693183db: Pull complete
> fd3288550033: Pull complete
> a1799b1ae1fa: Pull complete
> 11f815e3bafd: Pull complete
> 54878108b4c0: Pull complete
> Digest:
> sha256:a49714e7f5fd72159ce08afedebb834605977cb5432c98a84eda522772e283e9
> Status: Downloaded newer image for rabbitmq:3-alpine
> Creating rabbitmq4my_geonode    ... done
> Creating db4my_geonode          ... done
> Creating gsconf4my_geonode      ... done
> Creating memcached4my_geonode   ... done
> Creating nginx4my_geonode       ... done
> Creating letsencrypt4my_geonode ... done
> Creating django4my_geonode      ... done
>
> ERROR: for geoserver  Container "c9da333c1673" is unhealthy.
>
> ERROR: for celery  Container "c9da333c1673" is unhealthy.
> ERROR: Encountered errors while bringing up the project.
>
> Thanks
> John
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20250221/9972b8c9/attachment-0001.htm>


More information about the geonode-users mailing list