Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running this project #5

Closed
Davide-sd opened this issue Feb 3, 2017 · 3 comments
Closed

Problems running this project #5

Davide-sd opened this issue Feb 3, 2017 · 3 comments

Comments

@Davide-sd
Copy link

I'm having problems to run this project, both in my local machine and a freshly setup virtual machine, both running Ubuntu 16.04.

Docker version 1.13.0, build 49bf474
docker-compose version 1.10.0, build 4bd6f1a

Here are the steps to replicate the problem:

  1. Open the terminal, run the command: docker run -v 'pwd':/usr/src/app GeoNode/django:geonode django-admin.py startproject --template=https://github.com/GeoNode/geonode-project/archive/docker.zip -epy,rst,yml my_geonode
  2. Change my_geonode permission: sudo chown -R $USER:$USER my_geonode
  3. cd my_geonode
  4. docker-compose up

At this point the images are going to be retrieved, but an error rise when trying to pull waybarrios/geoserver:

Pulling geoserver (waybarrios/geoserver:latest)...
ERROR: manifest for waybarrios/geoserver:latest not found

So, I downloaded the necessary docker files from the waybarrios/geoserver repo, these are the steps:

  1. cd /my-docker-images/
  2. git clone https://github.com/waybarrios/docker-geoserver.git
  3. cd docker-geoserver
  4. docker build -t "waybarrios/geoserver" .

At this point, I went back into my_geonode folder, and ran again the command docker-compose up. This pastebin shows everything that have been printed on the screen.

Following the instructions on this repom, I opened a new terminal and run this command:
docker-compose run django python manage.py migrate
but it exited with an error. You can see what has been printed on the screen in this pastebin.

Am I doing something wrong?

@waybarrios
Copy link
Contributor

Hi @Davide-sd Please you have to use the last one geoserver image from master geonode.

You can see it on the following docker-compose https://github.com/GeoNode/geonode/blob/master/docker-compose.yml#L34

This geoserver image has oath2 authentication, so it is the last updated image

@anjogu
Copy link

anjogu commented Jan 10, 2018

Hey,
I can't find the local_settings.py.sample file can anyone assist me in this?

@simod
Copy link
Member

simod commented Jan 10, 2018

@anthony-njogu local_settings is obsolete. You can just tune the settings.py file.

best

@simod simod closed this as completed Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants