fix(koillection): add export APP_RUNTIME for composer post-install scripts
Some checks failed
Create Changelog Pull Request / update-changelog-pull-request (push) Has been cancelled
Close Discussion on PR Merge / close-discussion (push) Has been cancelled
Frontend CI/CD / test-json-files (push) Has been cancelled
Frontend CI/CD / build (push) Has been cancelled
Frontend CI/CD / deploy (push) Has been cancelled
Sync to Gitea / sync (push) Has been cancelled
Update GitHub Versions (New) / update-github-versions (push) Has been cancelled
Auto Update .app-files / update-app-files (push) Has been cancelled

This commit is contained in:
CanbiZ (MickLesk)
2026-01-30 14:27:29 +01:00
parent 3fc0b29d88
commit 0fc4e6ed10
2 changed files with 2 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ function update_script() {
fi
export COMPOSER_ALLOW_SUPERUSER=1
export APP_RUNTIME='Symfony\Component\Runtime\SymfonyRuntime'
$STD composer install --no-dev -o --no-interaction --classmap-authoritative
$STD php bin/console doctrine:migrations:migrate --no-interaction
$STD php bin/console app:translations:dump

View File

@@ -34,6 +34,7 @@ sed -i -e "s|^APP_ENV=.*|APP_ENV=prod|" \
/opt/koillection/.env.local
echo 'APP_RUNTIME="Symfony\Component\Runtime\SymfonyRuntime"' >> /opt/koillection/.env.local
export COMPOSER_ALLOW_SUPERUSER=1
export APP_RUNTIME='Symfony\Component\Runtime\SymfonyRuntime'
$STD composer install --no-dev -o --no-interaction --classmap-authoritative
$STD php bin/console doctrine:migrations:migrate --no-interaction
$STD php bin/console app:translations:dump