[Geocoding] Unable to import database
Adyan Ahmed
adyanahmed65 at gmail.com
Thu Feb 27 15:45:20 UTC 2020
Hi everyone,
Is this the right syntax for importing a database=>./utils/setup.php
--osm-file leichtenstein-latest.osm.pbf --all 2>&1 | tee setup.log.
The error I am getting is `string(46) "the path supplied to --osm-file does
not exist"`.
I also tried giving the path of the country data file.
This is similar to this issue-
https://github.com/openstreetmap/Nominatim/issues/110
I tried giving without --all command(./utils/setup.php --osm-file
leichtenstein-latest.osm.pbf 2>&1 | tee setup.log) it gave this error-
PHP Fatal error: Uncaught Nominatim\DatabaseError: [500]: Failed to
establish database connection:SQLSTATE[08006] [7] FATAL: role "user" does
not exist.
Is this a problem with my command syntax or something else.
Regards, Adyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/geocoding/attachments/20200227/05001538/attachment.htm>
More information about the Geocoding
mailing list