Hello , Before doing the migration, should I disable something to do it? 3.3.0 -> 3.4.0 Reorganisation of location_area_country table The table location_area_country has been optimized. You need to switch to the new format when you run updates. While updates are disabled, run the following SQL commands: CREATE TABLE location_area_country_new AS SELECT place_id, country_code, geometry FROM location_area_country; DROP TABLE location_area_country; ALTER TABLE location_area_country_new RENAME TO location_area_country; CREATE INDEX idx_location_area_country_geometry ON location_area_country USING GIST (geometry); CREATE INDEX idx_location_area_country_place_id ON location_area_count asked 18 May '20, 18:17 edderantonio |
https://nominatim.org/release-docs/latest/admin/Migration/ Disable anything that writes to the database. That's the update script (http://nominatim.org/release-docs/latest/admin/Import-and-Update/#updates), if you haven't installed the update script, then nothing needs to be disabled. answered 18 May '20, 21:08 mtmail thank you!
(18 May '20, 21:36)
edderantonio
but it doesn't come in the documentation how to disable
(18 May '20, 22:10)
edderantonio
If the script is running kill the process. https://www.linux.com/topic/desktop/how-kill-process-command-line/ If the script is not running, then nothing needs to be done. Make sure the cronjob is disabled so it doesn't start automatically.
(18 May '20, 22:13)
mtmail
|