]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/check_import_finished.php
Migration.md - admin also need to run recreate db functions
[nominatim.git] / utils / check_import_finished.php
index b81cace1702d3af50392d7682d56c3f11fbbe9ba..42d834c870b2439cf3aff4a9b8c571fcff9fa535 100755 (executable)
@@ -28,7 +28,7 @@ function isReverseOnlyInstallation()
 
 
 echo 'Checking database got created ... ';
-if ($oDB->databaseExists()) {
+if ($oDB->checkConnection()) {
     $print_success();
 } else {
     $print_fail();
@@ -133,7 +133,8 @@ foreach ($aExpectedIndices as $sExpectedIndex) {
         $print_fail();
         echo <<< END
         Hints:
-        * Rerun the setup.php --create-search-indices step
+        * Run './utils/setup.php --create-search-indices --ignore-errors' to
+          create missing indices.
 
 END;
         exit(1);