Closed dominikhulla closed 5 months ago
Can you give us more context other than the error message? Which version of the software, what kind of database, how was it imported, configuration ... What is the output of nominatim admin --check-database
?
Can you give us more context other than the error message? Which version of the software, what kind of database, how was it imported, configuration ... What is the output of
nominatim admin --check-database
?
Ubuntu 22.04.4 Nominatim 4.4.0 PostgreSQL 14.11
Reply from nominatim admin --check-database
`nominatim@geocoding:~/nominatim-project$ nominatim admin --check-database
2024-04-16 21:58:47: Using project directory: /srv/nominatim/nominatim-project
2024-04-16 21:58:47: Checking database
Checking database connection ... OK
Checking database_version matches Nominatim software version ... Failed
Database version (None) doesn't match Nominatim version (4.4.0-0)
Hints:
* Are you connecting to the correct database?
Check the Migration chapter of the Administration Guide.
Project directory: /srv/nominatim/nominatim-project
Current setting of NOMINATIM_DATABASE_DSN: pgsql:dbname=nominatim
API call
It's possible the current logged in user cannot access the database. Can you try sudo -u www-user nominatim admin --check-database
or check if user nominatim
has an account in postgresql? See createuser
in https://nominatim.org/release-docs/latest/appendix/Install-on-Ubuntu-20/ for an example.
It's possible the current logged in user cannot access the database. Can you try
sudo -u www-user nominatim admin --check-database
or check if usernominatim
has an account in postgresql? Seecreateuser
in https://nominatim.org/release-docs/latest/appendix/Install-on-Ubuntu-20/ for an example.
i have nominatim user and www-data
I manualy add database_version and all works
I have a problem when updating the database, if I run "nominatim replication --once" it throws this error, I don't know what to do