Replies: 3 comments 13 replies
-
Is the nominatim user able to create the sqlite database file in the current directory? Because that would explain the error message. |
Beta Was this translation helpful? Give feedback.
-
Indeed. Though I have another issue now. I think I did try to do that on That being said, I have copied the SQLite database file out of the container, and put it into a project folder alongside a |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to convert an existing
nominatim
PostgreSQL database to SQLite for use on a weaker machine, and, upon running the commandsudo -u nominatim nominatim convert -o nominatim-aml.sqlite
, I am getting the following vague error:sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
This happens even though the
nominatim
database is indeed initialized and running on my testing machine. I can't find the background for this error, so I'd like to know what could be causing this and what extra steps need to be taken.The Nominatim version is 4.5, and I'm running an Ubuntu 24.04 docker image. I followed the instructions available here, except
libspatialite7
no longer exists andaiosqlite
viapip
doesn't get detected, so I installed throughapt
the packageslibspatialite8t64
,libspatialite-dev
andpython3-aiosqlite
instead.Beta Was this translation helpful? Give feedback.
All reactions