Compare commits

..

9 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
abf233c94f Update CHANGELOG.md (#5117)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-13 01:15:50 +01:00
community-scripts-pr-app[bot]
edd4fb3cc2 Update versions.json (#5116)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-13 02:15:05 +02:00
community-scripts-pr-app[bot]
d97620a390 Update CHANGELOG.md (#5115)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-12 22:13:21 +01:00
CanbiZ
c2c5159a2d Kasm: Increase Ressources & Hint for Fuse / Swap (#5112)
* Kasm: Increase Ressources & Hint for Fuse / Swap

* extend info
2025-06-12 21:31:32 +02:00
community-scripts-pr-app[bot]
46d9f85f5e Update date in json (#5111)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2025-06-12 16:28:37 +01:00
community-scripts-pr-app[bot]
ba7ec5aa68 Update CHANGELOG.md (#5110)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-12 16:28:32 +01:00
push-app-to-main[bot]
dd4c556959 Manage my Damn Life (#5100)
* 'Add new script'

* fix curl

* curl

* Update managemydamnlife-install.sh

Remove unneeded msg

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
2025-06-12 17:28:05 +02:00
Michel Roegl-Brunner
0e63437154 install.func (#5109) 2025-06-12 17:26:12 +02:00
community-scripts-pr-app[bot]
0769320146 Update versions.json (#5107)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-12 14:07:39 +02:00
9 changed files with 300 additions and 83 deletions

View File

@@ -14,8 +14,18 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
## 2025-06-13
## 2025-06-12
### 🆕 New Scripts
- Manage my Damn Life ([#5100](https://github.com/community-scripts/ProxmoxVE/pull/5100))
### 🚀 Updated Scripts
- Kasm: Increase Ressources & Hint for Fuse / Swap [@MickLesk](https://github.com/MickLesk) ([#5112](https://github.com/community-scripts/ProxmoxVE/pull/5112))
## 2025-06-11
## 2025-06-10

View File

@@ -0,0 +1,6 @@
__ ___ __ ___ ____ __ _ ____
/ |/ /___ _____ ____ _____ ____ / |/ /_ __ / __ \____ _____ ___ ____ / / (_) __/__
/ /|_/ / __ `/ __ \/ __ `/ __ `/ _ \ / /|_/ / / / / / / / / __ `/ __ `__ \/ __ \ / / / / /_/ _ \
/ / / / /_/ / / / / /_/ / /_/ / __/ / / / / /_/ / / /_/ / /_/ / / / / / / / / / / /___/ / __/ __/
/_/ /_/\__,_/_/ /_/\__,_/\__, /\___/ /_/ /_/\__, / /_____/\__,_/_/ /_/ /_/_/ /_/ /_____/_/_/ \___/
/____/ /____/

View File

@@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
APP="Kasm"
var_tags="${var_tags:-os}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4192}"
var_ram="${var_ram:-8192}"
var_disk="${var_disk:-30}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"

78
ct/managemydamnlife.sh Normal file
View File

@@ -0,0 +1,78 @@
#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: vhsdream
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/intri-in/manage-my-damn-life-nextjs
APP="Manage My Damn Life"
var_tags="${var_tags:-calendar;tasks}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-6}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/mmdl ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/intri-in/manage-my-damn-life-nextjs/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ "${RELEASE}" != "$(cat /opt/mmdl_version.txt)" ]] || [[ ! -f /opt/mmdl_version.txt ]]; then
msg_info "Stopping $APP"
systemctl stop mmdl
msg_ok "Stopped $APP"
msg_info "Creating Backup"
cp /opt/mmdl/.env /opt/mmdl.env
msg_ok "Backup Created"
msg_info "Updating $APP to v${RELEASE}"
curl -fsSLO "https://github.com/intri-in/manage-my-damn-life-nextjs/archive/refs/tags/v${RELEASE}.zip"
rm -r /opt/mmdl
unzip -q v"$RELEASE".zip
mv manage-my-damn-life-nextjs-"$RELEASE"/ /opt/mmdl
mv /opt/mmdl.env /opt/mmdl/.env
cd /opt/mmdl
$STD npm install
$STD npm run migrate
$STD npm run build
msg_ok "Updated $APP to v${RELEASE}"
msg_info "Starting $APP"
systemctl start mmdl
msg_ok "Started $APP"
msg_info "Cleaning Up"
rm -f ~/v"$RELEASE".zip
msg_ok "Cleanup Completed"
# Last Action
echo "$RELEASE" >/opt/mmdl_version.txt
msg_ok "Update Successful"
else
msg_ok "No update required. ${APP} is already at v${RELEASE}"
fi
exit
}
start
build_container
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}:3000${CL}"

View File

@@ -20,7 +20,7 @@
"script": "ct/kasm.sh",
"resources": {
"cpu": 2,
"ram": 4096,
"ram": 8192,
"hdd": 50,
"os": "Debian",
"version": "12"
@@ -36,6 +36,10 @@
"text": "WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.",
"type": "warning"
},
{
"text": "Kasm needs swap (on Proxmox host) and activated FUSE to be installed successfully!",
"type": "warning"
},
{
"text": "Show password: `cat ~/kasm.creds`",
"type": "info"

View File

@@ -0,0 +1,35 @@
{
"name": "Manage My Damn Life",
"slug": "managemydamnlife",
"categories": [
0
],
"date_created": "2025-06-12",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 3000,
"documentation": "https://manage-my-damn-life-nextjs.readthedocs.io/en/latest/",
"config_path": "/opt/mmdl/.env",
"website": "https://github.com/intri-in/manage-my-damn-life-nextjs",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/manage-my-damn-life.webp",
"description": "Manage My Damn Life (MMDL) is a self-hosted front end for managing your CalDAV tasks and calendars.",
"install_methods": [
{
"type": "default",
"script": "ct/managemydamnlife.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 6,
"os": "Debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": []
}

View File

@@ -1,9 +1,84 @@
[
{
"name": "FlowiseAI/Flowise",
"version": "flowise@3.0.2",
"date": "2025-06-12T22:48:11Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.1",
"date": "2025-03-15T17:29:17Z"
},
{
"name": "leiweibau/Pi.Alert",
"version": "v2025-06-12",
"date": "2025-06-12T20:59:47Z"
},
{
"name": "hyperion-project/hyperion.ng",
"version": "2.1.0",
"date": "2025-06-12T19:56:34Z"
},
{
"name": "grafana/grafana",
"version": "v11.3.7+security-01",
"date": "2025-06-12T17:05:16Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.17",
"date": "2025-06-11T12:07:38Z"
},
{
"name": "Checkmk/checkmk",
"version": "v2.3.0p34",
"date": "2025-06-12T12:15:44Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.95.3",
"date": "2025-06-03T11:09:42Z"
},
{
"name": "docker/compose",
"version": "v2.37.1",
"date": "2025-06-12T09:00:21Z"
},
{
"name": "redis/redis",
"version": "8.2-m01-int2",
"date": "2025-06-12T08:52:10Z"
},
{
"name": "zitadel/zitadel",
"version": "v3.3.0",
"date": "2025-06-12T06:54:48Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2011",
"date": "2025-06-12T06:11:23Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.2",
"date": "2025-05-11T16:40:55Z"
},
{
"name": "documenso/documenso",
"version": "v1.12.0-rc.4",
"date": "2025-06-12T00:27:41Z"
},
{
"name": "theonedev/onedev",
"version": "v11.10.4",
"date": "2025-06-11T22:36:05Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.5",
"date": "2025-05-28T06:49:43Z"
},
{
"name": "Radarr/Radarr",
"version": "v5.26.2.10099",
@@ -29,11 +104,6 @@
"version": "4.8.11.0",
"date": "2025-03-10T06:39:11Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "testing",
"date": "2025-06-11T16:35:40Z"
},
{
"name": "crowdsecurity/crowdsec",
"version": "v1.6.8",
@@ -49,26 +119,11 @@
"version": "0.50.3",
"date": "2025-06-11T15:19:52Z"
},
{
"name": "Checkmk/checkmk",
"version": "v2.4.0p4",
"date": "2025-06-11T14:31:17Z"
},
{
"name": "FlowiseAI/Flowise",
"version": "flowise@3.0.2",
"date": "2025-06-11T13:18:51Z"
},
{
"name": "kimai/kimai",
"version": "2.36.0",
"date": "2025-06-11T12:31:07Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.17",
"date": "2025-06-11T12:07:38Z"
},
{
"name": "cloudflare/cloudflared",
"version": "2025.6.0",
@@ -79,11 +134,6 @@
"version": "v1.63.1",
"date": "2025-06-11T11:05:42Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.95.3",
"date": "2025-06-03T11:09:42Z"
},
{
"name": "fallenbagel/jellyseerr",
"version": "preview-forceipv4-axios",
@@ -99,11 +149,6 @@
"version": "7.2.8rc1",
"date": "2025-06-11T06:50:19Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2008",
"date": "2025-06-11T05:58:00Z"
},
{
"name": "openobserve/openobserve",
"version": "v0.15.0-rc2",
@@ -114,11 +159,6 @@
"version": "server/public/v0.1.15",
"date": "2025-06-11T03:56:25Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.5",
"date": "2025-05-28T06:49:43Z"
},
{
"name": "emqx/emqx",
"version": "e5.10.0",
@@ -169,11 +209,6 @@
"version": "v0.8.4",
"date": "2025-06-10T07:57:14Z"
},
{
"name": "documenso/documenso",
"version": "v1.12.0-rc.3",
"date": "2025-06-10T02:49:37Z"
},
{
"name": "go-gitea/gitea",
"version": "v1.24.0",
@@ -244,11 +279,6 @@
"version": "0.10.4",
"date": "2025-02-25T18:13:42Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.2",
"date": "2025-05-11T16:40:55Z"
},
{
"name": "neo4j/neo4j",
"version": "5.26.8",
@@ -269,11 +299,6 @@
"version": "v2.0.1",
"date": "2025-06-08T14:40:24Z"
},
{
"name": "redis/redis",
"version": "8.2-m01-int",
"date": "2025-06-08T13:48:51Z"
},
{
"name": "Readarr/Readarr",
"version": "v2.0.0.4645",
@@ -369,11 +394,6 @@
"version": "1.6.14",
"date": "2025-06-05T16:40:52Z"
},
{
"name": "docker/compose",
"version": "v2.37.0",
"date": "2025-06-05T15:11:49Z"
},
{
"name": "pi-hole/pi-hole",
"version": "v6.1.2",
@@ -439,11 +459,6 @@
"version": "v4.2.1",
"date": "2025-06-03T20:04:28Z"
},
{
"name": "zitadel/zitadel",
"version": "v2.71.12",
"date": "2025-06-03T14:11:41Z"
},
{
"name": "influxdata/influxdb",
"version": "v1.12.1rc3",
@@ -624,11 +639,6 @@
"version": "v2.0.113",
"date": "2025-05-23T01:47:35Z"
},
{
"name": "grafana/grafana",
"version": "v11.2.10",
"date": "2025-05-22T23:50:45Z"
},
{
"name": "0xERR0R/blocky",
"version": "v0.26.2",
@@ -704,6 +714,11 @@
"version": "1.21.3",
"date": "2025-05-16T04:31:05Z"
},
{
"name": "Dolibarr/dolibarr",
"version": "18.0.7",
"date": "2025-05-15T08:24:30Z"
},
{
"name": "Ombi-app/Ombi",
"version": "v4.47.1",
@@ -714,11 +729,6 @@
"version": "0.42.1",
"date": "2020-06-07T07:27:04Z"
},
{
"name": "leiweibau/Pi.Alert",
"version": "v2025-05-11",
"date": "2025-05-12T19:14:57Z"
},
{
"name": "stackblitz-labs/bolt.diy",
"version": "1.0.0",
@@ -924,11 +934,6 @@
"version": "v1.10.0",
"date": "2025-04-07T14:32:15Z"
},
{
"name": "Dolibarr/dolibarr",
"version": "21.0.1",
"date": "2025-04-06T19:22:59Z"
},
{
"name": "azukaar/Cosmos-Server",
"version": "v0.18.4",
@@ -1234,11 +1239,6 @@
"version": "v4.4.3",
"date": "2024-04-06T12:24:35Z"
},
{
"name": "hyperion-project/hyperion.ng",
"version": "2.0.16",
"date": "2024-01-18T16:11:07Z"
},
{
"name": "deepch/RTSPtoWeb",
"version": "v2.4.3",

View File

@@ -0,0 +1,84 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG
# Author: vhsdream
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/intri-in/manage-my-damn-life-nextjs
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
NODE_VERSION="20" install_node_and_modules
MYSQL_VERSION="8.0" install_mysql
msg_info "Setting up Database"
DB_NAME="mmdl"
DB_USER="mmdl"
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
$STD mysql -u root -e "CREATE DATABASE $DB_NAME;"
$STD mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED by '$DB_PASS';"
$STD mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;"
{
echo "Manage My Damn Life Credentials"
echo "Database User: $DB_USER"
echo "Database Password: $DB_PASS"
echo "Database Name: $DB_NAME"
} >>~/mmdl.creds
msg_ok "Set up Database"
msg_info "Installing ${APPLICATION}"
RELEASE=$(curl -fsSL https://api.github.com/repos/intri-in/manage-my-damn-life-nextjs/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSLO "https://github.com/intri-in/manage-my-damn-life-nextjs/archive/refs/tags/v${RELEASE}.zip"
unzip -q v"$RELEASE".zip
mv manage-my-damn-life-nextjs-"$RELEASE"/ /opt/mmdl
cp /opt/mmdl/sample.env.local /opt/mmdl/.env
sed -i -e 's|db|localhost|' \
-e "s|myuser|${DB_USER}|" \
-e "s|mypassword|${DB_PASS}|" \
-e 's|5433|3306|' \
-e 's|DB_DIALECT=postgres|DB_DIALECT=mysql|' \
-e "s|sample_install_mmdm|${DB_NAME}|" \
-e "s|=PASSWORD|=$(openssl rand -base64 40 | tr -dc 'a-zA-Z0-9' | head -c40)|" \
/opt/mmdl/.env
cd /opt/mmdl
export NEXT_TELEMETRY_DISABLE=1
export CI="true"
$STD npm install
$STD npm run migrate
$STD npm run build
echo "${RELEASE}" >/opt/mmdl_version.txt
msg_ok "Installed ${APPLICATION}"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/mmdl.service
[Unit]
Description=${APPLICATION} Service
After=network.target mysql.service
[Service]
WorkingDirectory=/opt/mmdl
EnvironmentFile=/opt/mmdl/.env
ExecStart=/usr/bin/npm run start
Restart=on-abnormal
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now mmdl
msg_ok "Created Service"
motd_ssh
customize
msg_info "Cleaning up"
rm -f ~/v${RELEASE}.zip
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"

View File

@@ -77,7 +77,7 @@ error_handler() {
local command="$2"
local error_message="${RD}[ERROR]${CL} in line ${RD}$line_number${CL}: exit code ${RD}$exit_code${CL}: while executing command ${YW}$command${CL}"
echo -e "\n$error_message"
if [[ "$line_number" -eq 50 ]]; then
if [[ "$line_number" -eq 51 ]]; then
echo -e "The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.\n"
post_update_to_api "failed" "No error message, script ran in silent mode"
else