Coder Social home page Coder Social logo

Comments (10)

t-book avatar t-book commented on August 20, 2024

ref.: GeoNode/geonode#4719

from geonode-project.

t-book avatar t-book commented on August 20, 2024

@rli-rms see: #78

from geonode-project.

neroznik avatar neroznik commented on August 20, 2024

After installing geonode via Docker, I have same problem.
I am beginner in Geonode as well as in Linux.
For installing geonode 2.10 I use manual from geonode web site. http://docs.geonode.org/en/2.10.x/install/core/index.html#docker
Could you please describe how to solve it with more detail explanation. Thank you advance

from geonode-project.

anjogu avatar anjogu commented on August 20, 2024

After setting up GeoNode 2.10.x in ubuntu 18.04.3 and running it in development mode, I created an admin user with admin as the password. After using these credentials to log in the session Expires immediately as shown below. Does anyone know how can I solve this?
sessionExpired

from geonode-project.

t-book avatar t-book commented on August 20, 2024

@anjogu most likely your paver sync did not finish successfully and did not install the fixture for oauth2. try to repeat this step and double-check your oauth2 config on both sides (geonode && geoserver)

from geonode-project.

anjogu avatar anjogu commented on August 20, 2024

@t-book Thank you it worked

from geonode-project.

iamtekson avatar iamtekson commented on August 20, 2024

I am using the latest version of geonode from the master branch. I am facing the same issue. I already tried following command,

DJANGO_SETTINGS_MODULE=geonode.local_settings paver reset
DJANGO_SETTINGS_MODULE=geonode.local_settings paver setup
DJANGO_SETTINGS_MODULE=geonode.local_settings paver sync
DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py collectstatic --noinput
sudo PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/opt/geonode/geonode GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service tomcat9" APACHE_SERVICE="service nginx" geonode_updateip -p localhost

But didn't resolve. Can you help me @t-book please?

from geonode-project.

iamtekson avatar iamtekson commented on August 20, 2024

PS: I tried to restore the old geonode using this command

python manage.py restore --backup-file=2021-02-04-3245.zip --config=2021-02-04-244324.ini --settings=geonode.local_settings

I am also unable to restore. It shows the error message as

There are 0 layers which could not be updated because of errors
HINT: If you migrated from another site, don't forget to run the command 'migrate_baseurl' to fix links

from geonode-project.

iamtekson avatar iamtekson commented on August 20, 2024

@anjogu most likely your paver sync did not finish successfully and did not install the fixture for oauth2. try to repeat this step and double-check your oauth2 config on both sides (geonode && geoserver)

How to check the oauth2 config on both sides (geonode && geoserver)

from geonode-project.

iamtekson avatar iamtekson commented on August 20, 2024

I just solve the issue by paver reset_hard. And follow the suggestion as mentioned above paver sync. Thank you

from geonode-project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.