mediagis / nominatim-docker

100% working container for Nominatim
Creative Commons Zero v1.0 Universal
1.07k stars 437 forks source link

command not found #457

Closed ChaosEmpire closed 1 year ago

ChaosEmpire commented 1 year ago

I m trying to use the mentioned command

docker exec -it nominatim sudo -u postgres ./src/build/utils/update.php --help

and it always gives me command not found

i want to find a way to stop updating, as my disk is running full

mtmail commented 1 year ago

Which version of the Nominatim docker image are you using? Starting 4.x is the command is indeed no longer present.

ChaosEmpire commented 1 year ago

Which version of the Nominatim docker image are you using? Starting 4.x is the command is indeed no longer present.

ok, so there is no way to "drop" the update data and free half disk space anymore? germany is now at 225gb and i have left 7gb diskspace

i read with drop half gets freed and no longer updated

mtmail commented 1 year ago

It's possible, but I'd need to know version of the Nominatim docker image you're using.

ChaosEmpire commented 1 year ago

oh sorry forgot to enter

4.1 is used

mtmail commented 1 year ago

nominatim freeze should work then. https://nominatim.org/release-docs/4.1/admin/Import/#dropping-data-required-for-dynamic-updates If you used a flatnode file, then that file can be deleted, too.

ChaosEmpire commented 1 year ago

docker exec -it nominatim sudo -u postgres nominatim freeze

instant 30% diskspace gained ;)

thanks