geonode
geonode copied to clipboard
Error module encodings not found with manual install ubuntu 22.04 when try to activate uwsgi
Expected Behavior
I have installed Geoserver successfully and went through the steps to install and initialize geonode. I think that it went correctly, though I'm not completely sure. The next step is to install uwsgi and nginx and have them be able to properly serve Geonode on my domain.
Actual Behavior
I have Geoserver installed and working properly. I install Geonode and initialize apparently successfully. When I then install UWSGI and try to start it up, I receive an error related to python that it is not able to find the module 'encodings'. The searching I have done shows this error appears to be related to where django is looking for python in the virtual environment. I just don't know how to fix the problem successfully. I've tried multiple installations of this and at this point, am getting stopped at the same place each time.
Steps to Reproduce the Problem
- Geonode Advanced Install and Geosolutions Training Steps. Install Dependencies
- Install Postgresl
- Install Geoserver
- Install Geonode and initialize
- Install UWSGI
- Attempt to start UWSGI and view log files. Log show that UWSGI had fatal error because python module encodings was not found.
Specifications
- GeoNode version: 4.2.x
- Installation type (vanilla, geonode-project): vanilla
- Installation method (manual, docker): manual
- Platform: AWS EC2 - Ubuntu 22.04
- Additional details: Python 3.10.12, GDAL 3.6.4, Java - Openjdk 11.0.22, UWSGI - 2.0.20-debian
- I have added a text file of the install process I've used up to this point.
I don't know if this is the proper place to put this issue, but I haven't received responses on the mailing list or Gitter page, so this seems to be my last option. I've attempted this install 7 or 8 times now with no luck.
20240229_IB_AWS_GeoNode_Install_MattiaGiupponi_Instructions.txt