Skip to content

Upgrade script installs venv in wrong directory if pwd-returned directory contains spaces #16723

Closed
@prryplatypus

Description

@prryplatypus

Deployment Type

Self-hosted

NetBox Version

v2.9.1

Python Version

3.11

Steps to Reproduce

  1. Clone netbox into a directory with spaces (e.g.: ~/Documents/Some Folder/Repos/netbox)
  2. Follow the installation instructions

Expected Behavior

The upgrade.sh script creates the venv in ~/Documents/Some Folder/Repos/netbox/venv and completes successfully.

Observed Behavior

The upgrade.sh script creates the venv in ~/Documents/Some and the script fails.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: 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