GeoNode / geonode

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

Unknown command: 'migrate_baseurl'. Did you mean migrate? #12346

Closed nesangcode closed 1 week ago

nesangcode commented 1 week ago

Expected Behavior

Run smoothly

Actual Behavior

Not recognize migrate_baseurl

Steps to Reproduce the Problem

  1. Follow 4.3.0 installation steps till
    DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py migrate_baseurl --source-address=http://localhost --target-address=http://address

Specifications

etj commented 1 week ago

You probably missed something in the installation steps. Try checking the available commands to find out if the geonode commands are properly recognized with:

DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py --help
etj commented 1 week ago

@nesangcode I guess you didn't install GeoNode properly. Your latest opened issues all point to the same direction ;)

nesangcode commented 1 week ago

the documentation is wrong, geonode.local_settings doesn't have migrate_baseurl, geonode.settings did.

mattiagiupponi commented 1 week ago

If is a matter of doc, feel free to open a PR with the changes here https://github.com/GeoNode/documentation