Compare commits

...

14 Commits

Author SHA1 Message Date
a72885b4c1 Update CHANGELOG.md (#6918)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-18 00:17:01 +00:00
58fe2df6b4 Update versions.json (#6917)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-18 02:16:37 +02:00
5c8bd4b124 Update versions.json (#6914)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-17 14:04:58 +02:00
b6d7ad7c38 Update CHANGELOG.md (#6910)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-17 00:15:44 +00:00
dd4d518052 Update versions.json (#6909)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-17 02:15:22 +02:00
a99650f969 Update CHANGELOG.md (#6905)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-16 20:54:02 +00:00
842d73de82 Refactor (#6902) 2025-08-16 22:53:43 +02:00
65f731d88b Update CHANGELOG.md (#6904)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-16 20:40:43 +00:00
363685d3d3 Refactor (#6900) 2025-08-16 22:40:14 +02:00
ff77960aa6 Update CHANGELOG.md (#6903)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-16 20:39:58 +00:00
8d4a81d28e Update wireguard.sh (#6898) 2025-08-16 22:39:38 +02:00
faf10a9d5b Update versions.json (#6895)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-16 14:04:52 +02:00
1b931becaa Update CHANGELOG.md (#6894)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-16 06:31:26 +00:00
905198116d Tandoor Images Fix (#6892) 2025-08-16 08:31:02 +02:00
9 changed files with 240 additions and 237 deletions

View File

@ -10,8 +10,24 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-08-18
## 2025-08-17
## 2025-08-16
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Wireguard: Fix WGDashboard not updating [@tremor021](https://github.com/tremor021) ([#6898](https://github.com/community-scripts/ProxmoxVE/pull/6898))
- Tandoor Images Fix [@WarLord185](https://github.com/WarLord185) ([#6892](https://github.com/community-scripts/ProxmoxVE/pull/6892))
- #### 🔧 Refactor
- Refactor: Uptime Kuma [@tremor021](https://github.com/tremor021) ([#6902](https://github.com/community-scripts/ProxmoxVE/pull/6902))
- Refactor: Wallos [@tremor021](https://github.com/tremor021) ([#6900](https://github.com/community-scripts/ProxmoxVE/pull/6900))
## 2025-08-15
### 🚀 Updated Scripts

View File

@ -34,27 +34,29 @@ function update_script() {
echo "Installed NPM..."
fi
fi
LATEST=$(curl -fsSL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
msg_info "Stopping ${APP}"
$STD sudo systemctl stop uptime-kuma
msg_ok "Stopped ${APP}"
cd /opt/uptime-kuma
RELEASE=$(curl -fsSL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}')
if [[ ! -f ~/.uptime-kuma ]] || [[ "${RELEASE}" != "$(cat ~/.uptime-kuma)" ]]; then
msg_info "Stopping ${APP}"
$STD systemctl stop uptime-kuma
msg_ok "Stopped ${APP}"
msg_info "Pulling ${APP} ${LATEST}"
$STD git fetch --all
$STD git checkout $LATEST --force
msg_ok "Pulled ${APP} ${LATEST}"
fetch_and_deploy_gh_release "uptime-kuma" "louislam/uptime-kuma" "tarball"
cd /opt/uptime-kuma
msg_info "Updating ${APP} to ${LATEST}"
$STD npm install --production
$STD npm run download-dist
msg_ok "Updated ${APP}"
msg_info "Updating ${APP} to ${LATEST}"
$STD npm install --omit dev
$STD npm run download-dist
msg_ok "Updated ${APP}"
msg_info "Starting ${APP}"
$STD sudo systemctl start uptime-kuma
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
msg_info "Starting ${APP}"
$STD sudo systemctl start uptime-kuma
msg_ok "Started ${APP}"
msg_ok "Updated Successfully"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
fi
exit
}

View File

@ -27,17 +27,19 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/ellite/Wallos/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
msg_info "Updating ${APP} to ${RELEASE}"
cd /opt
curl -fsSL "https://github.com/ellite/Wallos/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/ellite/Wallos/archive/refs/tags/v${RELEASE}.zip")
if [[ ! -f ~/.wallos ]] || [[ "${RELEASE}" != "$(cat ~/.wallos)" ]]; then
msg_info "Creating backup"
mkdir -p /opt/logos
mv /opt/wallos/db/wallos.db /opt/wallos.db
mv /opt/wallos/images/uploads/logos /opt/logos/
$STD unzip v${RELEASE}.zip
msg_ok "Backup created"
rm -rf /opt/wallos
mv Wallos-${RELEASE} /opt/wallos
fetch_and_deploy_gh_release "wallos" "ellite/Wallos" "tarball"
msg_info "Configuring ${APP}"
rm -rf /opt/wallos/db/wallos.empty.db
mv /opt/wallos.db /opt/wallos/db/wallos.db
mv /opt/logos/* /opt/wallos/images/uploads/logos
@ -48,16 +50,12 @@ function update_script() {
chmod -R 755 /opt/wallos
mkdir -p /var/log/cron
$STD curl http://localhost/endpoints/db/migrate.php
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated ${APP}"
msg_ok "Configured ${APP}"
msg_info "Reload Apache2"
systemctl reload apache2
msg_ok "Apache2 Reloaded"
msg_info "Cleaning Up"
rm -R /opt/v${RELEASE}.zip
msg_ok "Cleaned"
msg_ok "Updated Successfully"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"

View File

@ -30,7 +30,7 @@ function update_script() {
fi
apt-get update
apt-get -y upgrade
if [[ ! -d /etc/wgdashboard ]]; then
if [[ -d /etc/wgdashboard ]]; then
sleep 2
cd /etc/wgdashboard/src
./wgd.sh update

View File

@ -1,35 +1,35 @@
{
"name": "Uptime Kuma",
"slug": "uptimekuma",
"categories": [
9
],
"date_created": "2024-05-02",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 3001,
"documentation": null,
"website": "https://github.com/louislam/uptime-kuma#uptime-kuma",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/uptime-kuma.webp",
"config_path": "",
"description": "Uptime Kuma is a monitoring and alerting system that tracks the availability and performance of servers, websites, and other internet-connected devices. It can be self-hosted and is open-source, offering a visually appealing interface for monitoring and receiving notifications about downtime events.",
"install_methods": [
{
"type": "default",
"script": "ct/uptimekuma.sh",
"resources": {
"cpu": 1,
"ram": 1024,
"hdd": 4,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": []
"name": "Uptime Kuma",
"slug": "uptimekuma",
"categories": [
9
],
"date_created": "2024-05-02",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 3001,
"documentation": "https://github.com/louislam/uptime-kuma/wiki",
"website": "https://github.com/louislam/uptime-kuma#uptime-kuma",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/uptime-kuma.webp",
"config_path": "",
"description": "Uptime Kuma is a monitoring and alerting system that tracks the availability and performance of servers, websites, and other internet-connected devices. It can be self-hosted and is open-source, offering a visually appealing interface for monitoring and receiving notifications about downtime events.",
"install_methods": [
{
"type": "default",
"script": "ct/uptimekuma.sh",
"resources": {
"cpu": 1,
"ram": 1024,
"hdd": 4,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": []
}

View File

@ -1,9 +1,159 @@
[
{
"name": "lldap/lldap",
"version": "v0.6.2",
"date": "2025-08-17T22:07:10Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.18.1",
"date": "2025-08-17T21:16:28Z"
},
{
"name": "wizarrrr/wizarr",
"version": "2025.8.3",
"date": "2025-08-14T22:05:27Z"
},
{
"name": "go-vikunja/vikunja",
"version": "v1.0.0-rc0",
"date": "2025-08-17T18:47:15Z"
},
{
"name": "matze/wastebin",
"version": "3.3.0",
"date": "2025-08-17T19:57:11Z"
},
{
"name": "rcourtman/Pulse",
"version": "v4.4.0",
"date": "2025-08-17T18:47:35Z"
},
{
"name": "Radarr/Radarr",
"version": "v5.26.2.10099",
"date": "2025-06-11T20:10:39Z"
},
{
"name": "Prowlarr/Prowlarr",
"version": "v1.37.0.5076",
"date": "2025-06-04T11:04:53Z"
},
{
"name": "Lidarr/Lidarr",
"version": "v2.12.4.4658",
"date": "2025-06-09T17:27:45Z"
},
{
"name": "plexguide/Huntarr.io",
"version": "8.2.2",
"date": "2025-08-17T16:33:42Z"
},
{
"name": "Ombi-app/Ombi",
"version": "v4.47.1",
"date": "2025-01-05T21:14:23Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.3.0",
"date": "2025-08-16T17:54:45Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.16.17",
"date": "2025-08-17T13:13:52Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-core@15.6.12",
"date": "2025-08-17T10:37:31Z"
},
{
"name": "TandoorRecipes/recipes",
"version": "2.0.2",
"date": "2025-08-17T09:24:37Z"
},
{
"name": "mylar3/mylar3",
"version": "v0.8.3",
"date": "2025-08-17T06:24:54Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2301",
"date": "2025-08-17T05:54:52Z"
},
{
"name": "cross-seed/cross-seed",
"version": "v6.13.1",
"date": "2025-07-17T21:36:42Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.1.2",
"date": "2025-06-26T22:08:00Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2025-08-16T16:04:53Z"
},
{
"name": "blakeblackshear/frigate",
"version": "v0.14.1",
"date": "2024-08-29T22:32:51Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.2.10",
"date": "2025-08-16T11:45:23Z"
},
{
"name": "documenso/documenso",
"version": "v1.12.2-rc.4",
"date": "2025-08-16T09:16:29Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.24.15",
"date": "2025-08-16T08:57:56Z"
},
{
"name": "karlomikus/bar-assistant",
"version": "v5.7.0",
"date": "2025-08-16T07:59:43Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.2",
"date": "2025-08-16T05:32:58Z"
},
{
"name": "nzbgetcom/nzbget",
"version": "v25.2",
"date": "2025-07-04T08:21:42Z"
},
{
"name": "coder/code-server",
"version": "v4.103.1",
"date": "2025-08-16T01:59:28Z"
},
{
"name": "mongodb/mongo",
"version": "r8.2.0",
"date": "2025-08-15T22:02:15Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.7",
"date": "2025-08-07T08:19:29Z"
},
{
"name": "homarr-labs/homarr",
"version": "v1.33.0",
@ -14,11 +164,6 @@
"version": "v0.9.90",
"date": "2025-08-15T19:14:52Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.16.12",
"date": "2025-08-15T18:08:27Z"
},
{
"name": "netbox-community/netbox",
"version": "v4.3.6",
@ -54,21 +199,11 @@
"version": "7.0.18rc2",
"date": "2025-08-15T11:50:47Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.3.0-beta.2",
"date": "2025-08-15T11:43:48Z"
},
{
"name": "intri-in/manage-my-damn-life-nextjs",
"version": "v0.8.0-release",
"date": "2025-08-15T06:19:12Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2288",
"date": "2025-08-15T05:57:52Z"
},
{
"name": "cloudreve/cloudreve",
"version": "4.5.1",
@ -79,21 +214,6 @@
"version": "v0.11.5-rc0",
"date": "2025-08-14T22:24:01Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
},
{
"name": "wizarrrr/wizarr",
"version": "2025.8.3",
"date": "2025-08-14T22:05:27Z"
},
{
"name": "rcourtman/Pulse",
"version": "v4.3.8",
"date": "2025-08-14T22:01:41Z"
},
{
"name": "esphome/esphome",
"version": "2025.7.5",
@ -114,11 +234,6 @@
"version": "v1.7.2",
"date": "2025-08-14T19:07:57Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.7",
"date": "2025-08-07T08:19:29Z"
},
{
"name": "linkwarden/linkwarden",
"version": "v2.11.7",
@ -139,21 +254,11 @@
"version": "version/2025.8.0-rc2",
"date": "2025-08-12T21:12:08Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.2.9",
"date": "2025-08-14T11:17:26Z"
},
{
"name": "Luligu/matterbridge",
"version": "Matter-1.4.1",
"date": "2025-08-14T07:37:23Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.1",
"date": "2025-08-14T06:45:08Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3-beta.10",
@ -189,16 +294,6 @@
"version": "v12.1.1",
"date": "2025-08-13T17:54:07Z"
},
{
"name": "runtipi/runtipi",
"version": "v4.3.0",
"date": "2025-07-05T12:14:52Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.1.2",
"date": "2025-06-26T22:08:00Z"
},
{
"name": "go-gitea/gitea",
"version": "v1.24.5",
@ -224,11 +319,6 @@
"version": "v1.14.1",
"date": "2025-08-13T09:34:15Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-openapi@9.1.12",
"date": "2025-08-13T09:32:34Z"
},
{
"name": "home-assistant/operating-system",
"version": "16.1",
@ -239,11 +329,6 @@
"version": "v2.5.308",
"date": "2025-08-13T07:09:29Z"
},
{
"name": "coder/code-server",
"version": "v4.103.0",
"date": "2025-08-12T22:29:54Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.12.0",
@ -279,11 +364,6 @@
"version": "REL_13_22",
"date": "2025-08-11T21:10:58Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.24.14",
"date": "2025-08-11T16:49:58Z"
},
{
"name": "TwiN/gatus",
"version": "v5.22.0",
@ -329,11 +409,6 @@
"version": "v1.18.4",
"date": "2025-06-25T00:06:56Z"
},
{
"name": "Prowlarr/Prowlarr",
"version": "v1.37.0.5076",
"date": "2025-06-04T11:04:53Z"
},
{
"name": "slskd/slskd",
"version": "0.23.2",
@ -354,11 +429,6 @@
"version": "v1.7.0",
"date": "2025-08-10T18:10:25Z"
},
{
"name": "blakeblackshear/frigate",
"version": "v0.14.1",
"date": "2024-08-29T22:32:51Z"
},
{
"name": "ioBroker/ioBroker",
"version": "1012-08-09",
@ -424,11 +494,6 @@
"version": "2025.8.0",
"date": "2025-08-08T15:50:42Z"
},
{
"name": "nzbgetcom/nzbget",
"version": "v25.2",
"date": "2025-07-04T08:21:42Z"
},
{
"name": "apache/tika",
"version": "3.2.2",
@ -449,21 +514,11 @@
"version": "v4.1.3",
"date": "2025-08-04T12:13:45Z"
},
{
"name": "cross-seed/cross-seed",
"version": "v6.13.1",
"date": "2025-07-17T21:36:42Z"
},
{
"name": "zwave-js/zwave-js-ui",
"version": "v11.1.0",
"date": "2025-08-07T14:57:29Z"
},
{
"name": "karlomikus/bar-assistant",
"version": "v5.6.1",
"date": "2025-08-07T14:46:03Z"
},
{
"name": "glpi-project/glpi",
"version": "10.0.19",
@ -589,16 +644,6 @@
"version": "mcp/v0.26.0",
"date": "2025-08-03T16:21:47Z"
},
{
"name": "Lidarr/Lidarr",
"version": "v2.12.4.4658",
"date": "2025-06-09T17:27:45Z"
},
{
"name": "Radarr/Radarr",
"version": "v5.26.2.10099",
"date": "2025-06-11T20:10:39Z"
},
{
"name": "linuxserver/Heimdall",
"version": "v2.7.4",
@ -629,11 +674,6 @@
"version": "2.6.0",
"date": "2025-08-01T15:42:21Z"
},
{
"name": "documenso/documenso",
"version": "v1.12.2-rc.3",
"date": "2025-08-01T14:46:22Z"
},
{
"name": "alexta69/metube",
"version": "2025.07.31",
@ -659,11 +699,6 @@
"version": "v2.1.1867",
"date": "2025-07-31T18:08:43Z"
},
{
"name": "TandoorRecipes/recipes",
"version": "2.0.1",
"date": "2025-07-31T17:29:38Z"
},
{
"name": "hyperion-project/hyperion.ng",
"version": "2.1.1",
@ -789,11 +824,6 @@
"version": "v0.22.0",
"date": "2025-07-17T06:35:43Z"
},
{
"name": "plexguide/Huntarr.io",
"version": "8.1.15",
"date": "2025-07-16T18:06:03Z"
},
{
"name": "usememos/memos",
"version": "v0.25.0",
@ -834,11 +864,6 @@
"version": "1.3.11",
"date": "2025-07-13T13:33:48Z"
},
{
"name": "Ombi-app/Ombi",
"version": "v4.47.1",
"date": "2025-01-05T21:14:23Z"
},
{
"name": "eclipse-mosquitto/mosquitto",
"version": "v2.0.22",
@ -954,11 +979,6 @@
"version": "v12.7.0",
"date": "2025-06-20T08:31:16Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.17.1",
"date": "2025-06-19T19:35:01Z"
},
{
"name": "prometheus-pve/prometheus-pve-exporter",
"version": "v3.5.5",
@ -1024,11 +1044,6 @@
"version": "v2.0.1",
"date": "2025-06-08T14:40:24Z"
},
{
"name": "matze/wastebin",
"version": "3.2.0",
"date": "2025-06-07T21:33:22Z"
},
{
"name": "jordan-dalby/ByteStash",
"version": "v1.5.8",
@ -1229,11 +1244,6 @@
"version": "v0.18.0",
"date": "2025-03-11T12:47:22Z"
},
{
"name": "mylar3/mylar3",
"version": "v0.8.2",
"date": "2025-03-11T05:20:22Z"
},
{
"name": "AlexxIT/go2rtc",
"version": "v1.9.9",
@ -1304,11 +1314,6 @@
"version": "v0.5.7",
"date": "2025-01-17T15:57:17Z"
},
{
"name": "go-vikunja/vikunja",
"version": "v0.24.6",
"date": "2024-12-22T20:24:35Z"
},
{
"name": "favonia/cloudflare-ddns",
"version": "v1.15.1",
@ -1334,11 +1339,6 @@
"version": "v1.7.3",
"date": "2024-11-27T21:26:11Z"
},
{
"name": "lldap/lldap",
"version": "v0.6.1",
"date": "2024-11-22T21:48:41Z"
},
{
"name": "janeczku/calibre-web",
"version": "0.6.24",

View File

@ -73,7 +73,7 @@ POSTGRES_USER=$DB_USER
POSTGRES_PASSWORD=$DB_PASS
STATIC_URL=/staticfiles/
MEDIA_URL=/mediafiles/
MEDIA_URL=/media/
EOF
TANDOOR_VERSION="$(curl -s https://api.github.com/repos/TandoorRecipes/recipes/releases/latest | jq -r .tag_name)"
@ -125,7 +125,7 @@ server {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_pass http://unix:/opt/tandoor/tandoor.sock;
}
}

View File

@ -13,22 +13,18 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y git
$STD apt-get install -y ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" setup_nodejs
fetch_and_deploy_gh_release "uptime-kuma" "louislam/uptime-kuma" "tarball"
msg_info "Installing Uptime Kuma"
$STD git clone https://github.com/louislam/uptime-kuma.git
cd /opt/uptime-kuma
$STD npm run setup
$STD npm ci --omit dev
$STD npm run download-dist
msg_ok "Installed Uptime Kuma"
msg_info "Creating Service"
service_path="/etc/systemd/system/uptime-kuma.service"
echo "[Unit]
cat <<EOF >/etc/systemd/system/uptime-kuma.service
[Unit]
Description=uptime-kuma
[Service]
@ -39,8 +35,9 @@ WorkingDirectory=/opt/uptime-kuma
ExecStart=/usr/bin/npm start
[Install]
WantedBy=multi-user.target" >$service_path
$STD systemctl enable --now uptime-kuma
WantedBy=multi-user.target
EOF
systemctl enable -q --now uptime-kuma
msg_ok "Created Service"
motd_ssh

View File

@ -14,19 +14,10 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
apache2 \
libapache2-mod-php \
php8.2-{mbstring,gd,curl,intl,imagick,bz2,sqlite3,zip,xml}
msg_ok "Installed Dependencies"
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="imagick,bz2,sqlite3" setup_php
fetch_and_deploy_gh_release "wallos" "ellite/Wallos" "tarball"
msg_info "Installing Wallos (Patience)"
cd /opt
RELEASE=$(curl -fsSL https://api.github.com/repos/ellite/Wallos/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/ellite/Wallos/archive/refs/tags/v${RELEASE}.zip" -o "v${RELEASE}.zip"
$STD unzip v${RELEASE}.zip
mv Wallos-${RELEASE} /opt/wallos
cd /opt/wallos
mv /opt/wallos/db/wallos.empty.db /opt/wallos/db/wallos.db
chown -R www-data:www-data /opt/wallos
@ -73,7 +64,6 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -rf /opt/v${RELEASE}.zip
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"