3 # DO NOT EDIT - This file is being maintained by Chef
5 date "+%c === Refresh database after software updates"
9 <% if node.platform?("debian") -%>
10 <%= @venvprefix %>nominatim admin --migrate
11 <%= @venvprefix %>nominatim refresh --functions --address-levels
13 # Run the migrations from the nominatim version in the build directory,
14 # so they can execute while the frontend doesn't have the new code yet.
15 <%= @builddir %>/nominatim admin --migrate
16 <%= @builddir %>/nominatim refresh --functions --address-levels --website