Skip to content

Netbox Upgrade Script Fails When Python3 is not installed as /usr/bin/python3 #6496

@ArcticSnowman

Description

@ArcticSnowman

NetBox version

v2.7.0 to v2.11.12

Python version

3.6

Steps to Reproduce

install python3 somewhere other than /usr/bin/python3
Add to path
run ./upgrade

Expected Behavior

./upgrade should run using the python3 found in the PATH

Observed Behavior

]# ./upgrade.sh
Creating a new virtual environment at /var/lib/netbox-2.7.12/venv...
./upgrade.sh: line 20: /usr/bin/python3: No such file or directory
--------------------------------------------------------------------
ERROR: Failed to create the virtual environment. Check that you have
the required system packages installed and the following path is
writable: /var/lib/netbox-2.7.12/venv
--------------------------------------------------------------------

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions