Merge branch 'community-scripts:main' into hoarder

This commit is contained in:
vhsdream 2024-11-29 08:10:59 -05:00 committed by GitHub
commit 993c7e83ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 3 deletions

View File

@ -16,6 +16,14 @@ All LXC instances created using this repository come pre-installed with Midnight
> [!IMPORTANT] > [!IMPORTANT]
Do not break established syntax in this file, as it is automatically updated by a Github Workflow Do not break established syntax in this file, as it is automatically updated by a Github Workflow
## 2024-11-29
### Changed
### 🚀 Updated Scripts
- Fix Kimai Apache2 Rights [@MickLesk](https://github.com/MickLesk) ([#577](https://github.com/community-scripts/ProxmoxVE/pull/577))
## 2024-11-28 ## 2024-11-28
### Changed ### Changed

View File

@ -56,9 +56,9 @@ $STD composer install --no-dev --optimize-autoloader --no-interaction
cp .env.dist .env cp .env.dist .env
sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env
$STD bin/console kimai:install -n $STD bin/console kimai:install -n
chown -R :www-data . chown -R :www-data /opt/kimai
chmod -R g+r . chmod -R g+r /opt/kimai
chmod -R g+rw var/ chmod -R g+rw /opt/kimai
sudo chown -R www-data:www-data /opt/kimai sudo chown -R www-data:www-data /opt/kimai
sudo chmod -R 755 /opt/kimai sudo chmod -R 755 /opt/kimai
$STD expect <<EOF $STD expect <<EOF