mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
FAQ entry for PostgreSQL -invalid page in block-
This commit is contained in:
committed by
Sarah Hoffmann
parent
d4f615232b
commit
b62b7ffc0e
@@ -22,6 +22,21 @@ then you can resume with the following command:
|
|||||||
If the reported rank is 26 or higher, you can also safely add `--index-noanalyse`.
|
If the reported rank is 26 or higher, you can also safely add `--index-noanalyse`.
|
||||||
|
|
||||||
|
|
||||||
|
### PostgreSQL crashed "invalid page in block"
|
||||||
|
|
||||||
|
Usually serious problem, can be a hardware issue, not all data written to disc
|
||||||
|
for example. Check PostgreSQL log file and search PostgreSQL issues/mailing
|
||||||
|
list for hints.
|
||||||
|
|
||||||
|
If it happened during index creation you can try rerunning the step with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./utils/setup.php --create-search-indices --ignore-errors
|
||||||
|
```
|
||||||
|
|
||||||
|
Otherwise it's best to start the full setup from the beginning.
|
||||||
|
|
||||||
|
|
||||||
### PHP "open_basedir restriction in effect" warnings
|
### PHP "open_basedir restriction in effect" warnings
|
||||||
|
|
||||||
PHP Warning: file_get_contents(): open_basedir restriction in effect.
|
PHP Warning: file_get_contents(): open_basedir restriction in effect.
|
||||||
|
|||||||
@@ -133,7 +133,8 @@ foreach ($aExpectedIndices as $sExpectedIndex) {
|
|||||||
$print_fail();
|
$print_fail();
|
||||||
echo <<< END
|
echo <<< END
|
||||||
Hints:
|
Hints:
|
||||||
* Rerun the setup.php --create-search-indices step
|
* Run './utils/setup.php --create-search-indices --ignore-errors' to
|
||||||
|
create missing indices.
|
||||||
|
|
||||||
END;
|
END;
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user