gannebamm / geonode-workshop

Developing for GeoNode on Windows with VirtualBox and PyCharm CE
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

geonode pavement.y #1

Open indeOWS opened 3 years ago

indeOWS commented 3 years ago

Running paver start_geoserver, I hit the error message: FileNotFoundError: [Errno 2] No such file or directory: path('/opt/geonode/geoserver/data'). I think this error is due to the fact that geoserver directory was not downloaded through paver setup. However paver setup hit this error:

raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Find my pg_hba.conf bellow:

# Database administrative login by Unix domain socket
local   all             postgres                                trust

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     md5
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
local   replication     all                                     peer
host    replication     all             127.0.0.1/32            md5
host    replication     all             ::1/128                 md5
gannebamm commented 3 years ago

Please double check your folders. It seems like you have cloned the geonode code to /opt/geonode is this correct?

Have you followed each stept of this section: https://github.com/gannebamm/geonode-workshop/tree/main/00_getStarted#prepare-the-debug-environment

specifically the paver setup command?

gannebamm commented 3 years ago

If the paver setup command throws an connection reset by peer error I think something with your internet connection and VM settings are wrong?

Can you do a simple curl or wget command?