PHP Fatal error: require(): Failed opening required 'Symfony/Component/Dotenv/autoload.php' (include_path='.:/usr/share/php') in /srv/nominatim/Nominatim-3.7.1/lib-php/dotenv_loader.php on line 3 #2308
Unanswered
raynerhoward
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Either install Symfony dotenv or switch to using the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
After entering in the following command as the nominatim (or postgres) user:
/srv/nominatim/build/utils/setup.php --osm-file /home/wrecker/planet_-85.997,34.825_-84.615,35.617.osm.pbf --all 2>&1 | tee setup.log
I get an error:
PHP Warning: require(Symfony/Component/Dotenv/autoload.php): failed to open stream: No such file or directory in /srv/nominatim/Nominatim-3.7.1/lib-php/dotenv_loader.php on line 3
PHP Fatal error: require(): Failed opening required 'Symfony/Component/Dotenv/autoload.php' (include_path='.:/usr/share/php') in /srv/nominatim/Nominatim-3.7.1/lib-php/dotenv_loader.php on line 3
To Reproduce
cd /srv/nominatim/build/
./utils/setup.php --osm-file /home/wrecker/planet_-85.997,34.825_-84.615,35.617.osm.pbf --all 2>&1 | tee setup.log
Software Environment (please complete the following information):
Nominatim version: 3.7.1
Postgresql version: 12
Postgis version: POSTGIS="3.0.0 r17983" [EXTENSION] PGSQL="120" GEOS="3.8.0-CAPI-1.13.1 " PROJ="6.3.1" LIBXML="2.9.4" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.4.3 (Internal)"
OS: Linux Mint 20.1 running on latest VirtualBox
Hardware Configuration (please complete the following information):
Postgresql Configuration:
Additional context
Beta Was this translation helpful? Give feedback.
All reactions