<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>Simone Giannecchini asked me to post the details of my issue trying to set up GeoNode 4 to this list.</div>
<div><br>
</div>
<div>I am trying to use the simplest approach with the Docker installation.  I am following the instructions here:</div>
<div>
<div style="display: block;">
<div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://github.com/GeoNode/geonode-project#start-your-server-using-docker">
<a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://github.com/GeoNode/geonode-project#start-your-server-using-docker" dir="ltr" role="button" draggable="false" width="300">
<table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300">
<tbody>
<tr>
<td vertical-align="center">
<table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);" class="lp-rich-link-captionBar">
<tbody>
<tr>
<td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem">
<div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack">
<div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading">
<a rel="nofollow" href="https://github.com/GeoNode/geonode-project#start-your-server-using-docker" style="text-decoration: none" draggable="false"><font color="#272727" style="color: rgba(0, 0, 0, 0.847059);">GeoNode/geonode-project: A django template project
 for creating custom GeoNode projects.</font></a></div>
<div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading">
<a rel="nofollow" href="https://github.com/GeoNode/geonode-project#start-your-server-using-docker" style="text-decoration: none" draggable="false"><font color="#808080" style="color: rgba(0, 0, 0, 0.498039);">github.com</font></a></div>
</div>
</td>
<td style="padding:6px 12px 6px 0px;" class="lp-rich-link-captionBar-rightIconItem" width="36">
<a rel="nofollow" href="https://github.com/GeoNode/geonode-project#start-your-server-using-docker" draggable="false"><img style="pointer-events:none !important;display:inline-block;width:36px;height:36px;border-radius:3px;" width="36" height="36" draggable="false" class="lp-rich-link-captionBar-rightIcon" alt="apple-touch-icon-180x180-a80b8e11abe2.png" src="cid:DEA493F5-F431-4AA4-99AD-A6F5207C1DB2"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
</div>
</div>
<div style="display: block;">
<div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://training.geonode.geosolutionsgroup.com/master/GN3/docker/index.html">
<a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://training.geonode.geosolutionsgroup.com/master/GN3/docker/index.html" dir="ltr" role="button" draggable="false" width="300">
<table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300">
<tbody>
<tr>
<td vertical-align="center">
<table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);" class="lp-rich-link-captionBar">
<tbody>
<tr>
<td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem">
<div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack">
<div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading">
<a rel="nofollow" href="https://training.geonode.geosolutionsgroup.com/master/GN3/docker/index.html" style="text-decoration: none" draggable="false"><font color="#272727" style="color: rgba(0, 0, 0, 0.847059);">GeoNode Docker Installation — GeoNode Training</font></a></div>
<div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading">
<a rel="nofollow" href="https://training.geonode.geosolutionsgroup.com/master/GN3/docker/index.html" style="text-decoration: none" draggable="false"><font color="#808080" style="color: rgba(0, 0, 0, 0.498039);">geonode.geosolutionsgroup.com</font></a></div>
</div>
</td>
<td style="padding:0px 12px 0px 0px;" class="lp-rich-link-captionBar-rightIconItem" width="36">
<a rel="nofollow" href="https://training.geonode.geosolutionsgroup.com/master/GN3/docker/index.html" draggable="false"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAQAAAD/5HvMAAANBGlDQ1BrQ0dDb2xvclNwYWNlR2VuZXJpY0dyYXlHYW1tYTJfMgAAWIWlVwdck9cWv9/IAJKwp4ywkWVAgQAyIjOA7CG4iEkggRBiBgLiQooVrFscOCoqilpcFYE6UYtW6satD2qpoNRiLS6svpsEEKvte+/3vvzud//fPefcc8495557A4DuRo5EIkIBAHliuTQikZU+KT2DTroHyMAYaAN3oM3hyiSs+PgYyALE+WI++OR5cQMgyv6am3KuT+n/+BB4fBkX9idhK+LJuHkAIOMBIJtxJVI5ABqT4LjtLLlEiUsgNshNTgyBeDnkoQzKKh+rCL6YLxVy6RFSThE9gpOXx6F7unvS46X5WULRZ6z+f588kWJYN2wUWW5SNOzdof1lPE6oEvtBfJDLCUuCmAlxb4EwNRb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T6sJJo9HPS+VJL5kqLyayyraCPddyKujeLkCZzHcn7QvhAQP+SSLDEOMQYdwqZzI61eGvszhTYo0ysu1eM95abnwrPTjBm7fHTjTlhjg4txJ35zGgwFKCouoL9KP12w7gTsiQRunVkab9nz8yUw7j4P2s9G/YRGrRF4UsqXkpble067lg9Gg47cpmbYmoA30Q7OempFSWDAlN+gJ8Zq32n2kjLHw4qetZPQWC2W2JBfZYIkmUkvx4aK+FNbgV+4eMxj6Mbwdn9iQxJeL/AwC3xwG90xWzp7GbpztB4cis53nUNTSVtGKgY0KJ3T3WRqaloWG1kIssUypS2nRRLy6pjhgbw1/zKf0Xo0eepDhLhL7RhQ21ZbGF0rmXORkmNR3FIfszZfFhoPVKjaACcYxCUlP1/q0VHRGvk9MHI/hYQWQWY45Vr1yjLDdKTf3Z1rkeVfbESqgcxhIrdQuy4RVbOZOBWJVuksYIkUCNlAIAm18IqlRRgUE9MmnT7Gk5/+pGQBsCk8Tkig+uFVWdUDCrFX03B3lNV8JX7fvsrDwp0FpN/CVZgnEF4Vz8xVmFc67eNZq+Wnho0ktnJ/4LwrnJnbxr4XXeb0KH7h98uSG/NdCIpB3dOEWXInL6JVOVqFFQfR3fM/INIl3uN1/1kXjUeyB2AOxB2IPxB6IPfC/eeBfPdm2eoBKnHEAAAAASUVORK5CYII=" draggable="false" style="pointer-events:none !important;display:inline-block;width:36px;height:36px;" class="lp-rich-link-captionBar-rightIcon" width="36" height="36" data-unique-identifier=""></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
</div>
<div> </div>
<div>My environment is:</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div>Ubuntu 22.04.3 LTS</div>
</div>
<div>
<div>Python 3.10.12</div>
</div>
<div>
<div>pip 22.0.2</div>
</div>
<div>
<div>Docker 24.0.7</div>
</div>
<div>Django 3.2.18</div>
</blockquote>
<div><br>
</div>
<div>The basic steps I performed, which are right from the documentation, are:</div>
<div>
<ol class="MailOutline">
<li>Set up Python virtual environment</li><li>Grab the geonode-project code</li><li>Create a new project (which I named geonode_4) using the django-admin startproject command</li><li>Create the .env file using the python create-envfile.py script</li><li>Build and launch the containers with docker compose</li></ol>
</div>
<div><br>
</div>
<div>When everything is up trying to access local host gives a 502 error from the proxy.</div>
<div><br>
</div>
<div>Looking at the logs I see that the Django instance isn’t able to authenticate with the database.  The exact error is:</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>psql: error: connection to server at "db" (172.25.0.7), port 5432 failed: FATAL:  password authentication failed for user "postgres"</div>
</blockquote>
<div> </div>
<div>The database section of the generated .env file is:</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div>POSTGRES_USER=postgres</div>
</div>
<div>
<div>POSTGRES_PASSWORD=imyqqbUhAaKistN</div>
</div>
<div>
<div>GEONODE_DATABASE=geonode_4</div>
</div>
<div>
<div>GEONODE_DATABASE_PASSWORD=IUNooNALdpzTbQA</div>
</div>
<div>
<div>GEONODE_GEODATABASE=geonode_4_data</div>
</div>
<div>
<div>GEONODE_GEODATABASE_PASSWORD=yDpdbmscmgFJRpE</div>
</div>
<div>
<div>GEONODE_DATABASE_SCHEMA=public</div>
</div>
<div>
<div>GEONODE_GEODATABASE_SCHEMA=public</div>
</div>
<div>
<div>DATABASE_HOST=db</div>
</div>
<div>
<div>DATABASE_PORT=5432</div>
</div>
<div>
<div>DATABASE_URL=postgis://geonode_4:IUNooNALdpzTbQA@db:5432/geonode_4</div>
</div>
<div>
<div>GEODATABASE_URL=postgis://geonode_4_data:yDpdbmscmgFJRpE@db:5432/geonode_4_data</div>
</div>
</blockquote>
<br>
<div><br>
</div>
Since I already have a Postgres server with the required databases and credentials, I also tries that.  
<div><br>
</div>
<div>That configuration is:</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div>POSTGRES_USER=postgres</div>
</div>
<div>
<div>POSTGRES_PASSWORD=[secret]</div>
</div>
<div>
<div>GEONODE_DATABASE=geonode</div>
</div>
<div>
<div>GEONODE_DATABASE_PASSWORD=[secret]</div>
</div>
<div>
<div>GEONODE_GEODATABASE=geonode_data</div>
</div>
<div>
<div>GEONODE_GEODATABASE_PASSWORD=[secret]</div>
</div>
<div>
<div>GEONODE_DATABASE_SCHEMA=public</div>
</div>
<div>
<div>GEONODE_GEODATABASE_SCHEMA=public</div>
</div>
<div>
<div>DATABASE_HOST=postgres.511mobility.org</div>
</div>
<div>
<div>DATABASE_PORT=5432</div>
</div>
<div>
<div>DATABASE_URL=postgis://postgres.511mobility.org:5432/geonode</div>
</div>
<div>
<div>GEODATABASE_URL=postgis://postgres.511mobility.org:5432/geonode_data</div>
</div>
<div><br>
</div>
</blockquote>
With this configuration error I get a trace ending with:
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>
<div>File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 122, in connect</div>
</div>
<div>
<div>django4geonode_4  |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)</div>
</div>
<div>
<div>django4geonode_4  | django.db.utils.OperationalError: connection to server at "postgres.511mobility.org" (172.31.36.200), port 5432 failed: fe_sendauth: no password supplied</div>
</div>
</blockquote>
<div>
<div>
<div><br>
</div>
The out of the box .env settings fail with a db connection error, as does a custom configuration to a server whose credentials are know to be valid.</div>
<div>I hope there is something simple I’m missing.<br>
<div><br>
</div>
<div>Thanks in advance,<br>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><br>
</div>
</blockquote>
<div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div style="-webkit-text-stroke-width: initial; color: rgb(0, 77, 128); -webkit-text-stroke-color: rgb(0, 77, 128); margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal;">
<span style="font-stretch: normal; font-size: 12px; line-height: normal; font-kerning: none;"><b>Scott McIntosh</b></span><span style="font-stretch: normal; font-size: 12px; line-height: normal; font-kerning: none; color: rgb(0, 0, 0); -webkit-text-stroke-color: rgb(0, 0, 0);"> </span><span style="font-stretch: normal; font-size: 12px; line-height: normal; font-kerning: none;">| </span><span style="font-kerning: none;">Technical
 Director, Engineering & Emerging Technology</span></div>
<div style="-webkit-text-stroke-width: initial; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; -webkit-text-stroke-color: rgb(0, 0, 0);">
<span style="font-stretch: normal; font-size: 12px; line-height: normal; font-kerning: none;"><b>ICF</b> | </span><span style="font-kerning: none;"> <a href="http://icf.com"><span style="font-kerning: none; color: rgb(0, 0, 0);">icf.com</span></a></span><span style="font-stretch: normal; font-size: 12px; line-height: normal; font-kerning: none;"> | <a href="mailto:scott.mcintosh@icf.com"><span style="font-stretch: normal; font-size: 11px; line-height: normal; font-kerning: none; color: rgb(0, 0, 0);">scott.mcintosh@icf.com</span></a> | </span><span style="font-kerning: none;">mobile:
 703.283.3424</span></div>
</div>
</div>
<div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<br>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</div>
</div>
</body>
</html>