From edson.flavio at gmail.com Thu Aug 7 14:45:20 2025 From: edson.flavio at gmail.com (=?UTF-8?Q?=C3=89dson_Fl=C3=A1vio_de_Souza?=) Date: Thu, 7 Aug 2025 18:45:20 -0300 Subject: [GeoNode-users] Postgres Passwords In-Reply-To: References: Message-ID: ? ?dson Fl?vio reagiu pelo Gmail Em qui., 31 de jul. de 2025 04:30, Kabatha Patrick escreveu: > Thanks Edson, > > It worked. Thanks for your response. > > Cheers! > > On Tue, Jul 29, 2025 at 11:21?PM ?dson Fl?vio de Souza < > edson.flavio at gmail.com> wrote: > >> 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 -------------- A non-text attachment was scrubbed... Name: not available Type: text/vnd.google.email-reaction+json Size: 37 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: