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, 18:17

edderantonio's gravatar image

edderantonio
111
accept rate: 0%


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.

permanent link

answered 18 May, 21:08

mtmail's gravatar image

mtmail
3.7k1057
accept rate: 30%

thank you!

(18 May, 21:36) edderantonio

but it doesn't come in the documentation how to disable

(18 May, 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, 22:13) mtmail
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×588
×172
×21
×1

question asked: 18 May, 18:17

question was seen: 73 times

last updated: 19 May, 05:48

powered by OSQA