From 446bea1b89368e0b3509a6fd43d9194e8a90daa0 Mon Sep 17 00:00:00 2001 From: Patrick G <38922528+diddip21@users.noreply.github.com> Date: Mon, 13 Feb 2023 17:03:11 +0100 Subject: [PATCH 1/2] Update install-service.sh fix permissions error on install kimai --- src/kimai/install-service.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kimai/install-service.sh b/src/kimai/install-service.sh index c07e4ed..11fc42f 100644 --- a/src/kimai/install-service.sh +++ b/src/kimai/install-service.sh @@ -150,14 +150,14 @@ APP_SECRET=$(random_password) CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$ EOF -chown -R www-data:www-data . -chmod -R g+r . -chmod -R g+rw var/ - bin/console kimai:install -n bin/console kimai:user:create admin admin@$LXC_DOMAIN ROLE_SUPER_ADMIN $LXC_PWD +chown -R www-data:www-data . +chmod -R g+r . +chmod -R g+rw var/ + systemctl daemon-reload systemctl enable --now php${PHP_VERSION}-fpm nginx systemctl restart php${PHP_VERSION}-fpm nginx From 5c555ab5cdc122425bfd5be8a67ded9b6968a698 Mon Sep 17 00:00:00 2001 From: Patrick G <38922528+diddip21@users.noreply.github.com> Date: Mon, 13 Feb 2023 17:36:19 +0100 Subject: [PATCH 2/2] removed lxc mountpoint from kimai works without additional mountpoint --- src/kimai/constants-service.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kimai/constants-service.conf b/src/kimai/constants-service.conf index 12d6e1d..a38a665 100644 --- a/src/kimai/constants-service.conf +++ b/src/kimai/constants-service.conf @@ -11,7 +11,7 @@ LXC_TEMPLATE_VERSION="debian-11-standard" # Create sharefs mountpoint -LXC_MP="1" +LXC_MP="0" # Create unprivileged container LXC_UNPRIVILEGED="1" @@ -29,4 +29,4 @@ KIMAI_PHP_VERSION="8.1" LXC_MEM_MIN=1024 # service dependent meta tags -SERVICE_TAGS="php-fpm,nginx,mariadb" \ No newline at end of file +SERVICE_TAGS="php-fpm,nginx,mariadb"