2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-18 10:46:31 +00:00

fix: package - various changes (#9802)

* fail on install

* move site setting up to ensure site is set early

* fix version file path

* ensure subdirs are created too

* ensure downloaded files are also collected into static

* update order

* bump qc workers

* update version
This commit is contained in:
Matthias Mair
2025-06-19 04:21:46 +02:00
committed by GitHub
parent 821d7b01f3
commit 533556b7e4
6 changed files with 17 additions and 16 deletions

View File

@@ -300,7 +300,7 @@ function update_or_install() {
# Run update as app user
echo "# POI12| Updating InvenTree"
sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && pip install wheel"
sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && invoke update | sed -e 's/^/# POI12| u | /;'"
sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "set -e && cd ${APP_HOME} && invoke update | sed -e 's/^/# POI12| u | /;'"
# Make sure permissions are correct again
echo "# POI12| Set permissions for data dir and media: ${DATA_DIR}"