Skip to content

Commit

Permalink
Web-UI update fails to recreate venv rockstor#2652
Browse files Browse the repository at this point in the history
Unset no longer required, and counterproductive to
Poetry venv rebuild, VIRTUAL_ENV environmental
variable within the programmatically created AT
update script.
  • Loading branch information
phillxnet committed Aug 14, 2023
1 parent f6d51fa commit fae13a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rockstor/system/pkg_mgmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,8 @@ def update_run(subscription=None, update_all_other=False):
)
)
atfo.write(pkg_refresh_cmd)
# Unset inherited VIRTUAL_ENV environmental variable before invoking rpm/zypper
atfo.write('unset VIRTUAL_ENV\n')
# account for moving from dev/source to package type install:
atfo.write(pkg_in_up_rockstor)
# rockstor-bootstrap Requires rockstor which Requires rockstor-pre (initrock)
Expand Down

0 comments on commit fae13a3

Please sign in to comment.