From German.Segura at icf.com Thu Jul 3 12:15:12 2025 From: German.Segura at icf.com (Segura, German) Date: Thu, 3 Jul 2025 19:15:12 +0000 Subject: [GeoNode-users] Geonode 4.4 - Remote Service not working Message-ID: Hi all I am creating a remote service using this URL: https://geodata.epa.gov/arcgis/rest/services/OA/WalkabilityIndex/MapServer/0<%20https:/geodata.epa.gov/arcgis/rest/services/OA/WalkabilityIndex/MapServer/0> I am importing different services, for example ?National Walkability Index?, but the map doesn?t show any information (right Image), we previously did the same in another instance running Geonode 4.2 and it works well (Left image). I already added the domain geodata.epa.gov into the property PROXY_ALLOWED_HOSTS=['geodata.epa.gov'], I was getting 403 in NGINX before adding this property. Any idea what is going on? Architecture: EC2, Goenode Project 4.4, Docker instances, PostgreSQL DB [cid:image002.png at 01DBEC2C.698DABD0] Nginx logs: 172.31.5.41 - - [03/Jul/2025:19:13:06 +0000] "GET /proxy/?url=https%3A%2F%2Fgeodata.epa.gov%2Farcgis%2Frest%2Fservices%2FOA%2FWalkabilityIndex%2FMapServer%2F0%2Flegend%3Ff%3Djson HTTP/1.1" 200 59 https://geo44.511mobility.org/catalogue/ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36" [A picture containing object, clock Description automatically generated] GERMAN SEGURA, Sr Java Developer icf.com | LinkedIn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6700 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 647729 bytes Desc: image002.png URL: From kpparto at gmail.com Tue Jul 22 11:38:40 2025 From: kpparto at gmail.com (Kabatha Patrick) Date: Tue, 22 Jul 2025 21:38:40 +0300 Subject: [GeoNode-users] Postgres Passwords Message-ID: Hi, I've changed my default postgres password for the 2 roles (postgres and geonode) and adjusted accordingly the .env file and geoserver stores. But for some reason, I still get this error message when I try to align the DB and GeoNode: ./paver_prod.sh sync ---> pavement.sync python -W ignore manage.py makemigrations --noinput Traceback (most recent call last): File "/opt/geonode-project/my_geonode/src/manage.py", line 31, in execute_from_command_line(sys.argv) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line utility.execute() File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, **cmd_options) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(*args, **options) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/base.py", line 89, in wrapped res = handle_func(*args, **kwargs) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/commands/makemigrations.py", line 103, in handle loader.check_consistent_history(connection) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/migrations/loader.py", line 294, in check_consistent_history applied = recorder.applied_migrations() File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/migrations/recorder.py", line 77, in applied_migrations if self.has_table(): File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/migrations/recorder.py", line 55, in has_table with self.connection.cursor() as cursor: File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner return func(*args, **kwargs) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", line 259, in cursor return self._cursor() File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", line 235, in _cursor self.ensure_connection() File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner return func(*args, **kwargs) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection self.connect() File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner return func(*args, **kwargs) File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", line 199, in connect conn_params = self.get_connection_params() File "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", line 157, in get_connection_params raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the NAME value. Captured Task Output: --------------------- ---> pavement.sync python -W ignore manage.py makemigrations --noinput Build failed running pavement.sync: Subprocess return code: 1 Anyone else who has had the same challenges? /Pat. -------------- next part -------------- An HTML attachment was scrubbed... URL: From edson.flavio at gmail.com Tue Jul 29 13:21:31 2025 From: edson.flavio at gmail.com (=?UTF-8?Q?=C3=89dson_Fl=C3=A1vio_de_Souza?=) Date: Tue, 29 Jul 2025 17:21:31 -0300 Subject: [GeoNode-users] Postgres Passwords In-Reply-To: References: Message-ID: Hi, adjust the variables in settings.py to reflect your changes. Edson Flavio 41-98872-5118 @ef_souza - Twitter e Instagram Em ter., 22 de jul. de 2025 15:38, Kabatha Patrick via geonode-users < geonode-users at lists.osgeo.org> escreveu: > Hi, > > I've changed my default postgres password for the 2 roles (postgres and > geonode) and adjusted accordingly the .env file and geoserver stores. But > for some reason, I still get this error message when I try to align the DB > and GeoNode: > > ./paver_prod.sh sync > ---> pavement.sync > python -W ignore manage.py makemigrations --noinput > Traceback (most recent call last): > File "/opt/geonode-project/my_geonode/src/manage.py", line 31, in > > execute_from_command_line(sys.argv) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/__init__.py", > line 419, in execute_from_command_line > utility.execute() > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/__init__.py", > line 413, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/base.py", > line 354, in run_from_argv > self.execute(*args, **cmd_options) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/base.py", > line 398, in execute > output = self.handle(*args, **options) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/base.py", > line 89, in wrapped > res = handle_func(*args, **kwargs) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/core/management/commands/makemigrations.py", > line 103, in handle > loader.check_consistent_history(connection) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/migrations/loader.py", > line 294, in check_consistent_history > applied = recorder.applied_migrations() > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/migrations/recorder.py", > line 77, in applied_migrations > if self.has_table(): > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/migrations/recorder.py", > line 55, in has_table > with self.connection.cursor() as cursor: > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/utils/asyncio.py", > line 33, in inner > return func(*args, **kwargs) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", > line 259, in cursor > return self._cursor() > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", > line 235, in _cursor > self.ensure_connection() > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/utils/asyncio.py", > line 33, in inner > return func(*args, **kwargs) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", > line 219, in ensure_connection > self.connect() > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/utils/asyncio.py", > line 33, in inner > return func(*args, **kwargs) > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/base/base.py", > line 199, in connect > conn_params = self.get_connection_params() > File > "/home/jpkadmin/.virtualenvs/my_geonode/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", > line 157, in get_connection_params > raise ImproperlyConfigured( > django.core.exceptions.ImproperlyConfigured: settings.DATABASES is > improperly configured. Please supply the NAME value. > > > Captured Task Output: > --------------------- > > ---> pavement.sync > python -W ignore manage.py makemigrations --noinput > > Build failed running pavement.sync: Subprocess return code: 1 > > Anyone else who has had the same challenges? > > /Pat. > _______________________________________________ > 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: