From 3c1bab3ad0b8e2675bf13cf94bc77b33644a896f Mon Sep 17 00:00:00 2001 From: Floris Claessens Date: Sun, 1 Feb 2026 19:22:03 +0100 Subject: [PATCH 01/10] feature: expanded wger install script --- install/wger-install.sh | 206 +++++++++++++++++++++++++++++----------- 1 file changed, 149 insertions(+), 57 deletions(-) diff --git a/install/wger-install.sh b/install/wger-install.sh index 0e8e9ace7..cb220d4b0 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -15,8 +15,9 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ - apache2 \ - libapache2-mod-wsgi-py3 \ + build-essential \ + nginx \ + redis-server \ libpq-dev msg_ok "Installed Dependencies" @@ -28,93 +29,184 @@ PG_DB_NAME="wger" PG_DB_USER="wger" setup_postgresql_db fetch_and_deploy_gh_release "wger" "wger-project/wger" "tarball" "latest" "/opt/wger" +WG_IP="$(hostname -I | awk '{print $1}')" +WG_PORT="3000" +WG_URL="http://${WG_IP}:${WG_PORT}" + msg_info "Setting up wger" mkdir -p /opt/wger/{static,media} chmod o+w /opt/wger/media cd /opt/wger + $STD corepack enable $STD npm install $STD npm run build:css:sass + $STD uv venv $STD uv pip install . +$STD uv pip install gunicorn celery django-redis psycopg2-binary + SECRET_KEY=$(openssl rand -base64 40) + cat </opt/wger/.env +DJANGO_SETTINGS_MODULE=settings.main +PYTHONPATH=/opt/wger + DJANGO_DB_ENGINE=django.db.backends.postgresql DJANGO_DB_DATABASE=${PG_DB_NAME} DJANGO_DB_USER=${PG_DB_USER} DJANGO_DB_PASSWORD=${PG_DB_PASS} DJANGO_DB_HOST=localhost DJANGO_DB_PORT=5432 +DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME} + DJANGO_MEDIA_ROOT=/opt/wger/media DJANGO_STATIC_ROOT=/opt/wger/static +DJANGO_STATIC_URL=/static/ + +ALLOWED_HOSTS=${WG_IP},localhost,127.0.0.1 +CSRF_TRUSTED_ORIGINS=${WG_URL} + +USE_X_FORWARDED_HOST=True +SECURE_PROXY_SSL_HEADER=HTTP_X_FORWARDED_PROTO,http + +DJANGO_CACHE_BACKEND=django_redis.cache.RedisCache +DJANGO_CACHE_LOCATION=redis://127.0.0.1:6379/1 +DJANGO_CACHE_TIMEOUT=300 +DJANGO_CACHE_CLIENT_CLASS=django_redis.client.DefaultClient +AXES_CACHE_ALIAS=default + +USE_CELERY=True +CELERY_BROKER=redis://127.0.0.1:6379/2 +CELERY_BACKEND=redis://127.0.0.1:6379/2 + +SITE_URL=${WG_URL} SECRET_KEY=${SECRET_KEY} EOF -cat <<'WSGI' >/opt/wger/wsgi_wrapper.py -import os -from pathlib import Path -env_file = Path('/opt/wger/.env') -if env_file.exists(): - for line in env_file.read_text().splitlines(): - if line.strip() and not line.startswith('#') and '=' in line: - key, value = line.split('=', 1) - os.environ.setdefault(key.strip(), value.strip()) - -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings.main') - -from wger.wsgi import application -WSGI set -a && source /opt/wger/.env && set +a -export DJANGO_SETTINGS_MODULE=settings.main -$STD uv run python manage.py migrate -$STD uv run python manage.py loaddata languages -$STD uv run python manage.py loaddata gym_config -$STD uv run python manage.py loaddata groups -$STD uv run python manage.py loaddata site + +$STD uv run wger bootstrap $STD uv run python manage.py collectstatic --no-input + cat </etc/apache2/sites-available/wger.conf - - - Require all granted - - +msg_ok "wger configured" - - WSGIApplicationGroup %{GLOBAL} - WSGIDaemonProcess wger python-path=/opt/wger python-home=/opt/wger/.venv - WSGIProcessGroup wger - WSGIScriptAlias / /opt/wger/wsgi_wrapper.py - WSGIPassAuthorization On +msg_info "Creating Gunicorn service" +cat </etc/systemd/system/wger.service +[Unit] +Description=wger Gunicorn +After=network.target - Alias /static/ /opt/wger/static/ - - Require all granted - +[Service] +User=root +WorkingDirectory=/opt/wger +EnvironmentFile=/opt/wger/.env +ExecStart=/opt/wger/.venv/bin/gunicorn \ + --bind 127.0.0.1:8000 \ + --workers 3 \ + --threads 2 \ + --timeout 120 \ + wger.wsgi:application +Restart=always - Alias /media/ /opt/wger/media/ - - Require all granted - - - ErrorLog /var/log/apache2/wger-error.log - CustomLog /var/log/apache2/wger-access.log combined - +[Install] +WantedBy=multi-user.target EOF -$STD a2dissite 000-default.conf -$STD a2ensite wger -systemctl restart apache2 -msg_ok "Created Service" +msg_ok "Gunicorn service created" + +msg_info "Creating Celery worker service" +cat </etc/systemd/system/celery.service +[Unit] +Description=wger Celery Worker +After=network.target redis-server.service +Requires=redis-server.service + +[Service] +WorkingDirectory=/opt/wger +EnvironmentFile=/opt/wger/.env +ExecStart=/opt/wger/.venv/bin/celery -A wger worker -l info +Restart=always + +[Install] +WantedBy=multi-user.target +EOF +msg_ok "Celery worker service created" + +msg_info "Creating Celery beat service" +mkdir -p /var/lib/wger/celery +chmod 700 /var/lib/wger/celery + +cat </etc/systemd/system/celery-beat.service +[Unit] +Description=wger Celery Beat +After=network.target redis-server.service +Requires=redis-server.service + +[Service] +WorkingDirectory=/opt/wger +EnvironmentFile=/opt/wger/.env +ExecStart=/opt/wger/.venv/bin/celery -A wger beat -l info \ + --schedule /var/lib/wger/celery/celerybeat-schedule +Restart=always + +[Install] +WantedBy=multi-user.target +EOF +msg_ok "Celery beat service created" + +msg_info "Configuring Nginx" + cat <<'EOF' >/etc/nginx/sites-available/wger +server { + listen 3000; + server_name _; + + client_max_body_size 20M; + + location /static/ { + alias /opt/wger/static/; + expires 30d; + } + + location /media/ { + alias /opt/wger/media/; + } + + location / { + proxy_pass http://127.0.0.1:8000; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_redirect off; + } +} +EOF + +msg_ok "Nginx configured" + +systemctl daemon-reexec +systemctl daemon-reload +systemctl enable --now redis-server nginx wger celery celery-beat + +$STD rm -f /etc/nginx/sites-enabled/default +$STD ln -sf /etc/nginx/sites-available/wger /etc/nginx/sites-enabled/wger + +systemctl restart nginx motd_ssh customize From 7259c41fd94998d0cd194dd5cd9804b8ce419e75 Mon Sep 17 00:00:00 2001 From: Floris Claessens Date: Sun, 1 Feb 2026 19:24:40 +0100 Subject: [PATCH 02/10] feature: reworked wger update script to accomodate new install script --- ct/wger.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ct/wger.sh b/ct/wger.sh index 8629b4de3..00f42d8c6 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -31,7 +31,7 @@ function update_script() { if check_for_gh_release "wger" "wger-project/wger"; then msg_info "Stopping Service" - systemctl stop apache2 + systemctl stop redis-server nginx celery celery-beat wger msg_ok "Stopped Service" msg_info "Backing up Data" @@ -45,6 +45,10 @@ function update_script() { cp -r /opt/wger_media_backup/. /opt/wger/media cp /opt/wger_env_backup /opt/wger/.env rm -rf /opt/wger_media_backup /opt/wger_env_backup + + set -a + source /opt/wger/.env + set +a msg_ok "Restored Data" msg_info "Updating wger" @@ -52,13 +56,14 @@ function update_script() { set -a && source /opt/wger/.env && set +a export DJANGO_SETTINGS_MODULE=settings.main $STD uv pip install . + $STD uv pip install gunicorn celery django-redis psycopg2-binary $STD uv run python manage.py migrate $STD uv run python manage.py collectstatic --no-input msg_ok "Updated wger" - msg_info "Starting Service" - systemctl start apache2 - msg_ok "Started Service" + msg_info "Starting Services" + systemctl start redis-server nginx celery celery-beat wger + msg_ok "Started Services" msg_ok "Updated Successfully" fi exit From 760e7999d6447af7e0d16a58d51a46d9bd078eb0 Mon Sep 17 00:00:00 2001 From: Floris Claessens Date: Sun, 1 Feb 2026 20:07:05 +0100 Subject: [PATCH 03/10] fix: added changes requested by greptile-apps bot for pr --- ct/wger.sh | 2 +- frontend/public/json/wger.json | 40 ++++++++++++++++++++++++++++++++++ install/wger-install.sh | 3 +-- 3 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 frontend/public/json/wger.json diff --git a/ct/wger.sh b/ct/wger.sh index 00f42d8c6..42d46a62d 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -76,4 +76,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" diff --git a/frontend/public/json/wger.json b/frontend/public/json/wger.json new file mode 100644 index 000000000..07a9d9430 --- /dev/null +++ b/frontend/public/json/wger.json @@ -0,0 +1,40 @@ +{ + "name": "wger", + "slug": "wger", + "categories": [ + 24 + ], + "date_created": "2025-02-24", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 3000, + "documentation": "https://wger.readthedocs.io/en/latest/index.html#", + "website": "https://wger.de", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/wger.webp", + "config_path": "/opt/wger/wger.env", + "description": "wger (ˈvɛɡɐ) Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility. It offers a REST API as well, for easy integration with other projects and tools.", + "install_methods": [ + { + "type": "default", + "script": "ct/wger.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": 8, + "os": "debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": "admin", + "password": "adminadmin" + }, + "notes": [ + { + "text": "This LXC also runs Celery and Redis to synchronize workouts and ingredients", + "type": "info" + } + ] +} diff --git a/install/wger-install.sh b/install/wger-install.sh index cb220d4b0..7b7712529 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ build-essential \ nginx \ redis-server \ @@ -200,7 +200,6 @@ EOF msg_ok "Nginx configured" systemctl daemon-reexec -systemctl daemon-reload systemctl enable --now redis-server nginx wger celery celery-beat $STD rm -f /etc/nginx/sites-enabled/default From f51d6e543a3116017594c98e878d0fdcd32d6402 Mon Sep 17 00:00:00 2001 From: Floris Claessens Date: Sun, 1 Feb 2026 20:08:17 +0100 Subject: [PATCH 04/10] fix: also added missed suggested changes --- ct/wger.sh | 1 + install/wger-install.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/wger.sh b/ct/wger.sh index 42d46a62d..c845cf062 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -13,6 +13,7 @@ var_disk="${var_disk:-8}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" +var_port="${var_port:-3000}" header_info "$APP" variables diff --git a/install/wger-install.sh b/install/wger-install.sh index 7b7712529..15b8d060f 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -199,7 +199,6 @@ EOF msg_ok "Nginx configured" -systemctl daemon-reexec systemctl enable --now redis-server nginx wger celery celery-beat $STD rm -f /etc/nginx/sites-enabled/default From c9798df163e6eff642329be8a0bc3b8d0a9df34e Mon Sep 17 00:00:00 2001 From: Floris Claessens Date: Sun, 1 Feb 2026 21:43:04 +0100 Subject: [PATCH 05/10] removed unused var_port var --- ct/wger.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ct/wger.sh b/ct/wger.sh index c845cf062..42d46a62d 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -13,7 +13,6 @@ var_disk="${var_disk:-8}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" -var_port="${var_port:-3000}" header_info "$APP" variables From 69316a347e83f77ceb226fa4acf6ea2eef8a43f5 Mon Sep 17 00:00:00 2001 From: Floris Claessens Date: Sun, 1 Feb 2026 23:22:41 +0100 Subject: [PATCH 06/10] removed unneeded celery and redis pip install --- install/wger-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/wger-install.sh b/install/wger-install.sh index 15b8d060f..a9b397ef3 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -44,7 +44,7 @@ $STD npm run build:css:sass $STD uv venv $STD uv pip install . -$STD uv pip install gunicorn celery django-redis psycopg2-binary +$STD uv pip install gunicorn psycopg2-binary SECRET_KEY=$(openssl rand -base64 40) From 4e2237a9f94ed842ca2624e06ca3cdae940561db Mon Sep 17 00:00:00 2001 From: FlorisLava Date: Tue, 3 Feb 2026 10:49:52 +0100 Subject: [PATCH 07/10] fix: processed some pr comments --- ct/wger.sh | 5 +---- frontend/public/json/wger.json | 2 +- install/wger-install.sh | 37 ++++++++++------------------------ 3 files changed, 13 insertions(+), 31 deletions(-) diff --git a/ct/wger.sh b/ct/wger.sh index 42d46a62d..5e1dacff7 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -46,9 +46,6 @@ function update_script() { cp /opt/wger_env_backup /opt/wger/.env rm -rf /opt/wger_media_backup /opt/wger_env_backup - set -a - source /opt/wger/.env - set +a msg_ok "Restored Data" msg_info "Updating wger" @@ -56,7 +53,7 @@ function update_script() { set -a && source /opt/wger/.env && set +a export DJANGO_SETTINGS_MODULE=settings.main $STD uv pip install . - $STD uv pip install gunicorn celery django-redis psycopg2-binary + $STD uv pip install gunicorn psycopg2-binary $STD uv run python manage.py migrate $STD uv run python manage.py collectstatic --no-input msg_ok "Updated wger" diff --git a/frontend/public/json/wger.json b/frontend/public/json/wger.json index 07a9d9430..804ef56ef 100644 --- a/frontend/public/json/wger.json +++ b/frontend/public/json/wger.json @@ -9,7 +9,7 @@ "updateable": true, "privileged": false, "interface_port": 3000, - "documentation": "https://wger.readthedocs.io/en/latest/index.html#", + "documentation": "https://wger.readthedocs.io/en/latest/index.html", "website": "https://wger.de", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/wger.webp", "config_path": "/opt/wger/wger.env", diff --git a/install/wger-install.sh b/install/wger-install.sh index a9b397ef3..3bc107471 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -13,6 +13,8 @@ setting_up_container network_check update_os +import_local_ip + msg_info "Installing Dependencies" $STD apt install -y \ build-essential \ @@ -29,22 +31,16 @@ PG_DB_NAME="wger" PG_DB_USER="wger" setup_postgresql_db fetch_and_deploy_gh_release "wger" "wger-project/wger" "tarball" "latest" "/opt/wger" -WG_IP="$(hostname -I | awk '{print $1}')" -WG_PORT="3000" -WG_URL="http://${WG_IP}:${WG_PORT}" - msg_info "Setting up wger" mkdir -p /opt/wger/{static,media} chmod o+w /opt/wger/media cd /opt/wger - $STD corepack enable $STD npm install $STD npm run build:css:sass - $STD uv venv -$STD uv pip install . -$STD uv pip install gunicorn psycopg2-binary +$STD uv pip install . --group docker +# $STD uv pip install psycopg2-binary SECRET_KEY=$(openssl rand -base64 40) @@ -64,8 +60,8 @@ DJANGO_MEDIA_ROOT=/opt/wger/media DJANGO_STATIC_ROOT=/opt/wger/static DJANGO_STATIC_URL=/static/ -ALLOWED_HOSTS=${WG_IP},localhost,127.0.0.1 -CSRF_TRUSTED_ORIGINS=${WG_URL} +ALLOWED_HOSTS=${LOCAL_IP},localhost,127.0.0.1 +CSRF_TRUSTED_ORIGINS=http://${LOCAL_IP}:3000 USE_X_FORWARDED_HOST=True SECURE_PROXY_SSL_HEADER=HTTP_X_FORWARDED_PROTO,http @@ -80,7 +76,7 @@ USE_CELERY=True CELERY_BROKER=redis://127.0.0.1:6379/2 CELERY_BACKEND=redis://127.0.0.1:6379/2 -SITE_URL=${WG_URL} +SITE_URL=http://${LOCAL_IP}:3000 SECRET_KEY=${SECRET_KEY} EOF @@ -88,7 +84,6 @@ set -a && source /opt/wger/.env && set +a $STD uv run wger bootstrap $STD uv run python manage.py collectstatic --no-input - cat </etc/systemd/system/wger.service [Unit] Description=wger Gunicorn @@ -128,9 +123,7 @@ Restart=always [Install] WantedBy=multi-user.target EOF -msg_ok "Gunicorn service created" -msg_info "Creating Celery worker service" cat </etc/systemd/system/celery.service [Unit] Description=wger Celery Worker @@ -146,11 +139,6 @@ Restart=always [Install] WantedBy=multi-user.target EOF -msg_ok "Celery worker service created" - -msg_info "Creating Celery beat service" -mkdir -p /var/lib/wger/celery -chmod 700 /var/lib/wger/celery cat </etc/systemd/system/celery-beat.service [Unit] @@ -168,9 +156,7 @@ Restart=always [Install] WantedBy=multi-user.target EOF -msg_ok "Celery beat service created" -msg_info "Configuring Nginx" cat <<'EOF' >/etc/nginx/sites-available/wger server { listen 3000; @@ -197,12 +183,11 @@ server { } EOF -msg_ok "Nginx configured" - -systemctl enable --now redis-server nginx wger celery celery-beat +msg_ok "Created Config and Services" $STD rm -f /etc/nginx/sites-enabled/default $STD ln -sf /etc/nginx/sites-available/wger /etc/nginx/sites-enabled/wger +systemctl enable -q --now redis-server nginx wger celery celery-beat systemctl restart nginx From 748935481d51216e9f2eed8d34c30820923b81af Mon Sep 17 00:00:00 2001 From: FlorisLava Date: Tue, 3 Feb 2026 11:25:26 +0100 Subject: [PATCH 08/10] made the rest of the relevant pr changes --- ct/wger.sh | 1 - install/wger-install.sh | 19 ++++--------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/ct/wger.sh b/ct/wger.sh index 5e1dacff7..845745ff5 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -53,7 +53,6 @@ function update_script() { set -a && source /opt/wger/.env && set +a export DJANGO_SETTINGS_MODULE=settings.main $STD uv pip install . - $STD uv pip install gunicorn psycopg2-binary $STD uv run python manage.py migrate $STD uv run python manage.py collectstatic --no-input msg_ok "Updated wger" diff --git a/install/wger-install.sh b/install/wger-install.sh index 3bc107471..ba944c672 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -13,8 +13,6 @@ setting_up_container network_check update_os -import_local_ip - msg_info "Installing Dependencies" $STD apt install -y \ build-essential \ @@ -23,12 +21,11 @@ $STD apt install -y \ libpq-dev msg_ok "Installed Dependencies" +import_local_ip NODE_VERSION="22" NODE_MODULE="sass" setup_nodejs setup_uv - PG_VERSION="16" setup_postgresql PG_DB_NAME="wger" PG_DB_USER="wger" setup_postgresql_db - fetch_and_deploy_gh_release "wger" "wger-project/wger" "tarball" "latest" "/opt/wger" msg_info "Setting up wger" @@ -40,10 +37,7 @@ $STD npm install $STD npm run build:css:sass $STD uv venv $STD uv pip install . --group docker -# $STD uv pip install psycopg2-binary - SECRET_KEY=$(openssl rand -base64 40) - cat </opt/wger/.env DJANGO_SETTINGS_MODULE=settings.main PYTHONPATH=/opt/wger @@ -79,9 +73,7 @@ CELERY_BACKEND=redis://127.0.0.1:6379/2 SITE_URL=http://${LOCAL_IP}:3000 SECRET_KEY=${SECRET_KEY} EOF - set -a && source /opt/wger/.env && set +a - $STD uv run wger bootstrap $STD uv run python manage.py collectstatic --no-input cat </etc/systemd/system/celery.service [Unit] Description=wger Celery Worker @@ -140,6 +130,8 @@ Restart=always WantedBy=multi-user.target EOF +mkdir -p /var/lib/wger/celery +chmod 700 /var/lib/wger/celery cat </etc/systemd/system/celery-beat.service [Unit] Description=wger Celery Beat @@ -156,8 +148,7 @@ Restart=always [Install] WantedBy=multi-user.target EOF - - cat <<'EOF' >/etc/nginx/sites-available/wger +cat <<'EOF' >/etc/nginx/sites-available/wger server { listen 3000; server_name _; @@ -182,13 +173,11 @@ server { } } EOF - msg_ok "Created Config and Services" $STD rm -f /etc/nginx/sites-enabled/default $STD ln -sf /etc/nginx/sites-available/wger /etc/nginx/sites-enabled/wger systemctl enable -q --now redis-server nginx wger celery celery-beat - systemctl restart nginx motd_ssh From 1ead1abf4b6415cbef6b2c8593a4593b634462a5 Mon Sep 17 00:00:00 2001 From: Floris <72608722+FlorisCl@users.noreply.github.com> Date: Tue, 3 Feb 2026 11:33:47 +0100 Subject: [PATCH 09/10] Apply suggestion from @CrazyWolf13 Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --- install/wger-install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/install/wger-install.sh b/install/wger-install.sh index ba944c672..6002facdb 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -92,7 +92,6 @@ if created: user.save() EOF msg_ok "Set up wger" - msg_info "Creating Config and Services" cat </etc/systemd/system/wger.service [Unit] From f76e30f6af9fad1ea83d39a2af90ed6478c08137 Mon Sep 17 00:00:00 2001 From: Floris <72608722+FlorisCl@users.noreply.github.com> Date: Tue, 3 Feb 2026 14:34:25 +0100 Subject: [PATCH 10/10] Update install/wger-install.sh Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --- install/wger-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/wger-install.sh b/install/wger-install.sh index 6002facdb..df8a089d0 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -172,12 +172,11 @@ server { } } EOF -msg_ok "Created Config and Services" - $STD rm -f /etc/nginx/sites-enabled/default $STD ln -sf /etc/nginx/sites-available/wger /etc/nginx/sites-enabled/wger systemctl enable -q --now redis-server nginx wger celery celery-beat systemctl restart nginx +msg_ok "Created Config and Services" motd_ssh customize