Skip to content

Update admin password on install from tasks.py when installing with django-project #11922

Open
@cesarbenjamindotnet

Description

@cesarbenjamindotnet

Expected Behavior

Update admin password on install from tasks.py when installing with django-project

Actual Behavior

updateadmin() throws an "/bin/bash: line 1: django-admin.py: command not found" message.

Steps to Reproduce the Problem

  1. Install master using geonode-project
  2. view the logs
  3. look at update admin details*** in logs

Specifications

  • GeoNode version: master
  • Installation type (vanilla, geonode-project): geonode-project
  • Installation method (manual, docker): docker
  • Platform: ubuntu 22.04
  • Additional details: i think can be fixed changing line 426 in updateadmin from tasks.py changing f"django-admin loaddata /tmp/django_admin_docker.json to f"python manage.py loaddata /tmp/django_admin_docker.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions