GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.45k stars 1.13k forks source link

GeoNode Advanced Installation Issue on "# Enable the UWSGI service" step #12446

Open beastmen84 opened 3 months ago

beastmen84 commented 3 months ago

I followed the installations step from the "Geonode Advanced Installation" section of your documentation. Everything works fine until the Geoserver installation, the geoserver page loads fine. Then on the Web Server part, when I try to run "sudo systemctl start geonode-uwsgi.service" I get an error saying that the enviroment file do not exist. And actually the file stated on this line "EnvironmentFile=/opt/geonode/.env" do not exist. In that folder there are 4 different .env_*** files but no .env file.

Are we supposed to create an .env file before this step?

I'm trying to install it on a fresh Ubuntu Server 22.04.4

ahmadzfaiz commented 2 months ago

just run python create-envfile.py in terminal then you will have your own .env file