Revert "Move changes from test branch to upstream merge branch"

This reverts commit 3bbbffb688.
This commit is contained in:
Sam Heinz
2025-01-08 00:13:54 +10:00
parent 9263adb8cf
commit 3f899fd0fe
213 changed files with 1315 additions and 1741 deletions
+8 -8
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG
# Copyright (c) 2021-2024 community-scripts ORG
# Author: MickLesk
# License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE
@@ -26,8 +26,8 @@ $STD apt-get install -y \
mariadb-server \
libapache2-mod-php \
php8.2-{mbstring,gd,intl,pdo,mysql,tokenizer,zip,xml} \
wget \
openssh-server
openssh-server \
wget
msg_ok "Installed Dependencies"
msg_info "Setting up database"
@@ -58,11 +58,11 @@ $STD composer install --no-dev --optimize-autoloader --no-interaction
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
$STD bin/console kimai:install -n
chown -R :www-data /opt/*
chmod -R g+r /opt/*
chmod -R g+rw /opt/*
sudo chown -R www-data:www-data /opt/*
sudo chmod -R 755 /opt/*
chown -R :www-data /opt/kimai
chmod -R g+r /opt/kimai
chmod -R g+rw /opt/kimai
sudo chown -R www-data:www-data /opt/kimai
sudo chmod -R 755 /opt/kimai
$STD expect <<EOF
set timeout -1
log_user 0