From 06d6fcd470dd4e3eb34eda53e8c3ae975d1ee723 Mon Sep 17 00:00:00 2001 From: "push-app-to-main[bot]" <203845782+push-app-to-main[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 11:18:38 +0000 Subject: [PATCH] Sync ct/ and install/ from ProxmoxVE Mirrored automatically. The bootstrap line is rewritten to load the engine from core, which is the only difference to upstream. --- ct/2fauth.sh | 3 - ct/actualbudget.sh | 3 - ct/adventurelog.sh | 3 - ct/affine.sh | 3 - ct/agentdvr.sh | 3 - ct/almalinux.sh | 44 ++++++ ct/alpine-borgbackup-server.sh | 3 - ct/alpine-cinny.sh | 3 - ct/alpine-it-tools.sh | 3 - ct/alpine-komodo.sh | 3 - ct/alpine-nextcloud.sh | 3 - ct/alpine-redlib.sh | 3 - ct/alpine-wakapi.sh | 3 - ct/alpine.sh | 3 - ct/ampache.sh | 3 - ct/anchor.sh | 3 - ct/anytype-server.sh | 3 - ct/apache-airflow.sh | 3 - ct/apache-cassandra.sh | 3 - ct/apache-couchdb.sh | 3 - ct/apache-guacamole.sh | 3 - ct/apache-tika.sh | 3 - ct/apache-tomcat.sh | 3 - ct/apprise-api.sh | 3 - ct/apt-cacher-ng.sh | 3 - ct/archivebox.sh | 3 - ct/argus.sh | 3 - ct/aria2.sh | 3 - ct/asterisk.sh | 3 - ct/audiobookshelf.sh | 3 - ct/aurral.sh | 75 ++++++++++ ct/authelia.sh | 3 - ct/authentik.sh | 3 - ct/autobrr.sh | 3 - ct/autocaliweb.sh | 3 - ct/babybuddy.sh | 3 - ct/backrest.sh | 3 - ct/baikal.sh | 3 - ct/bambuddy.sh | 8 +- ct/bar-assistant.sh | 3 - ct/baserow.sh | 3 - ct/bazarr.sh | 3 - ct/beaverhabits.sh | 3 - ct/bentopdf.sh | 3 - ct/beszel.sh | 3 - ct/bichon.sh | 5 +- ct/birdnet-go.sh | 3 - ct/bitfocus-companion.sh | 3 - ct/blocky.sh | 5 +- ct/booklore.sh | 3 - ct/bookorbit.sh | 7 +- ct/bookstack.sh | 3 - ct/bunkerweb.sh | 3 - ct/byparr.sh | 3 - ct/bytestash.sh | 3 - ct/calibre-web.sh | 23 +++- ct/casaos.sh | 3 - ct/centos.sh | 44 ++++++ ct/certimate.sh | 3 - ct/changedetection.sh | 3 - ct/channels.sh | 3 - ct/checkmate.sh | 3 - ct/checkmk.sh | 3 - ct/cleanuparr.sh | 3 - ct/clickhouse.sh | 3 - ct/cliproxyapi.sh | 3 - ct/cloudflare-ddns.sh | 3 - ct/cloudreve.sh | 3 - ct/cockpit.sh | 3 - ct/comfyui.sh | 3 - ct/commafeed.sh | 3 - ct/configarr.sh | 3 - ct/convertx.sh | 3 - ct/cookcli.sh | 3 - ct/coolify.sh | 3 - ct/coredns.sh | 3 - ct/cosmos.sh | 3 - ct/crafty-controller.sh | 3 - ct/cronicle.sh | 3 - ct/cross-seed.sh | 3 - ct/cryptpad.sh | 3 - ct/cyberchef.sh | 3 - ct/dagu.sh | 3 - ct/dashy.sh | 3 - ct/databasus.sh | 3 - ct/dawarich.sh | 3 - ct/ddclient.sh | 3 - ct/ddns-updater.sh | 3 - ct/deconz.sh | 3 - ct/defguard.sh | 54 ++++++++ ct/degoog.sh | 3 - ct/deluge.sh | 3 - ct/devuan.sh | 46 +++++++ ct/directus.sh | 70 ++++++++++ ct/discopanel.sh | 3 - ct/discourse.sh | 3 - ct/dispatcharr.sh | 3 - ct/dockge.sh | 3 - ct/docmost.sh | 3 - ct/docspell.sh | 3 - ct/docuseal.sh | 3 - ct/dokploy.sh | 3 - ct/dolibarr.sh | 3 - ct/domain-locker.sh | 3 - ct/domain-monitor.sh | 3 - ct/donetick.sh | 3 - ct/dotnetaspwebapi.sh | 3 - ct/drawdb.sh | 3 - ct/drawio.sh | 3 - ct/droppedneedle.sh | 12 +- ct/duplicati.sh | 3 - ct/dynacat.sh | 3 - ct/ebusd.sh | 3 - ct/elementsynapse.sh | 3 - ct/emby.sh | 3 - ct/emqx.sh | 3 - ct/endurain.sh | 19 ++- ct/erpnext.sh | 3 - ct/ersatztv.sh | 3 - ct/espconnect.sh | 3 - ct/esphome.sh | 3 - ct/etherpad.sh | 3 - ct/evcc.sh | 3 - ct/excalidash.sh | 4 +- ct/excalidraw.sh | 3 - ct/ezbookkeeping.sh | 3 - ct/fedora.sh | 44 ++++++ ct/feishin.sh | 3 - ct/fhem.sh | 3 - ct/fileflows.sh | 3 - ct/firecrawl.sh | 3 - ct/firefly.sh | 3 - ct/fireshare.sh | 3 - ct/fladder.sh | 3 - ct/flame.sh | 3 - ct/flaresolverr.sh | 3 - ct/flatnotes.sh | 3 - ct/fleet.sh | 3 - ct/fluid-calendar.sh | 3 - ct/fmd-server.sh | 3 - ct/foldergram.sh | 3 - ct/forgejo-runner.sh | 3 - ct/freepbx.sh | 3 - ct/freshrss.sh | 3 - ct/fumadocs.sh | 3 - ct/gatus.sh | 16 +-- ct/gentoo.sh | 46 +++++++ ct/geopulse.sh | 3 - ct/ghostfolio.sh | 3 - ct/gitea-mirror.sh | 3 - ct/github-runner.sh | 3 - ct/gitlab.sh | 3 - ct/glance.sh | 3 - ct/globaleaks.sh | 3 - ct/glpi.sh | 3 - ct/gluetun.sh | 3 - ct/go2rtc.sh | 3 - ct/godoxy.sh | 3 - ct/gogs.sh | 3 - ct/gokapi.sh | 3 - ct/gotify.sh | 3 - ct/gramps-web.sh | 3 - ct/grav.sh | 3 - ct/graylog.sh | 3 - ct/grist.sh | 3 - ct/grocy.sh | 3 - ct/guardian.sh | 3 - ct/gwn-manager.sh | 3 - ct/headscale.sh | 3 - ct/healthchecks.sh | 3 - ct/heimdall-dashboard.sh | 3 - ct/hev-socks5-server.sh | 3 - ct/hister.sh | 3 - ct/hivemq.sh | 3 - ct/homarr.sh | 3 - ct/homeassistant.sh | 3 - ct/homebox.sh | 3 - ct/homebridge.sh | 3 - ct/homelable.sh | 3 - ct/homepage.sh | 7 +- ct/homer.sh | 3 - ct/hoodik.sh | 3 - ct/hortusfox.sh | 3 - ct/hyperhdr.sh | 3 - ct/hyperion.sh | 3 - ct/ignis.sh | 3 - ct/igotify.sh | 3 - ct/immich.sh | 2 +- ct/immichframe.sh | 3 - ct/infisical.sh | 3 - ct/influxdb.sh | 3 - ct/inspircd.sh | 3 - ct/inventree.sh | 3 - ct/investbrain.sh | 3 - ct/invidious.sh | 3 - ct/invoiceninja.sh | 3 - ct/invoiceshelf.sh | 3 - ct/iobroker.sh | 3 - ct/isponsorblocktv.sh | 3 - ct/itsm-ng.sh | 3 - ct/iventoy.sh | 3 - ct/jackett.sh | 3 - ct/jellyfin.sh | 6 +- ct/jellyseerr.sh | 3 - ct/jenkins.sh | 3 - ct/jitsi-meet.sh | 3 - ct/joplin-server.sh | 3 - ct/jotty.sh | 3 - ct/jupyternotebook.sh | 3 - ct/kan.sh | 3 - ct/kapowarr.sh | 3 - ct/karakeep.sh | 3 - ct/kasm.sh | 3 - ct/kavita.sh | 3 - ct/keycloak.sh | 3 - ct/kima-hub.sh | 5 +- ct/kimai.sh | 3 - ct/kitchenowl.sh | 3 - ct/kiwix.sh | 3 - ct/koel.sh | 3 - ct/koffan.sh | 3 - ct/koillection.sh | 3 - ct/kometa.sh | 3 - ct/komga.sh | 3 - ct/komodo.sh | 3 - ct/kubo.sh | 3 - ct/kutt.sh | 3 - ct/languagetool.sh | 3 - ct/lazylibrarian.sh | 3 - ct/leafwiki.sh | 3 - ct/leantime.sh | 3 - ct/librechat.sh | 3 - ct/librenms.sh | 3 - ct/librespeed-rust.sh | 3 - ct/libretranslate.sh | 3 - ct/lidarr.sh | 3 - ct/limesurvey.sh | 10 +- ct/linkding.sh | 3 - ct/linkstack.sh | 3 - ct/linkwarden.sh | 3 - ct/listmonk.sh | 3 - ct/litellm.sh | 3 - ct/livebook.sh | 3 - ct/lldap.sh | 3 - ct/lobehub.sh | 3 - ct/localagi.sh | 3 - ct/lubelogger.sh | 3 - ct/lychee.sh | 3 - ct/lyrionmusicserver.sh | 3 - ct/mafl.sh | 3 - ct/magicmirror.sh | 3 - ct/mail-archiver.sh | 3 - ct/mailpit.sh | 62 +++++++++ ct/maintainerr.sh | 1 + ct/managemydamnlife.sh | 3 - ct/manyfold.sh | 3 - ct/mastodon.sh | 4 +- ct/matomo.sh | 3 - ct/matter-server.sh | 3 - ct/matterbridge.sh | 3 - ct/matterjs-server.sh | 3 - ct/mattermost.sh | 3 - ct/mealie.sh | 34 +++-- ct/mediamanager.sh | 3 - ct/mediamtx.sh | 3 - ct/medusa.sh | 3 - ct/meilisearch.sh | 3 - ct/memos.sh | 3 - ct/meshcentral.sh | 3 - ct/metabase.sh | 3 - ct/metube.sh | 3 - ct/minarca.sh | 3 - ct/mini-qr.sh | 3 - ct/miniflux.sh | 3 - ct/minio.sh | 3 - ct/minthcm.sh | 3 - ct/mongodb.sh | 3 - ct/monica.sh | 3 - ct/motioneye.sh | 3 - ct/mqtt.sh | 3 - ct/mumble.sh | 3 - ct/musicseerr.sh | 3 - ct/myip.sh | 3 - ct/mylar3.sh | 3 - ct/myspeed.sh | 3 - ct/mysql.sh | 3 - ct/nagios.sh | 3 - ct/nametag.sh | 3 - ct/navidrome.sh | 3 - ct/neko.sh | 3 - ct/neo4j.sh | 3 - ct/netbird.sh | 3 - ct/netboot-xyz.sh | 3 - ct/netbox.sh | 3 - ct/netvisor.sh | 3 - ct/networkoptimizer.sh | 3 - ct/newt.sh | 3 - ct/nextcloudpi.sh | 3 - ct/nexterm.sh | 3 - ct/nextexplorer.sh | 3 - ct/nextpvr.sh | 3 - ct/nezha.sh | 3 - ct/nginx-ui.sh | 3 - ct/nightscout.sh | 3 - ct/node-red.sh | 4 +- ct/nodebb.sh | 3 - ct/nodecast-tv.sh | 3 - ct/notediscovery.sh | 3 - ct/notifiarr.sh | 3 - ct/npmplus.sh | 3 - ct/ntopng.sh | 3 - ct/nxwitness.sh | 3 - ct/nzbget.sh | 3 - ct/oauth2-proxy.sh | 3 - ct/obsidian-livesync.sh | 3 - ct/octoprint.sh | 3 - ct/odoo.sh | 3 - ct/omada.sh | 3 - ct/ombi.sh | 3 - ct/omniroute.sh | 3 - ct/omnitools.sh | 3 - ct/omv.sh | 11 +- ct/onedev.sh | 3 - ct/onlyoffice.sh | 3 - ct/open-archiver.sh | 3 - ct/openbao.sh | 68 +++++++++ ct/opencloud.sh | 3 - ct/openeuler.sh | 46 +++++++ ct/opengist.sh | 13 +- ct/openhab.sh | 3 - ct/openobserve.sh | 3 - ct/openproject.sh | 3 - ct/opensuse.sh | 46 +++++++ ct/openthread-br.sh | 8 +- ct/openwebui.sh | 12 +- ct/openziti-controller.sh | 3 - ct/openziti-tunnel.sh | 3 - ct/orb.sh | 3 - ct/ots.sh | 3 - ct/outline.sh | 3 - ct/overseerr.sh | 3 - ct/owncast.sh | 3 - ct/ownfoil.sh | 3 - ct/oxicloud.sh | 3 - ct/pairdrop.sh | 3 - ct/pangolin.sh | 3 - ct/paperclip.sh | 3 - ct/paperless-ai.sh | 3 - ct/paperless-gpt.sh | 3 - ct/papra.sh | 3 - ct/part-db.sh | 3 - ct/passbolt.sh | 3 - ct/passwordpusher.sh | 3 - ct/patchmon.sh | 3 - ct/paymenter.sh | 3 - ct/peanut.sh | 3 - ct/pegaprox.sh | 3 - ct/pelican-panel.sh | 3 - ct/pelican-wings.sh | 3 - ct/photoprism.sh | 3 - ct/pialert.sh | 3 - ct/pinchflat.sh | 3 - ct/plane.sh | 3 - ct/planka.sh | 4 +- ct/plant-it.sh | 3 - ct/plex.sh | 3 - ct/pocketbase.sh | 3 - ct/pocketid.sh | 3 - ct/podman-homeassistant.sh | 3 - ct/podman.sh | 3 - ct/postiz.sh | 3 - ct/powerdns.sh | 3 - ct/poznote.sh | 3 - ct/privatebin.sh | 3 - ct/profilarr.sh | 3 - ct/projectsend.sh | 3 - ct/prometheus-alertmanager.sh | 3 - ct/prometheus-blackbox-exporter.sh | 3 - ct/prometheus-pve-exporter.sh | 3 - ct/protonmail-bridge.sh | 3 - ct/prowlarr.sh | 3 - ct/proxmox-datacenter-manager.sh | 3 - ct/proxmox-mail-gateway.sh | 3 - ct/ps5-mqtt.sh | 3 - ct/pterodactyl-panel.sh | 3 - ct/pterodactyl-wings.sh | 3 - ct/pulse.sh | 3 - ct/pve-scripts-local.sh | 3 - ct/pve-ups.sh | 2 +- ct/qdrant.sh | 3 - ct/qui.sh | 3 - ct/rabbitmq.sh | 3 - ct/rackula.sh | 3 - ct/radarr.sh | 3 - ct/radicale.sh | 3 - ct/rdtclient.sh | 3 - ct/romm.sh | 3 - ct/sabnzbd.sh | 3 - ct/scanopy.sh | 3 - ct/seanime.sh | 63 +++++++++ ct/searxng.sh | 3 - ct/seerr.sh | 3 - ct/shinobi.sh | 3 - ct/solidinvoice.sh | 57 ++++++++ ct/sonarr.sh | 3 - ct/spliit.sh | 4 +- ct/sportarr.sh | 3 - ct/stalwart.sh | 3 - ct/stirling-pdf.sh | 3 - ct/super-productivity.sh | 66 +++++++++ ct/tdarr.sh | 3 - ct/termix.sh | 3 - ct/threadfin.sh | 3 - ct/tunarr.sh | 3 - ct/uhf.sh | 3 - ct/unmanic.sh | 3 - ct/vaultwarden.sh | 2 +- ct/vikunja.sh | 3 - ct/watchyourlan.sh | 3 - ct/wazuh.sh | 3 - ct/wordpress.sh | 3 - ct/yopass.sh | 65 +++++++++ ct/yuvomi.sh | 4 +- ct/zabbix.sh | 3 - install/almalinux-install.sh | 18 +++ install/aurral-install.sh | 70 ++++++++++ install/bambuddy-install.sh | 2 +- install/bookorbit-install.sh | 1 + install/calibre-web-install.sh | 11 +- install/centos-install.sh | 18 +++ install/defguard-install.sh | 78 +++++++++++ install/devuan-install.sh | 18 +++ install/directus-install.sh | 94 +++++++++++++ install/droppedneedle-install.sh | 2 +- install/fedora-install.sh | 18 +++ install/gatus-install.sh | 17 +-- install/gentoo-install.sh | 18 +++ install/gitea-install.sh | 5 +- install/homepage-install.sh | 1 + install/jellyfin-install.sh | 8 +- install/kima-hub-install.sh | 2 +- install/limesurvey-install.sh | 1 + install/mailpit-install.sh | 51 +++++++ install/maintainerr-install.sh | 2 +- install/mastodon-install.sh | 6 +- install/mealie-install.sh | 31 ++++- install/node-red-install.sh | 4 +- install/ntopng-install.sh | 10 +- install/omv-install.sh | 4 +- install/openbao-install.sh | 67 +++++++++ install/openeuler-install.sh | 18 +++ install/opensuse-install.sh | 18 +++ install/openwebui-install.sh | 6 +- install/planka-install.sh | 2 +- install/podman-install.sh | 2 + install/pve-ups-install.sh | 2 +- install/seanime-install.sh | 67 +++++++++ install/solidinvoice-install.sh | 190 ++++++++++++++++++++++++++ install/spliit-install.sh | 2 +- install/stirling-pdf-install.sh | 1 - install/super-productivity-install.sh | 61 +++++++++ install/vaultwarden-install.sh | 2 +- install/yopass-install.sh | 69 ++++++++++ install/yuvomi-install.sh | 2 +- 464 files changed, 1977 insertions(+), 1293 deletions(-) create mode 100644 ct/almalinux.sh create mode 100644 ct/aurral.sh create mode 100644 ct/centos.sh create mode 100644 ct/defguard.sh create mode 100644 ct/devuan.sh create mode 100644 ct/directus.sh create mode 100644 ct/fedora.sh create mode 100644 ct/gentoo.sh create mode 100644 ct/mailpit.sh create mode 100755 ct/openbao.sh create mode 100644 ct/openeuler.sh create mode 100644 ct/opensuse.sh create mode 100644 ct/seanime.sh create mode 100644 ct/solidinvoice.sh create mode 100644 ct/super-productivity.sh create mode 100644 ct/yopass.sh create mode 100644 install/almalinux-install.sh create mode 100644 install/aurral-install.sh create mode 100644 install/centos-install.sh create mode 100644 install/defguard-install.sh create mode 100644 install/devuan-install.sh create mode 100644 install/directus-install.sh create mode 100644 install/fedora-install.sh create mode 100644 install/gentoo-install.sh create mode 100644 install/mailpit-install.sh create mode 100755 install/openbao-install.sh create mode 100644 install/openeuler-install.sh create mode 100644 install/opensuse-install.sh create mode 100644 install/seanime-install.sh create mode 100644 install/solidinvoice-install.sh create mode 100644 install/super-productivity-install.sh create mode 100644 install/yopass-install.sh diff --git a/ct/2fauth.sh b/ct/2fauth.sh index f0a930d..6ab920b 100644 --- a/ct/2fauth.sh +++ b/ct/2fauth.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index 9e6bd3f..2e81cf3 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/adventurelog.sh b/ct/adventurelog.sh index 42a4a9e..2d8299b 100644 --- a/ct/adventurelog.sh +++ b/ct/adventurelog.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/affine.sh b/ct/affine.sh index b04018c..260b205 100644 --- a/ct/affine.sh +++ b/ct/affine.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/agentdvr.sh b/ct/agentdvr.sh index 7a4831b..26b8745 100644 --- a/ct/agentdvr.sh +++ b/ct/agentdvr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/almalinux.sh b/ct/almalinux.sh new file mode 100644 index 0000000..ed76523 --- /dev/null +++ b/ct/almalinux.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://almalinux.org/ + +APP="AlmaLinux" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-almalinux}" +var_version="${var_version:-10}" +var_arm64="${var_arm64:-no}" +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 /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating AlmaLinux" + $STD dnf -y upgrade + msg_ok "Updated AlmaLinux" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/alpine-borgbackup-server.sh b/ct/alpine-borgbackup-server.sh index f937a45..6e2a716 100644 --- a/ct/alpine-borgbackup-server.sh +++ b/ct/alpine-borgbackup-server.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/alpine-cinny.sh b/ct/alpine-cinny.sh index 04ba163..ef2ec42 100644 --- a/ct/alpine-cinny.sh +++ b/ct/alpine-cinny.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/alpine-it-tools.sh b/ct/alpine-it-tools.sh index a0a7d57..0c66beb 100644 --- a/ct/alpine-it-tools.sh +++ b/ct/alpine-it-tools.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/alpine-komodo.sh b/ct/alpine-komodo.sh index b878fc3..32f590f 100644 --- a/ct/alpine-komodo.sh +++ b/ct/alpine-komodo.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/alpine-nextcloud.sh b/ct/alpine-nextcloud.sh index 1de6fff..3f5f610 100644 --- a/ct/alpine-nextcloud.sh +++ b/ct/alpine-nextcloud.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/alpine-redlib.sh b/ct/alpine-redlib.sh index 10a407a..8a2ef8b 100644 --- a/ct/alpine-redlib.sh +++ b/ct/alpine-redlib.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/alpine-wakapi.sh b/ct/alpine-wakapi.sh index 31f3227..20d27da 100644 --- a/ct/alpine-wakapi.sh +++ b/ct/alpine-wakapi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/alpine.sh b/ct/alpine.sh index d459cc2..f435130 100644 --- a/ct/alpine.sh +++ b/ct/alpine.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/ampache.sh b/ct/ampache.sh index d4b4d12..3852eb3 100644 --- a/ct/ampache.sh +++ b/ct/ampache.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/anchor.sh b/ct/anchor.sh index 5661aa7..8fd780e 100644 --- a/ct/anchor.sh +++ b/ct/anchor.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/anytype-server.sh b/ct/anytype-server.sh index 9d5e949..f3d29a1 100644 --- a/ct/anytype-server.sh +++ b/ct/anytype-server.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/apache-airflow.sh b/ct/apache-airflow.sh index eccf5dc..f6cdd81 100644 --- a/ct/apache-airflow.sh +++ b/ct/apache-airflow.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/apache-cassandra.sh b/ct/apache-cassandra.sh index d758f27..0c79894 100644 --- a/ct/apache-cassandra.sh +++ b/ct/apache-cassandra.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/apache-couchdb.sh b/ct/apache-couchdb.sh index ffe8aaa..c5ec7c8 100644 --- a/ct/apache-couchdb.sh +++ b/ct/apache-couchdb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/apache-guacamole.sh b/ct/apache-guacamole.sh index 57cb98c..9f71c8a 100644 --- a/ct/apache-guacamole.sh +++ b/ct/apache-guacamole.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/apache-tika.sh b/ct/apache-tika.sh index 5cfe836..a6ee8a6 100755 --- a/ct/apache-tika.sh +++ b/ct/apache-tika.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/apache-tomcat.sh b/ct/apache-tomcat.sh index 980b274..75857f9 100644 --- a/ct/apache-tomcat.sh +++ b/ct/apache-tomcat.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/apprise-api.sh b/ct/apprise-api.sh index 29f587e..9f02380 100644 --- a/ct/apprise-api.sh +++ b/ct/apprise-api.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/apt-cacher-ng.sh b/ct/apt-cacher-ng.sh index c444bac..785df12 100644 --- a/ct/apt-cacher-ng.sh +++ b/ct/apt-cacher-ng.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/archivebox.sh b/ct/archivebox.sh index 37a5c09..382df1c 100644 --- a/ct/archivebox.sh +++ b/ct/archivebox.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/argus.sh b/ct/argus.sh index 381c0fc..c593fac 100644 --- a/ct/argus.sh +++ b/ct/argus.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/aria2.sh b/ct/aria2.sh index e88c390..77718d3 100644 --- a/ct/aria2.sh +++ b/ct/aria2.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/asterisk.sh b/ct/asterisk.sh index 6cced5e..c116113 100644 --- a/ct/asterisk.sh +++ b/ct/asterisk.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/audiobookshelf.sh b/ct/audiobookshelf.sh index 3173216..e0b2f60 100644 --- a/ct/audiobookshelf.sh +++ b/ct/audiobookshelf.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/aurral.sh b/ct/aurral.sh new file mode 100644 index 0000000..248499e --- /dev/null +++ b/ct/aurral.sh @@ -0,0 +1,75 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/lklynet/aurral + +APP="Aurral" +var_tags="${var_tags:-music;lidarr;discovery}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-4096}" +var_disk="${var_disk:-10}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +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/aurral ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "aurral" "lklynet/aurral"; then + msg_info "Stopping Service" + systemctl stop aurral + msg_ok "Stopped Service" + + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "aurral" "lklynet/aurral" "tarball" + NODE_VERSION="22" setup_nodejs + + msg_info "Updating Aurral" + cd /opt/aurral + export VITE_APP_VERSION="$(cat ~/.aurral)" + export VITE_GITHUB_REPO="lklynet/aurral" + export VITE_RELEASE_CHANNEL="stable" + $STD npm ci --workspace frontend --include-workspace-root=false + $STD npm run build --workspace frontend + $STD npm ci --workspace backend --omit=dev --include=optional --include-workspace-root=false + mkdir -p /opt/aurral_data + cat </opt/aurral/aurral.env +NODE_ENV=production +PORT=3001 +AURRAL_DATA_DIR=/opt/aurral_data +APP_VERSION=$(cat ~/.aurral) +EOF + msg_ok "Updated Aurral" + + msg_info "Starting Service" + systemctl start aurral + msg_ok "Started Service" + msg_ok "Updated successfully!" + 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 "${GATEWAY}${BGN}http://${IP}:3001${CL}" diff --git a/ct/authelia.sh b/ct/authelia.sh index 1ced4b6..3711c65 100644 --- a/ct/authelia.sh +++ b/ct/authelia.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/authentik.sh b/ct/authentik.sh index b880111..1e7b86b 100644 --- a/ct/authentik.sh +++ b/ct/authentik.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/autobrr.sh b/ct/autobrr.sh index 053c045..3cb081c 100644 --- a/ct/autobrr.sh +++ b/ct/autobrr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/autocaliweb.sh b/ct/autocaliweb.sh index 3d5ec59..9bf3e62 100644 --- a/ct/autocaliweb.sh +++ b/ct/autocaliweb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/babybuddy.sh b/ct/babybuddy.sh index 783435c..30461b8 100644 --- a/ct/babybuddy.sh +++ b/ct/babybuddy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/backrest.sh b/ct/backrest.sh index a47c096..95b7c56 100644 --- a/ct/backrest.sh +++ b/ct/backrest.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/baikal.sh b/ct/baikal.sh index 74e555c..a71fd58 100644 --- a/ct/baikal.sh +++ b/ct/baikal.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/bambuddy.sh b/ct/bambuddy.sh index d670a85..c09aad3 100644 --- a/ct/bambuddy.sh +++ b/ct/bambuddy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -67,6 +64,11 @@ function update_script() { restore_backup + if ! grep -q -- '--loop asyncio' /etc/systemd/system/bambuddy.service; then + sed -i 's|^ExecStart=.*|ExecStart=/opt/bambuddy/.venv/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 --loop asyncio|' /etc/systemd/system/bambuddy.service + systemctl daemon-reload + fi + msg_info "Starting Service" systemctl start bambuddy msg_ok "Started Service" diff --git a/ct/bar-assistant.sh b/ct/bar-assistant.sh index d651d88..f196c59 100644 --- a/ct/bar-assistant.sh +++ b/ct/bar-assistant.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/baserow.sh b/ct/baserow.sh index 8908577..60b9c5e 100644 --- a/ct/baserow.sh +++ b/ct/baserow.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/bazarr.sh b/ct/bazarr.sh index bc5aec2..2497041 100755 --- a/ct/bazarr.sh +++ b/ct/bazarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/beaverhabits.sh b/ct/beaverhabits.sh index 817970d..52cfadf 100644 --- a/ct/beaverhabits.sh +++ b/ct/beaverhabits.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/bentopdf.sh b/ct/bentopdf.sh index 5265f22..d5c6e62 100644 --- a/ct/bentopdf.sh +++ b/ct/bentopdf.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/beszel.sh b/ct/beszel.sh index 928430b..e331b27 100644 --- a/ct/beszel.sh +++ b/ct/beszel.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/bichon.sh b/ct/bichon.sh index e6f8cd6..220bc7f 100644 --- a/ct/bichon.sh +++ b/ct/bichon.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -124,4 +121,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 "${GATEWAY}${BGN}http://${IP}:15630${CL}" \ No newline at end of file +echo -e "${GATEWAY}${BGN}http://${IP}:15630${CL}" diff --git a/ct/birdnet-go.sh b/ct/birdnet-go.sh index 1ce67bf..c5f8fd0 100644 --- a/ct/birdnet-go.sh +++ b/ct/birdnet-go.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/bitfocus-companion.sh b/ct/bitfocus-companion.sh index 77d5c9a..073050d 100644 --- a/ct/bitfocus-companion.sh +++ b/ct/bitfocus-companion.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/blocky.sh b/ct/blocky.sh index a4de7f5..58c288f 100644 --- a/ct/blocky.sh +++ b/ct/blocky.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck @@ -57,4 +54,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 "${GATEWAY}${BGN}http://${IP}${CL}" \ No newline at end of file +echo -e "${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/ct/booklore.sh b/ct/booklore.sh index 278d27b..213e357 100644 --- a/ct/booklore.sh +++ b/ct/booklore.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/bookorbit.sh b/ct/bookorbit.sh index 60266d6..9fdc647 100644 --- a/ct/bookorbit.sh +++ b/ct/bookorbit.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -61,6 +58,10 @@ function update_script() { restore_backup APP_VER=$(cat ~/.bookorbit) sed -i "s/^APP_VERSION=.*/APP_VERSION=v$APP_VER/" /opt/bookorbit/.env + if ! grep -q '^TimeoutStartSec=' /etc/systemd/system/bookorbit.service; then + sed -i '/^\[Service\]/a TimeoutStartSec=infinity' /etc/systemd/system/bookorbit.service + systemctl daemon-reload + fi msg_ok "Rebuilt Application" msg_info "Updating Kobo Python Runtime" diff --git a/ct/bookstack.sh b/ct/bookstack.sh index 45a3b3a..3297230 100644 --- a/ct/bookstack.sh +++ b/ct/bookstack.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/bunkerweb.sh b/ct/bunkerweb.sh index 086a3cf..c50ef7c 100644 --- a/ct/bunkerweb.sh +++ b/ct/bunkerweb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/byparr.sh b/ct/byparr.sh index 06a17b2..0e8389e 100644 --- a/ct/byparr.sh +++ b/ct/byparr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/bytestash.sh b/ct/bytestash.sh index 9750590..4e16ec9 100644 --- a/ct/bytestash.sh +++ b/ct/bytestash.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/calibre-web.sh b/ct/calibre-web.sh index d9951b6..aa583d6 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -40,8 +37,7 @@ function update_script() { systemctl stop calibre-web msg_ok "Stopped Service" - create_backup /opt/calibre-web/app.db \ - /opt/calibre-web/data + create_backup /opt/calibre-web/data CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Calibre-Web" "janeczku/calibre-web" "prebuild" "latest" "/opt/calibre-web" "calibreweb*.tar.gz" setup_uv @@ -53,11 +49,26 @@ function update_script() { $STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir . msg_ok "Installed Dependencies" - sed -i 's|^ExecStart=.*|ExecStart=/opt/calibre-web/.venv/bin/cps|' /etc/systemd/system/calibre-web.service + sed -i 's|^ExecStart=.*|ExecStart=/opt/calibre-web/.venv/bin/cps -p /opt/calibre-web/data/app.db|' /etc/systemd/system/calibre-web.service + if ! grep -q '^Environment=HOME=' /etc/systemd/system/calibre-web.service; then + sed -i '/^ExecStart=/i Environment=HOME=/opt/calibre-web/data' /etc/systemd/system/calibre-web.service + fi $STD systemctl daemon-reload restore_backup + mkdir -p /opt/calibre-web-library + if [[ -f /opt/calibre-web/data/metadata.db && ! -f /opt/calibre-web-library/metadata.db ]]; then + msg_info "Migrating Calibre Library to its own directory" + find /opt/calibre-web/data -mindepth 1 -maxdepth 1 ! -name app.db ! -name .calibre-web -exec mv -t /opt/calibre-web-library -- {} + + msg_ok "Migrated Calibre Library" + fi + if [[ ! -f /opt/calibre-web-library/metadata.db ]]; then + msg_info "Creating Empty Calibre Library" + $STD calibredb list --with-library /opt/calibre-web-library + msg_ok "Created Empty Calibre Library" + fi + msg_info "Starting Service" systemctl start calibre-web msg_ok "Started Service" diff --git a/ct/casaos.sh b/ct/casaos.sh index 06f90a6..41d51c8 100644 --- a/ct/casaos.sh +++ b/ct/casaos.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/centos.sh b/ct/centos.sh new file mode 100644 index 0000000..2dcf556 --- /dev/null +++ b/ct/centos.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.centos.org/centos-stream/ + +APP="CentOS" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-centos}" +var_version="${var_version:-10}" +var_arm64="${var_arm64:-no}" +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 /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating CentOS LXC" + $STD dnf -y upgrade + msg_ok "Updated CentOS LXC" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/certimate.sh b/ct/certimate.sh index 869ff69..7237f56 100644 --- a/ct/certimate.sh +++ b/ct/certimate.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/changedetection.sh b/ct/changedetection.sh index 35944ea..1a4fd28 100644 --- a/ct/changedetection.sh +++ b/ct/changedetection.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/channels.sh b/ct/channels.sh index 05b44f5..cb610a1 100644 --- a/ct/channels.sh +++ b/ct/channels.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/checkmate.sh b/ct/checkmate.sh index 517d7ed..ba125bf 100644 --- a/ct/checkmate.sh +++ b/ct/checkmate.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/checkmk.sh b/ct/checkmk.sh index f4ae4bc..73ac27e 100644 --- a/ct/checkmk.sh +++ b/ct/checkmk.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cleanuparr.sh b/ct/cleanuparr.sh index 2775ed6..0b5a6f3 100755 --- a/ct/cleanuparr.sh +++ b/ct/cleanuparr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/clickhouse.sh b/ct/clickhouse.sh index 8b3fbdf..08c6dff 100644 --- a/ct/clickhouse.sh +++ b/ct/clickhouse.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cliproxyapi.sh b/ct/cliproxyapi.sh index 328541e..55f83d5 100644 --- a/ct/cliproxyapi.sh +++ b/ct/cliproxyapi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/cloudflare-ddns.sh b/ct/cloudflare-ddns.sh index a3e8a1b..9a3fd49 100644 --- a/ct/cloudflare-ddns.sh +++ b/ct/cloudflare-ddns.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cloudreve.sh b/ct/cloudreve.sh index 997f658..6a15aef 100644 --- a/ct/cloudreve.sh +++ b/ct/cloudreve.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cockpit.sh b/ct/cockpit.sh index 03a07bb..f6f5845 100644 --- a/ct/cockpit.sh +++ b/ct/cockpit.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/comfyui.sh b/ct/comfyui.sh index a21cdc6..684b785 100644 --- a/ct/comfyui.sh +++ b/ct/comfyui.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/commafeed.sh b/ct/commafeed.sh index e58fcc2..45762d4 100644 --- a/ct/commafeed.sh +++ b/ct/commafeed.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/configarr.sh b/ct/configarr.sh index 2869b55..9103578 100644 --- a/ct/configarr.sh +++ b/ct/configarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/convertx.sh b/ct/convertx.sh index 5cf353d..c6c66e3 100644 --- a/ct/convertx.sh +++ b/ct/convertx.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cookcli.sh b/ct/cookcli.sh index bb5cd81..eaa452b 100644 --- a/ct/cookcli.sh +++ b/ct/cookcli.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/coolify.sh b/ct/coolify.sh index 0fdcde9..f79e17a 100644 --- a/ct/coolify.sh +++ b/ct/coolify.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/coredns.sh b/ct/coredns.sh index 70f816b..b674f1c 100644 --- a/ct/coredns.sh +++ b/ct/coredns.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cosmos.sh b/ct/cosmos.sh index 6b1a399..4ff2a85 100644 --- a/ct/cosmos.sh +++ b/ct/cosmos.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/crafty-controller.sh b/ct/crafty-controller.sh index d0b3e87..c9b95c5 100644 --- a/ct/crafty-controller.sh +++ b/ct/crafty-controller.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cronicle.sh b/ct/cronicle.sh index 5b91440..f011448 100644 --- a/ct/cronicle.sh +++ b/ct/cronicle.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/cross-seed.sh b/ct/cross-seed.sh index 716c6b8..2c30b75 100644 --- a/ct/cross-seed.sh +++ b/ct/cross-seed.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cryptpad.sh b/ct/cryptpad.sh index 48790de..624912a 100644 --- a/ct/cryptpad.sh +++ b/ct/cryptpad.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/cyberchef.sh b/ct/cyberchef.sh index c05d74a..e8edc18 100644 --- a/ct/cyberchef.sh +++ b/ct/cyberchef.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dagu.sh b/ct/dagu.sh index 55bb6da..185c8a8 100644 --- a/ct/dagu.sh +++ b/ct/dagu.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dashy.sh b/ct/dashy.sh index 9dcaaeb..4935e0c 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/databasus.sh b/ct/databasus.sh index 2e5bc54..d657056 100644 --- a/ct/databasus.sh +++ b/ct/databasus.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dawarich.sh b/ct/dawarich.sh index 04df5db..5596b66 100644 --- a/ct/dawarich.sh +++ b/ct/dawarich.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/ddclient.sh b/ct/ddclient.sh index 7cc91a5..1f50fd7 100644 --- a/ct/ddclient.sh +++ b/ct/ddclient.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/ddns-updater.sh b/ct/ddns-updater.sh index 038a1a5..eed483c 100644 --- a/ct/ddns-updater.sh +++ b/ct/ddns-updater.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/deconz.sh b/ct/deconz.sh index 38551f9..3c3c211 100644 --- a/ct/deconz.sh +++ b/ct/deconz.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/defguard.sh b/ct/defguard.sh new file mode 100644 index 0000000..b4552c0 --- /dev/null +++ b/ct/defguard.sh @@ -0,0 +1,54 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/DefGuard/defguard + +APP="Defguard" +var_tags="${var_tags:-vpn;wireguard;sso}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -f /etc/defguard/core.conf ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + msg_info "Updating Defguard" + $STD apt update + $STD apt install -y defguard defguard-proxy + msg_ok "Updated Defguard" + + msg_info "Restarting Services" + systemctl restart defguard defguard-proxy + msg_ok "Restarted Services" + msg_ok "Updated successfully!" + 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 "${GATEWAY}${BGN}http://${IP}:8000${CL}" diff --git a/ct/degoog.sh b/ct/degoog.sh index e0f70d0..a408abb 100644 --- a/ct/degoog.sh +++ b/ct/degoog.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/deluge.sh b/ct/deluge.sh index f82c06c..fe37bc5 100644 --- a/ct/deluge.sh +++ b/ct/deluge.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/devuan.sh b/ct/devuan.sh new file mode 100644 index 0000000..c5017d1 --- /dev/null +++ b/ct/devuan.sh @@ -0,0 +1,46 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.devuan.org/ + +APP="Devuan" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-devuan}" +var_version="${var_version:-5.0}" +#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified +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 /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating Devuan LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated Devuan LXC" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/directus.sh b/ct/directus.sh new file mode 100644 index 0000000..eb5eb9e --- /dev/null +++ b/ct/directus.sh @@ -0,0 +1,70 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://directus.com/ + +APP="Directus" +var_tags="${var_tags:-cms;api;database;headless}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -f /opt/directus/node_modules/.bin/directus ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "directus" "directus/directus"; then + msg_info "Stopping Service" + systemctl stop directus + msg_ok "Stopped Service" + + create_backup /opt/directus/.env \ + /opt/directus/uploads \ + /opt/directus/extensions + + ensure_dependencies build-essential + + msg_info "Updating Directus" + cd /opt/directus + $STD npm install --omit=dev "directus@${CHECK_UPDATE_RELEASE#v}" + cat <~/.directus +${CHECK_UPDATE_RELEASE#v} +EOF + restore_backup + msg_ok "Updated Directus" + + msg_info "Starting Service" + systemctl start directus + msg_ok "Started Service" + msg_ok "Updated successfully!" + 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 "${GATEWAY}${BGN}http://${IP}:8055${CL}" diff --git a/ct/discopanel.sh b/ct/discopanel.sh index 4f99d83..5db0b44 100644 --- a/ct/discopanel.sh +++ b/ct/discopanel.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/discourse.sh b/ct/discourse.sh index 6164f3d..7883b08 100644 --- a/ct/discourse.sh +++ b/ct/discourse.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dispatcharr.sh b/ct/dispatcharr.sh index 69ad5eb..d0da6bf 100644 --- a/ct/dispatcharr.sh +++ b/ct/dispatcharr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dockge.sh b/ct/dockge.sh index 6c50692..78b0162 100644 --- a/ct/dockge.sh +++ b/ct/dockge.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/docmost.sh b/ct/docmost.sh index 4fe42d7..d4c5710 100644 --- a/ct/docmost.sh +++ b/ct/docmost.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/docspell.sh b/ct/docspell.sh index 4866f66..8825b78 100644 --- a/ct/docspell.sh +++ b/ct/docspell.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/docuseal.sh b/ct/docuseal.sh index 4b40019..a95b459 100644 --- a/ct/docuseal.sh +++ b/ct/docuseal.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dokploy.sh b/ct/dokploy.sh index 41376a3..481cda1 100644 --- a/ct/dokploy.sh +++ b/ct/dokploy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dolibarr.sh b/ct/dolibarr.sh index d5cc147..94f350f 100644 --- a/ct/dolibarr.sh +++ b/ct/dolibarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/domain-locker.sh b/ct/domain-locker.sh index dfb348a..62a19eb 100644 --- a/ct/domain-locker.sh +++ b/ct/domain-locker.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/domain-monitor.sh b/ct/domain-monitor.sh index 993c921..f20a7fd 100644 --- a/ct/domain-monitor.sh +++ b/ct/domain-monitor.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/donetick.sh b/ct/donetick.sh index ce9751c..6af53c2 100644 --- a/ct/donetick.sh +++ b/ct/donetick.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dotnetaspwebapi.sh b/ct/dotnetaspwebapi.sh index 372404e..e1c8343 100644 --- a/ct/dotnetaspwebapi.sh +++ b/ct/dotnetaspwebapi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/drawdb.sh b/ct/drawdb.sh index b50ef85..a13d412 100644 --- a/ct/drawdb.sh +++ b/ct/drawdb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/drawio.sh b/ct/drawio.sh index a5c6d0c..e70cca1 100644 --- a/ct/drawio.sh +++ b/ct/drawio.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/droppedneedle.sh b/ct/droppedneedle.sh index a43f0a3..3367582 100644 --- a/ct/droppedneedle.sh +++ b/ct/droppedneedle.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -96,7 +93,7 @@ WorkingDirectory=/opt/droppedneedle/backend Environment=ROOT_APP_DIR=/opt/droppedneedle/backend Environment=PORT=8688 # Environment=SLSKD_DOWNLOADS_PATH= -ExecStart=/opt/droppedneedle/venv/bin/uvicorn main:app --host 0.0.0.0 --port 8688 --loop uvloop --http httptools --workers 1 +ExecStart=/opt/droppedneedle/venv/bin/python -m maintenance.automatic_upgrade --start-target Restart=on-failure RestartSec=5 @@ -105,8 +102,11 @@ WantedBy=multi-user.target EOF rm -f /etc/systemd/system/musicseerr.service msg_ok "Replaced systemd Service" - elif ! grep -q 'SLSKD' /etc/systemd/system/droppedneedle.service; then - sed -i '\|=8688$|a# Environment=SLSKD_DOWNLOADS_PATH=' /etc/systemd/system/droppedneedle.service + else + if ! grep -q 'SLSKD' /etc/systemd/system/droppedneedle.service; then + sed -i '\|=8688$|a# Environment=SLSKD_DOWNLOADS_PATH=' /etc/systemd/system/droppedneedle.service + fi + sed -i 's|^ExecStart=.*|ExecStart=/opt/droppedneedle/venv/bin/python -m maintenance.automatic_upgrade --start-target|' /etc/systemd/system/droppedneedle.service fi systemctl daemon-reload diff --git a/ct/duplicati.sh b/ct/duplicati.sh index 207382c..58e7c78 100644 --- a/ct/duplicati.sh +++ b/ct/duplicati.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/dynacat.sh b/ct/dynacat.sh index 724190a..42bafe1 100644 --- a/ct/dynacat.sh +++ b/ct/dynacat.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/ebusd.sh b/ct/ebusd.sh index e620c45..83587b4 100644 --- a/ct/ebusd.sh +++ b/ct/ebusd.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/elementsynapse.sh b/ct/elementsynapse.sh index 7338b8f..43f4aef 100644 --- a/ct/elementsynapse.sh +++ b/ct/elementsynapse.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/emby.sh b/ct/emby.sh index f28bf62..5f5eebb 100644 --- a/ct/emby.sh +++ b/ct/emby.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/emqx.sh b/ct/emqx.sh index 1ad87cb..c2c98bb 100644 --- a/ct/emqx.sh +++ b/ct/emqx.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/endurain.sh b/ct/endurain.sh index 8f6c5fd..86e263c 100644 --- a/ct/endurain.sh +++ b/ct/endurain.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -40,29 +37,29 @@ function update_script() { msg_ok "Stopped Service" NODE_VERSION="24" setup_nodejs - create_backup /opt/endurain/.env /opt/endurain/frontend/dist/env.js CLEAN_INSTALL=1 fetch_and_deploy_codeberg_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain" - msg_info "Preparing Update" + msg_info "Updating Endurain Frontend" cd /opt/endurain rm -rf /opt/endurain/{docs,example.env,screenshot_01.png} /opt/endurain/docker* /opt/endurain/*.yml - msg_ok "Prepared Update" - - msg_info "Updating Frontend" cd /opt/endurain/frontend $STD npm ci $STD npm run build - msg_ok "Updated Frontend" + msg_ok "Updated Endurain Frontend" restore_backup - msg_info "Updating Backend" + if grep -qxF 'FRONTEND_DIR="/opt/endurain/frontend/app/dist"' /opt/endurain/.env; then + sed -i 's|^FRONTEND_DIR="/opt/endurain/frontend/app/dist"$|FRONTEND_DIR="/opt/endurain/frontend/dist"|' /opt/endurain/.env + fi + + msg_info "Updating Endurain Backend" cd /opt/endurain/backend UV_VERSION=$(grep -Po 'required-version\s*=\s*"\K[^"]+' pyproject.toml 2>/dev/null || echo "0.11.18") UV_VERSION="$UV_VERSION" setup_uv $STD uv sync --frozen --no-dev - msg_ok "Backend Updated" + msg_ok "Endurain Backend Updated" msg_info "Starting Service" systemctl start endurain diff --git a/ct/erpnext.sh b/ct/erpnext.sh index e5155da..159fc4c 100644 --- a/ct/erpnext.sh +++ b/ct/erpnext.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/ersatztv.sh b/ct/ersatztv.sh index 0704d52..0542d61 100644 --- a/ct/ersatztv.sh +++ b/ct/ersatztv.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/espconnect.sh b/ct/espconnect.sh index 2f1ad67..43c969e 100644 --- a/ct/espconnect.sh +++ b/ct/espconnect.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/esphome.sh b/ct/esphome.sh index a07e831..9e8f0fa 100644 --- a/ct/esphome.sh +++ b/ct/esphome.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/etherpad.sh b/ct/etherpad.sh index 468bed0..cd01d22 100755 --- a/ct/etherpad.sh +++ b/ct/etherpad.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/evcc.sh b/ct/evcc.sh index c9026f0..eb19017 100644 --- a/ct/evcc.sh +++ b/ct/evcc.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/excalidash.sh b/ct/excalidash.sh index 33ccba2..2c2f21e 100644 --- a/ct/excalidash.sh +++ b/ct/excalidash.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -47,6 +44,7 @@ function update_script() { msg_info "Configuring Database Provider (${DATABASE_PROVIDER:-sqlite})" cd /opt/excalidash/backend sed -i '/datasource db {/,/}/ s/provider = env("[^"]*")/provider = "'"${DATABASE_PROVIDER:-sqlite}"'"/' prisma/schema.prisma + sed -i '/datasource db {/,/}/ s/provider = "[^"]*"/provider = "'"${DATABASE_PROVIDER:-sqlite}"'"/' prisma/schema.prisma mv prisma/migrations/"${DATABASE_PROVIDER:-sqlite}"/* prisma/migrations/ rm -rf prisma/migrations/postgresql prisma/migrations/sqlite msg_ok "Configured Database Provider" diff --git a/ct/excalidraw.sh b/ct/excalidraw.sh index 2f30130..d15c702 100644 --- a/ct/excalidraw.sh +++ b/ct/excalidraw.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/ezbookkeeping.sh b/ct/ezbookkeeping.sh index 4328313..f35f86d 100644 --- a/ct/ezbookkeeping.sh +++ b/ct/ezbookkeeping.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/fedora.sh b/ct/fedora.sh new file mode 100644 index 0000000..c97a633 --- /dev/null +++ b/ct/fedora.sh @@ -0,0 +1,44 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://fedoraproject.org/ + +APP="Fedora" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-fedora}" +var_version="${var_version:-43}" +var_arm64="${var_arm64:-no}" +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 /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating Fedora LXC" + $STD dnf -y upgrade + msg_ok "Updated Fedora LXC" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/feishin.sh b/ct/feishin.sh index 2023dcb..9f0e78e 100644 --- a/ct/feishin.sh +++ b/ct/feishin.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/fhem.sh b/ct/fhem.sh index b8c18ee..d7f13b1 100644 --- a/ct/fhem.sh +++ b/ct/fhem.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/fileflows.sh b/ct/fileflows.sh index 1c70f28..a050430 100644 --- a/ct/fileflows.sh +++ b/ct/fileflows.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/firecrawl.sh b/ct/firecrawl.sh index 548a398..3e770b3 100644 --- a/ct/firecrawl.sh +++ b/ct/firecrawl.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/firefly.sh b/ct/firefly.sh index fac7421..848d732 100644 --- a/ct/firefly.sh +++ b/ct/firefly.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/fireshare.sh b/ct/fireshare.sh index 8eca8ac..bdafa57 100644 --- a/ct/fireshare.sh +++ b/ct/fireshare.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/fladder.sh b/ct/fladder.sh index a1dfd09..73682fa 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/flame.sh b/ct/flame.sh index 18e39e7..1d1d5bc 100644 --- a/ct/flame.sh +++ b/ct/flame.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/flaresolverr.sh b/ct/flaresolverr.sh index e5458bf..7735fcc 100644 --- a/ct/flaresolverr.sh +++ b/ct/flaresolverr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/flatnotes.sh b/ct/flatnotes.sh index f0f07a2..92d4cbc 100644 --- a/ct/flatnotes.sh +++ b/ct/flatnotes.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/fleet.sh b/ct/fleet.sh index fa359fa..98ddd7f 100644 --- a/ct/fleet.sh +++ b/ct/fleet.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/fluid-calendar.sh b/ct/fluid-calendar.sh index 3d0244c..d808daf 100644 --- a/ct/fluid-calendar.sh +++ b/ct/fluid-calendar.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/fmd-server.sh b/ct/fmd-server.sh index bf6db74..9c85fe1 100644 --- a/ct/fmd-server.sh +++ b/ct/fmd-server.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/foldergram.sh b/ct/foldergram.sh index fcc2b5d..da019e2 100644 --- a/ct/foldergram.sh +++ b/ct/foldergram.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/forgejo-runner.sh b/ct/forgejo-runner.sh index 77646a6..0bf66a1 100644 --- a/ct/forgejo-runner.sh +++ b/ct/forgejo-runner.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/freepbx.sh b/ct/freepbx.sh index fddaa7f..b1ea810 100644 --- a/ct/freepbx.sh +++ b/ct/freepbx.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/freshrss.sh b/ct/freshrss.sh index f58d5d8..8c4fa18 100644 --- a/ct/freshrss.sh +++ b/ct/freshrss.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/fumadocs.sh b/ct/fumadocs.sh index 81111f9..8bfcbee 100644 --- a/ct/fumadocs.sh +++ b/ct/fumadocs.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/gatus.sh b/ct/gatus.sh index daf0adb..e49b6f8 100644 --- a/ct/gatus.sh +++ b/ct/gatus.sh @@ -45,6 +45,7 @@ update_deb_based() { mv /opt/gatus/config/config.yaml /opt CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gatus" "TwiN/gatus" "tarball" + GO_VERSION="$(grep -m1 '^go ' /opt/gatus/go.mod | awk '{print $2}')" setup_go msg_info "Updating Gatus" cd /opt/gatus @@ -66,27 +67,20 @@ update_alpine() { msg_error "No ${APP} Installation Found!" exit fi - RELEASE=$(curl -s https://api.github.com/repos/TwiN/gatus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - if [ "${RELEASE}" != "$(cat /opt/gatus_version.txt)" ] || [ ! -f /opt/gatus_version.txt ]; then - msg_info "Updating ${APP} LXC" + if check_for_gh_release "gatus" "TwiN/gatus"; then + msg_info "Updating ${APP}" $STD apk -U upgrade $STD service gatus stop mv /opt/gatus/config/config.yaml /opt - rm -rf /opt/gatus/* - temp_file=$(mktemp) - curl -fsSL "https://github.com/TwiN/gatus/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" - tar zxf "$temp_file" --strip-components=1 -C /opt/gatus + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gatus" "TwiN/gatus" "tarball" cd /opt/gatus + $STD go get golang.org/x/net@v0.55.0 $STD go mod tidy CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus . setcap CAP_NET_RAW+ep gatus mv /opt/config.yaml config - rm -f "$temp_file" - echo "${RELEASE}" >/opt/gatus_version.txt $STD service gatus start msg_ok "Updated successfully!" - else - msg_ok "No update required. ${APP} is already at ${RELEASE}" fi } diff --git a/ct/gentoo.sh b/ct/gentoo.sh new file mode 100644 index 0000000..504b8d0 --- /dev/null +++ b/ct/gentoo.sh @@ -0,0 +1,46 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.gentoo.org/ + +APP="Gentoo" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-10}" +var_os="${var_os:-gentoo}" +var_version="${var_version:-current}" +#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified +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 /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating Gentoo LXC" + $STD emerge --sync + $STD emerge --quiet --update --deep @world + msg_ok "Updated Gentoo LXC" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/geopulse.sh b/ct/geopulse.sh index 1c6946b..c9c07d4 100644 --- a/ct/geopulse.sh +++ b/ct/geopulse.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/ghostfolio.sh b/ct/ghostfolio.sh index 0849fb2..f8426ca 100644 --- a/ct/ghostfolio.sh +++ b/ct/ghostfolio.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/gitea-mirror.sh b/ct/gitea-mirror.sh index ee795e1..42075cd 100644 --- a/ct/gitea-mirror.sh +++ b/ct/gitea-mirror.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/github-runner.sh b/ct/github-runner.sh index 1563a9d..f12540d 100644 --- a/ct/github-runner.sh +++ b/ct/github-runner.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/gitlab.sh b/ct/gitlab.sh index b44d4ed..1e071d1 100644 --- a/ct/gitlab.sh +++ b/ct/gitlab.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/glance.sh b/ct/glance.sh index f7ab29d..6153618 100644 --- a/ct/glance.sh +++ b/ct/glance.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/globaleaks.sh b/ct/globaleaks.sh index 87ed1a5..1aeebd4 100644 --- a/ct/globaleaks.sh +++ b/ct/globaleaks.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/glpi.sh b/ct/glpi.sh index 2df59ae..41baa46 100644 --- a/ct/glpi.sh +++ b/ct/glpi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/gluetun.sh b/ct/gluetun.sh index b95b61e..c246542 100644 --- a/ct/gluetun.sh +++ b/ct/gluetun.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/go2rtc.sh b/ct/go2rtc.sh index 55df784..99fc91e 100644 --- a/ct/go2rtc.sh +++ b/ct/go2rtc.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/godoxy.sh b/ct/godoxy.sh index a41ba39..cc83368 100644 --- a/ct/godoxy.sh +++ b/ct/godoxy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/gogs.sh b/ct/gogs.sh index bb7ac29..d9424d8 100644 --- a/ct/gogs.sh +++ b/ct/gogs.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/gokapi.sh b/ct/gokapi.sh index 5a695e2..fb6f789 100644 --- a/ct/gokapi.sh +++ b/ct/gokapi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/gotify.sh b/ct/gotify.sh index 346d407..a6e4e72 100644 --- a/ct/gotify.sh +++ b/ct/gotify.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/gramps-web.sh b/ct/gramps-web.sh index 3656107..6497ac7 100644 --- a/ct/gramps-web.sh +++ b/ct/gramps-web.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/grav.sh b/ct/grav.sh index 2975a0b..822c889 100644 --- a/ct/grav.sh +++ b/ct/grav.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/graylog.sh b/ct/graylog.sh index a7b4218..3da327e 100644 --- a/ct/graylog.sh +++ b/ct/graylog.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/grist.sh b/ct/grist.sh index 89ed681..d3f3621 100644 --- a/ct/grist.sh +++ b/ct/grist.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/grocy.sh b/ct/grocy.sh index e402344..7f6257c 100644 --- a/ct/grocy.sh +++ b/ct/grocy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/guardian.sh b/ct/guardian.sh index b7e7f4f..cf71d89 100755 --- a/ct/guardian.sh +++ b/ct/guardian.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/gwn-manager.sh b/ct/gwn-manager.sh index 6fecabe..5f9d443 100644 --- a/ct/gwn-manager.sh +++ b/ct/gwn-manager.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/headscale.sh b/ct/headscale.sh index cf29812..291e9e8 100644 --- a/ct/headscale.sh +++ b/ct/headscale.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/healthchecks.sh b/ct/healthchecks.sh index 49a41f4..dab964f 100644 --- a/ct/healthchecks.sh +++ b/ct/healthchecks.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/heimdall-dashboard.sh b/ct/heimdall-dashboard.sh index b8bb1b4..50cf9f3 100644 --- a/ct/heimdall-dashboard.sh +++ b/ct/heimdall-dashboard.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/hev-socks5-server.sh b/ct/hev-socks5-server.sh index 1f785ca..3084160 100644 --- a/ct/hev-socks5-server.sh +++ b/ct/hev-socks5-server.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/hister.sh b/ct/hister.sh index 9be6053..e8da99a 100644 --- a/ct/hister.sh +++ b/ct/hister.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/hivemq.sh b/ct/hivemq.sh index 4ba197b..620e917 100644 --- a/ct/hivemq.sh +++ b/ct/hivemq.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/homarr.sh b/ct/homarr.sh index c2483bb..7ac9a45 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/homeassistant.sh b/ct/homeassistant.sh index 1f0bd8b..fc070dc 100644 --- a/ct/homeassistant.sh +++ b/ct/homeassistant.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/homebox.sh b/ct/homebox.sh index 65967db..e57ec25 100644 --- a/ct/homebox.sh +++ b/ct/homebox.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/homebridge.sh b/ct/homebridge.sh index acbd170..0cbc249 100644 --- a/ct/homebridge.sh +++ b/ct/homebridge.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/homelable.sh b/ct/homelable.sh index ef8b6c3..042f473 100644 --- a/ct/homelable.sh +++ b/ct/homelable.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/homepage.sh b/ct/homepage.sh index 1888853..dd22d44 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck @@ -82,6 +79,10 @@ EOF rm /opt/homepage/env.bak chmod 600 /opt/homepage/.env fi + if ! grep -q '^Environment=CI=true' /etc/systemd/system/homepage.service; then + sed -i '/^ExecStart=/i Environment=CI=true' /etc/systemd/system/homepage.service + systemctl daemon-reload + fi msg_ok "Updated Homepage" msg_info "Starting service" diff --git a/ct/homer.sh b/ct/homer.sh index 3b036db..0ecf974 100644 --- a/ct/homer.sh +++ b/ct/homer.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/hoodik.sh b/ct/hoodik.sh index c693205..1447880 100644 --- a/ct/hoodik.sh +++ b/ct/hoodik.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/hortusfox.sh b/ct/hortusfox.sh index a9bbac5..102dad0 100644 --- a/ct/hortusfox.sh +++ b/ct/hortusfox.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/hyperhdr.sh b/ct/hyperhdr.sh index bfa0a98..7e93754 100644 --- a/ct/hyperhdr.sh +++ b/ct/hyperhdr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/hyperion.sh b/ct/hyperion.sh index e9fc8a8..6a68b21 100644 --- a/ct/hyperion.sh +++ b/ct/hyperion.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/ignis.sh b/ct/ignis.sh index 344f841..54828c0 100644 --- a/ct/ignis.sh +++ b/ct/ignis.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/igotify.sh b/ct/igotify.sh index f240d92..aa91f57 100644 --- a/ct/igotify.sh +++ b/ct/igotify.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/immich.sh b/ct/immich.sh index 2c2e6e4..35edebd 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -117,7 +117,7 @@ EOF if [[ $(cat ~/.immich) > "2.5.1" ]]; then msg_info "Enabling Maintenance Mode" cd /opt/immich/app/bin - $STD ./immich-admin enable-maintenance-mode + $STD ./immich-admin enable-maintenance-mode || true export MAINT_MODE=1 $STD cd - msg_ok "Enabled Maintenance Mode" diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 89c38d3..7cb5ab5 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/infisical.sh b/ct/infisical.sh index db82950..71c04f9 100644 --- a/ct/infisical.sh +++ b/ct/infisical.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/influxdb.sh b/ct/influxdb.sh index 4fbed8b..083e64f 100644 --- a/ct/influxdb.sh +++ b/ct/influxdb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/inspircd.sh b/ct/inspircd.sh index 5314dd7..6550ae2 100644 --- a/ct/inspircd.sh +++ b/ct/inspircd.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/inventree.sh b/ct/inventree.sh index acee17c..c7dbb69 100644 --- a/ct/inventree.sh +++ b/ct/inventree.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/investbrain.sh b/ct/investbrain.sh index d839e00..183595c 100644 --- a/ct/investbrain.sh +++ b/ct/investbrain.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/invidious.sh b/ct/invidious.sh index 5c0009b..452413b 100644 --- a/ct/invidious.sh +++ b/ct/invidious.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/invoiceninja.sh b/ct/invoiceninja.sh index 55bd386..34194eb 100644 --- a/ct/invoiceninja.sh +++ b/ct/invoiceninja.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/invoiceshelf.sh b/ct/invoiceshelf.sh index a1e37a1..01ebe46 100644 --- a/ct/invoiceshelf.sh +++ b/ct/invoiceshelf.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/iobroker.sh b/ct/iobroker.sh index 756fe19..9397669 100644 --- a/ct/iobroker.sh +++ b/ct/iobroker.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/isponsorblocktv.sh b/ct/isponsorblocktv.sh index daafc56..ee663d9 100644 --- a/ct/isponsorblocktv.sh +++ b/ct/isponsorblocktv.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/itsm-ng.sh b/ct/itsm-ng.sh index 2edcbbb..2c82630 100644 --- a/ct/itsm-ng.sh +++ b/ct/itsm-ng.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/iventoy.sh b/ct/iventoy.sh index 41b4a69..f93fc3f 100644 --- a/ct/iventoy.sh +++ b/ct/iventoy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/jackett.sh b/ct/jackett.sh index fd6aedb..260b9b6 100644 --- a/ct/jackett.sh +++ b/ct/jackett.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/jellyfin.sh b/ct/jellyfin.sh index a123dfe..7d131bb 100644 --- a/ct/jellyfin.sh +++ b/ct/jellyfin.sh @@ -49,11 +49,13 @@ function update_script() { fi msg_info "Setting up Jellyfin Repository" + JELLYFIN_REPO_URL="https://repo.jellyfin.org/$(get_os_info id)" + JELLYFIN_SUITE="$(get_fallback_suite "$(get_os_info id)" "$(get_os_info codename)" "$JELLYFIN_REPO_URL")" setup_deb822_repo \ "jellyfin" \ "https://repo.jellyfin.org/jellyfin_team.gpg.key" \ - "https://repo.jellyfin.org/$(get_os_info id)" \ - "$(get_os_info codename)" + "$JELLYFIN_REPO_URL" \ + "$JELLYFIN_SUITE" msg_ok "Set up Jellyfin Repository" msg_info "Updating Jellyfin" diff --git a/ct/jellyseerr.sh b/ct/jellyseerr.sh index 09f1e14..5daf31d 100644 --- a/ct/jellyseerr.sh +++ b/ct/jellyseerr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/jenkins.sh b/ct/jenkins.sh index 216233b..76da671 100644 --- a/ct/jenkins.sh +++ b/ct/jenkins.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/jitsi-meet.sh b/ct/jitsi-meet.sh index 736886c..972de81 100644 --- a/ct/jitsi-meet.sh +++ b/ct/jitsi-meet.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/joplin-server.sh b/ct/joplin-server.sh index ee0ee24..318001a 100644 --- a/ct/joplin-server.sh +++ b/ct/joplin-server.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/jotty.sh b/ct/jotty.sh index 5f65f95..905b5ef 100644 --- a/ct/jotty.sh +++ b/ct/jotty.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/jupyternotebook.sh b/ct/jupyternotebook.sh index b56596d..7213d68 100644 --- a/ct/jupyternotebook.sh +++ b/ct/jupyternotebook.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/kan.sh b/ct/kan.sh index d6d37e2..1d088db 100644 --- a/ct/kan.sh +++ b/ct/kan.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/kapowarr.sh b/ct/kapowarr.sh index b428996..eeb6865 100644 --- a/ct/kapowarr.sh +++ b/ct/kapowarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/karakeep.sh b/ct/karakeep.sh index 7d15354..819b8b1 100644 --- a/ct/karakeep.sh +++ b/ct/karakeep.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/kasm.sh b/ct/kasm.sh index bb444bb..8ba4162 100644 --- a/ct/kasm.sh +++ b/ct/kasm.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/kavita.sh b/ct/kavita.sh index 2a55f79..72262d4 100644 --- a/ct/kavita.sh +++ b/ct/kavita.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/keycloak.sh b/ct/keycloak.sh index 05cd7c6..75f9a41 100644 --- a/ct/keycloak.sh +++ b/ct/keycloak.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/kima-hub.sh b/ct/kima-hub.sh index 8520cd3..99676af 100644 --- a/ct/kima-hub.sh +++ b/ct/kima-hub.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -35,7 +32,7 @@ function update_script() { exit fi - NODE_VERSION="22" setup_nodejs + NODE_VERSION="24" setup_nodejs if check_for_gh_release "kima-hub" "Chevron7Locked/kima-hub"; then msg_info "Stopping Services" diff --git a/ct/kimai.sh b/ct/kimai.sh index 45a65dd..624c8f5 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/kitchenowl.sh b/ct/kitchenowl.sh index 3361677..9fbe6d3 100644 --- a/ct/kitchenowl.sh +++ b/ct/kitchenowl.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/kiwix.sh b/ct/kiwix.sh index 52ece66..1ba5df3 100644 --- a/ct/kiwix.sh +++ b/ct/kiwix.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/koel.sh b/ct/koel.sh index 198ad50..6bd6423 100644 --- a/ct/koel.sh +++ b/ct/koel.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/koffan.sh b/ct/koffan.sh index f3ff9c3..6b3e9b4 100644 --- a/ct/koffan.sh +++ b/ct/koffan.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/koillection.sh b/ct/koillection.sh index 43196e4..b5d59af 100644 --- a/ct/koillection.sh +++ b/ct/koillection.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/kometa.sh b/ct/kometa.sh index e5d45f2..d8e6bff 100644 --- a/ct/kometa.sh +++ b/ct/kometa.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/komga.sh b/ct/komga.sh index e4970b8..8fcbd16 100644 --- a/ct/komga.sh +++ b/ct/komga.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/komodo.sh b/ct/komodo.sh index e892681..ab31a4b 100644 --- a/ct/komodo.sh +++ b/ct/komodo.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/kubo.sh b/ct/kubo.sh index 725907f..372b476 100644 --- a/ct/kubo.sh +++ b/ct/kubo.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/kutt.sh b/ct/kutt.sh index b53ecaa..0882133 100644 --- a/ct/kutt.sh +++ b/ct/kutt.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/languagetool.sh b/ct/languagetool.sh index 0aff3a4..bc83f01 100644 --- a/ct/languagetool.sh +++ b/ct/languagetool.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/lazylibrarian.sh b/ct/lazylibrarian.sh index 58e0cb8..a81847e 100644 --- a/ct/lazylibrarian.sh +++ b/ct/lazylibrarian.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/leafwiki.sh b/ct/leafwiki.sh index c35e521..ecf5b13 100644 --- a/ct/leafwiki.sh +++ b/ct/leafwiki.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/leantime.sh b/ct/leantime.sh index ba29074..050d1d6 100644 --- a/ct/leantime.sh +++ b/ct/leantime.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/librechat.sh b/ct/librechat.sh index 84146ab..5eab5e9 100644 --- a/ct/librechat.sh +++ b/ct/librechat.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/librenms.sh b/ct/librenms.sh index d315e68..3f0d517 100644 --- a/ct/librenms.sh +++ b/ct/librenms.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/librespeed-rust.sh b/ct/librespeed-rust.sh index e503fc8..8f6c3cc 100644 --- a/ct/librespeed-rust.sh +++ b/ct/librespeed-rust.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/libretranslate.sh b/ct/libretranslate.sh index 16dafb6..82a78f4 100644 --- a/ct/libretranslate.sh +++ b/ct/libretranslate.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/lidarr.sh b/ct/lidarr.sh index 29b889f..131f7f5 100644 --- a/ct/lidarr.sh +++ b/ct/lidarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/limesurvey.sh b/ct/limesurvey.sh index 1172742..cbe7735 100644 --- a/ct/limesurvey.sh +++ b/ct/limesurvey.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -33,6 +30,13 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi + if [[ ! -L /etc/apache2/mods-enabled/rewrite.load ]]; then + msg_info "Enabling Apache mod_rewrite" + $STD a2enmod rewrite + systemctl restart apache2 + msg_ok "Enabled Apache mod_rewrite" + fi + setup_mariadb msg_warn "Application is updated via Web Interface" diff --git a/ct/linkding.sh b/ct/linkding.sh index 57f528d..37beac9 100644 --- a/ct/linkding.sh +++ b/ct/linkding.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/linkstack.sh b/ct/linkstack.sh index b8720e2..0770fe1 100644 --- a/ct/linkstack.sh +++ b/ct/linkstack.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/linkwarden.sh b/ct/linkwarden.sh index 96a8bd0..4121fde 100644 --- a/ct/linkwarden.sh +++ b/ct/linkwarden.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/listmonk.sh b/ct/listmonk.sh index 6a1f684..b61fe47 100644 --- a/ct/listmonk.sh +++ b/ct/listmonk.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/litellm.sh b/ct/litellm.sh index 036ebc9..e3e6505 100644 --- a/ct/litellm.sh +++ b/ct/litellm.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/livebook.sh b/ct/livebook.sh index fdf37fe..8ebc529 100755 --- a/ct/livebook.sh +++ b/ct/livebook.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/lldap.sh b/ct/lldap.sh index faf05de..dcba099 100644 --- a/ct/lldap.sh +++ b/ct/lldap.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/lobehub.sh b/ct/lobehub.sh index c7b6556..9bceec0 100644 --- a/ct/lobehub.sh +++ b/ct/lobehub.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/localagi.sh b/ct/localagi.sh index b49ae8e..7d62d46 100644 --- a/ct/localagi.sh +++ b/ct/localagi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/lubelogger.sh b/ct/lubelogger.sh index fb1bcc9..eda799c 100644 --- a/ct/lubelogger.sh +++ b/ct/lubelogger.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/lychee.sh b/ct/lychee.sh index e37f580..3b6ca42 100644 --- a/ct/lychee.sh +++ b/ct/lychee.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/lyrionmusicserver.sh b/ct/lyrionmusicserver.sh index c4dd30c..9366cbe 100644 --- a/ct/lyrionmusicserver.sh +++ b/ct/lyrionmusicserver.sh @@ -1,9 +1,6 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mafl.sh b/ct/mafl.sh index 4ef8ee1..c78e3b4 100644 --- a/ct/mafl.sh +++ b/ct/mafl.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/magicmirror.sh b/ct/magicmirror.sh index 387c1bc..4c49b6e 100644 --- a/ct/magicmirror.sh +++ b/ct/magicmirror.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/mail-archiver.sh b/ct/mail-archiver.sh index 6aff220..5576f93 100644 --- a/ct/mail-archiver.sh +++ b/ct/mail-archiver.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mailpit.sh b/ct/mailpit.sh new file mode 100644 index 0000000..abaa461 --- /dev/null +++ b/ct/mailpit.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://mailpit.axllent.org/ + +APP="Mailpit" +var_tags="${var_tags:-smtp;email;testing;development}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-2}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -f /opt/mailpit/mailpit ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "mailpit" "axllent/mailpit"; then + msg_info "Stopping Service" + systemctl stop mailpit + msg_ok "Stopped Service" + + create_backup /opt/mailpit/.env \ + /opt/mailpit/data + + fetch_and_deploy_gh_release "mailpit" "axllent/mailpit" "prebuild" "latest" "/opt/mailpit" "mailpit-linux-$(arch_resolve).tar.gz" + + restore_backup + + msg_info "Starting Service" + systemctl start mailpit + msg_ok "Started Service" + msg_ok "Updated successfully!" + 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 "${GATEWAY}${BGN}http://${IP}:8025${CL}" diff --git a/ct/maintainerr.sh b/ct/maintainerr.sh index 99da1f0..873b40b 100644 --- a/ct/maintainerr.sh +++ b/ct/maintainerr.sh @@ -40,6 +40,7 @@ function update_script() { create_backup /opt/data /opt/maintainerr/.env CLEAN_INSTALL=1 fetch_and_deploy_gh_release "maintainerr" "Maintainerr/Maintainerr" "tarball" "latest" "/opt/maintainerr" restore_backup + NODE_VERSION="26" setup_nodejs msg_info "Rebuilding Maintainerr (Patience)" cd /opt/maintainerr diff --git a/ct/managemydamnlife.sh b/ct/managemydamnlife.sh index 2dd1a6c..32c6006 100644 --- a/ct/managemydamnlife.sh +++ b/ct/managemydamnlife.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/manyfold.sh b/ct/manyfold.sh index cf80c41..67c8265 100644 --- a/ct/manyfold.sh +++ b/ct/manyfold.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mastodon.sh b/ct/mastodon.sh index 1722add..5978e1a 100644 --- a/ct/mastodon.sh +++ b/ct/mastodon.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -45,6 +42,7 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "mastodon" "mastodon/mastodon" "tarball" sed -i "s/config.force_ssl = true/config.force_ssl = ENV.fetch('LOCAL_HTTPS', 'false') == 'true'/" /opt/mastodon/config/environments/production.rb sed -i "s/https = Rails.env.production? || ENV\['LOCAL_HTTPS'\] == 'true'/https = ENV.fetch('LOCAL_HTTPS', 'false') == 'true'/" /opt/mastodon/config/initializers/1_hosts.rb + RUBY_VERSION="$(cat /opt/mastodon/.ruby-version)" RUBY_INSTALL_RAILS="false" setup_ruby msg_info "Installing Ruby Dependencies" cd /opt/mastodon diff --git a/ct/matomo.sh b/ct/matomo.sh index f2ba4e0..ebc1d03 100644 --- a/ct/matomo.sh +++ b/ct/matomo.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/matter-server.sh b/ct/matter-server.sh index 89d3967..9408d3d 100644 --- a/ct/matter-server.sh +++ b/ct/matter-server.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/matterbridge.sh b/ct/matterbridge.sh index 6bdf0bd..b60b83d 100644 --- a/ct/matterbridge.sh +++ b/ct/matterbridge.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/matterjs-server.sh b/ct/matterjs-server.sh index 9d0fbff..b299bfe 100644 --- a/ct/matterjs-server.sh +++ b/ct/matterjs-server.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mattermost.sh b/ct/mattermost.sh index 9e22a01..4d705bf 100644 --- a/ct/mattermost.sh +++ b/ct/mattermost.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mealie.sh b/ct/mealie.sh index 4d3f6d5..238994f 100644 --- a/ct/mealie.sh +++ b/ct/mealie.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -36,7 +33,6 @@ function update_script() { fi if check_for_gh_release "mealie" "mealie-recipes/mealie"; then PYTHON_VERSION="3.12" setup_uv - NODE_MODULE="yarn" NODE_VERSION="24" setup_nodejs msg_info "Stopping Service" systemctl stop mealie @@ -70,6 +66,14 @@ STARTEOF $STD uv sync --frozen --extra pgsql msg_ok "Installed Python Dependencies" + if [[ -f /opt/mealie/frontend/pnpm-lock.yaml ]]; then + FRONTEND_PKG="pnpm" + NODE_MODULE="pnpm@11" NODE_VERSION="24" setup_nodejs + else + FRONTEND_PKG="yarn" + NODE_MODULE="yarn" NODE_VERSION="24" setup_nodejs + fi + msg_info "Building Frontend" MEALIE_VERSION=$(<$HOME/.mealie) SITE_SETTINGS=$(find /opt/mealie/frontend -name "site-settings.vue" -path "*/admin/*" | head -1) @@ -78,14 +82,28 @@ STARTEOF $STD sed -i "s|value: data.production ? i18n.t(\"about.production\") : i18n.t(\"about.development\"),|value: \"bare-metal\",|g" "$SITE_SETTINGS" export NUXT_TELEMETRY_DISABLED=1 cd /opt/mealie/frontend - $STD yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 - $STD yarn generate - $STD yarn cache clean + if [[ "${FRONTEND_PKG}" == "pnpm" ]]; then + $STD pnpm install --prefer-offline --frozen-lockfile + $STD pnpm generate + $STD pnpm store prune + else + $STD yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 + $STD yarn generate + $STD yarn cache clean + fi msg_ok "Built Frontend" msg_info "Copying Built Frontend" + if [[ -n "$(ls -A /opt/mealie/frontend/.output/public 2>/dev/null)" ]]; then + FRONTEND_SRC="/opt/mealie/frontend/.output/public" + elif [[ -n "$(ls -A /opt/mealie/frontend/dist 2>/dev/null)" ]]; then + FRONTEND_SRC="/opt/mealie/frontend/dist" + else + msg_error "Frontend build output not found" + exit + fi mkdir -p /opt/mealie/mealie/frontend - cp -r /opt/mealie/frontend/dist/* /opt/mealie/mealie/frontend/ + cp -r "${FRONTEND_SRC}/." /opt/mealie/mealie/frontend/ msg_ok "Copied Frontend" setup_nltk "averaged_perceptron_tagger_eng" "/nltk_data" diff --git a/ct/mediamanager.sh b/ct/mediamanager.sh index 246f324..ace0d8f 100644 --- a/ct/mediamanager.sh +++ b/ct/mediamanager.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mediamtx.sh b/ct/mediamtx.sh index 816db5d..d89f5c3 100644 --- a/ct/mediamtx.sh +++ b/ct/mediamtx.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/medusa.sh b/ct/medusa.sh index e742501..ce61af6 100644 --- a/ct/medusa.sh +++ b/ct/medusa.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/meilisearch.sh b/ct/meilisearch.sh index 4a9b905..7497803 100644 --- a/ct/meilisearch.sh +++ b/ct/meilisearch.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/memos.sh b/ct/memos.sh index da7a252..a8a2e13 100644 --- a/ct/memos.sh +++ b/ct/memos.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/meshcentral.sh b/ct/meshcentral.sh index 4f09958..1c5d662 100644 --- a/ct/meshcentral.sh +++ b/ct/meshcentral.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/metabase.sh b/ct/metabase.sh index ed8c9a0..5b22d17 100644 --- a/ct/metabase.sh +++ b/ct/metabase.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/metube.sh b/ct/metube.sh index 631bc6a..603bb5b 100644 --- a/ct/metube.sh +++ b/ct/metube.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/minarca.sh b/ct/minarca.sh index 8a5401e..63ee844 100644 --- a/ct/minarca.sh +++ b/ct/minarca.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mini-qr.sh b/ct/mini-qr.sh index a2a3750..ad4dbb9 100644 --- a/ct/mini-qr.sh +++ b/ct/mini-qr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/miniflux.sh b/ct/miniflux.sh index b8541c3..5d6fcbb 100644 --- a/ct/miniflux.sh +++ b/ct/miniflux.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/minio.sh b/ct/minio.sh index 60e3d97..5a5cf1b 100644 --- a/ct/minio.sh +++ b/ct/minio.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/minthcm.sh b/ct/minthcm.sh index 08ba52f..0d2ed9a 100644 --- a/ct/minthcm.sh +++ b/ct/minthcm.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mongodb.sh b/ct/mongodb.sh index cf8165f..daea549 100644 --- a/ct/mongodb.sh +++ b/ct/mongodb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/monica.sh b/ct/monica.sh index 186a1ac..37da05d 100644 --- a/ct/monica.sh +++ b/ct/monica.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/motioneye.sh b/ct/motioneye.sh index 317136b..fd9b030 100644 --- a/ct/motioneye.sh +++ b/ct/motioneye.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/mqtt.sh b/ct/mqtt.sh index 9cc9b02..c2b1233 100644 --- a/ct/mqtt.sh +++ b/ct/mqtt.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/mumble.sh b/ct/mumble.sh index 8ea1f82..b06de99 100644 --- a/ct/mumble.sh +++ b/ct/mumble.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/musicseerr.sh b/ct/musicseerr.sh index 7e48992..845b8f3 100644 --- a/ct/musicseerr.sh +++ b/ct/musicseerr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/myip.sh b/ct/myip.sh index 53951d2..8a88fb6 100644 --- a/ct/myip.sh +++ b/ct/myip.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/mylar3.sh b/ct/mylar3.sh index 0d4d160..715b2a7 100644 --- a/ct/mylar3.sh +++ b/ct/mylar3.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/myspeed.sh b/ct/myspeed.sh index 8f7e80b..be478ea 100644 --- a/ct/myspeed.sh +++ b/ct/myspeed.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/mysql.sh b/ct/mysql.sh index eb47787..a6db63b 100644 --- a/ct/mysql.sh +++ b/ct/mysql.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/nagios.sh b/ct/nagios.sh index 558626e..2b93809 100644 --- a/ct/nagios.sh +++ b/ct/nagios.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nametag.sh b/ct/nametag.sh index 5fdcd97..013bdd9 100644 --- a/ct/nametag.sh +++ b/ct/nametag.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/navidrome.sh b/ct/navidrome.sh index 62bc863..59a97ac 100644 --- a/ct/navidrome.sh +++ b/ct/navidrome.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/neko.sh b/ct/neko.sh index 5ba5111..25da837 100644 --- a/ct/neko.sh +++ b/ct/neko.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/neo4j.sh b/ct/neo4j.sh index ae47101..2d33611 100644 --- a/ct/neo4j.sh +++ b/ct/neo4j.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/netbird.sh b/ct/netbird.sh index c98fa22..354fd3c 100644 --- a/ct/netbird.sh +++ b/ct/netbird.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/netboot-xyz.sh b/ct/netboot-xyz.sh index 368372f..2883ce8 100644 --- a/ct/netboot-xyz.sh +++ b/ct/netboot-xyz.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/netbox.sh b/ct/netbox.sh index 34442d2..32732a5 100644 --- a/ct/netbox.sh +++ b/ct/netbox.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/netvisor.sh b/ct/netvisor.sh index 2e83e10..2727daa 100644 --- a/ct/netvisor.sh +++ b/ct/netvisor.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/networkoptimizer.sh b/ct/networkoptimizer.sh index fac5826..19c66f7 100644 --- a/ct/networkoptimizer.sh +++ b/ct/networkoptimizer.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/newt.sh b/ct/newt.sh index 1a5517f..e897c29 100644 --- a/ct/newt.sh +++ b/ct/newt.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nextcloudpi.sh b/ct/nextcloudpi.sh index 406d950..264abd2 100644 --- a/ct/nextcloudpi.sh +++ b/ct/nextcloudpi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/nexterm.sh b/ct/nexterm.sh index 14530f9..5d60cd8 100644 --- a/ct/nexterm.sh +++ b/ct/nexterm.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nextexplorer.sh b/ct/nextexplorer.sh index fe1b9e3..f036921 100644 --- a/ct/nextexplorer.sh +++ b/ct/nextexplorer.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/nextpvr.sh b/ct/nextpvr.sh index c886ac6..a257322 100644 --- a/ct/nextpvr.sh +++ b/ct/nextpvr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nezha.sh b/ct/nezha.sh index ba2181e..0bdd783 100644 --- a/ct/nezha.sh +++ b/ct/nezha.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nginx-ui.sh b/ct/nginx-ui.sh index e10034d..0ef9fa6 100644 --- a/ct/nginx-ui.sh +++ b/ct/nginx-ui.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nightscout.sh b/ct/nightscout.sh index 17a5688..f88e7fc 100644 --- a/ct/nightscout.sh +++ b/ct/nightscout.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/node-red.sh b/ct/node-red.sh index 0814238..32610fe 100644 --- a/ct/node-red.sh +++ b/ct/node-red.sh @@ -49,7 +49,7 @@ update_deb_based() { msg_ok "Stopped Service" msg_info "Updating Node-Red" - $STD npm install -g --unsafe-perm node-red + $STD npm install -g node-red msg_ok "Updated Node-Red" msg_info "Starting Service" @@ -106,7 +106,7 @@ update_alpine() { msg_ok "Updated Node.js and npm" msg_info "Updating Node-RED" - $STD npm install -g --unsafe-perm node-red + $STD npm install -g node-red msg_ok "Updated Node-RED" msg_info "Restarting Node-RED" diff --git a/ct/nodebb.sh b/ct/nodebb.sh index 6307079..8604dc4 100644 --- a/ct/nodebb.sh +++ b/ct/nodebb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nodecast-tv.sh b/ct/nodecast-tv.sh index 90f3507..5c4952e 100644 --- a/ct/nodecast-tv.sh +++ b/ct/nodecast-tv.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/notediscovery.sh b/ct/notediscovery.sh index 1007180..1d46f6e 100644 --- a/ct/notediscovery.sh +++ b/ct/notediscovery.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/notifiarr.sh b/ct/notifiarr.sh index d44af95..0a197d4 100644 --- a/ct/notifiarr.sh +++ b/ct/notifiarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/npmplus.sh b/ct/npmplus.sh index 89bb3d3..5202570 100644 --- a/ct/npmplus.sh +++ b/ct/npmplus.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/ntopng.sh b/ct/ntopng.sh index 172e32b..8db5452 100644 --- a/ct/ntopng.sh +++ b/ct/ntopng.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nxwitness.sh b/ct/nxwitness.sh index d836e3d..eaf1b7f 100644 --- a/ct/nxwitness.sh +++ b/ct/nxwitness.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/nzbget.sh b/ct/nzbget.sh index a44abae..2c0ea10 100644 --- a/ct/nzbget.sh +++ b/ct/nzbget.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/oauth2-proxy.sh b/ct/oauth2-proxy.sh index 0a7d6c0..1a7a6c3 100644 --- a/ct/oauth2-proxy.sh +++ b/ct/oauth2-proxy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/obsidian-livesync.sh b/ct/obsidian-livesync.sh index b7a14ec..d8819ad 100644 --- a/ct/obsidian-livesync.sh +++ b/ct/obsidian-livesync.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/octoprint.sh b/ct/octoprint.sh index b7e2f77..b1290fa 100644 --- a/ct/octoprint.sh +++ b/ct/octoprint.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/odoo.sh b/ct/odoo.sh index 3fc48ef..440cb94 100644 --- a/ct/odoo.sh +++ b/ct/odoo.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/omada.sh b/ct/omada.sh index eeb0937..78571ec 100644 --- a/ct/omada.sh +++ b/ct/omada.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/ombi.sh b/ct/ombi.sh index 5336294..7956d01 100644 --- a/ct/ombi.sh +++ b/ct/ombi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/omniroute.sh b/ct/omniroute.sh index c9278e9..e129703 100644 --- a/ct/omniroute.sh +++ b/ct/omniroute.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/omnitools.sh b/ct/omnitools.sh index 5873b98..5bead69 100755 --- a/ct/omnitools.sh +++ b/ct/omnitools.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/omv.sh b/ct/omv.sh index b8b021c..a6c3350 100644 --- a/ct/omv.sh +++ b/ct/omv.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck @@ -33,6 +30,14 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi + + if grep -q "packages.openmediavault.org" /etc/apt/sources.list.d/openmediavault.list; then + msg_info "Migrating OpenMediaVault package repository" + curl -fsSL "https://openmediavault.github.io/packages/archive.key" | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg" + sed -i 's#https\?://packages.openmediavault.org/public#https://openmediavault.github.io/packages#' /etc/apt/sources.list.d/openmediavault.list + msg_ok "Migrated OpenMediaVault package repository" + fi + msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade diff --git a/ct/onedev.sh b/ct/onedev.sh index 3ec53e3..2a51f65 100644 --- a/ct/onedev.sh +++ b/ct/onedev.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/onlyoffice.sh b/ct/onlyoffice.sh index f5f3d47..b45f032 100644 --- a/ct/onlyoffice.sh +++ b/ct/onlyoffice.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/open-archiver.sh b/ct/open-archiver.sh index fe7facc..4a29232 100644 --- a/ct/open-archiver.sh +++ b/ct/open-archiver.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/openbao.sh b/ct/openbao.sh new file mode 100755 index 0000000..71974b9 --- /dev/null +++ b/ct/openbao.sh @@ -0,0 +1,68 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Marc Went (Dunky13) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://openbao.org/ + +APP="OpenBao" +var_tags="${var_tags:-security;secrets}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-1024}" +var_disk="${var_disk:-4}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -f /usr/bin/bao ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "openbao" "openbao/openbao"; then + msg_info "Stopping Service" + systemctl stop openbao + msg_ok "Stopped Service" + + create_backup /etc/openbao + DPKG_FORCE_CONFOLD=1 fetch_and_deploy_gh_release "openbao" "openbao/openbao" "binary" "latest" "/opt/openbao" "openbao_*_linux_$(arch_resolve).deb" + restore_backup + + msg_info "Starting Service" + $STD systemctl daemon-reload + systemctl start openbao + msg_ok "Started Service" + for _ in {1..15}; do + BAO_ADDR=https://127.0.0.1:8200 BAO_SKIP_VERIFY=true bao status -format=json 2>/dev/null | jq -e '.sealed == false' >/dev/null && break + sleep 2 + done + if ! BAO_ADDR=https://127.0.0.1:8200 BAO_SKIP_VERIFY=true bao status -format=json 2>/dev/null | jq -e '.sealed == false' >/dev/null; then + msg_error "OpenBao did not unseal within 30 seconds" + exit 1 + fi + msg_ok "Updated successfully!" + 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}https://${IP}:8200${CL}" diff --git a/ct/opencloud.sh b/ct/opencloud.sh index b502c22..ef522ff 100644 --- a/ct/opencloud.sh +++ b/ct/opencloud.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/openeuler.sh b/ct/openeuler.sh new file mode 100644 index 0000000..9bd3d55 --- /dev/null +++ b/ct/openeuler.sh @@ -0,0 +1,46 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.openeuler.org/ + +APP="openEuler" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-openeuler}" +var_version="${var_version:-25.03}" +#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified +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 /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating OpenEuler LXC" + $STD dnf -y upgrade + msg_ok "Updated OpenEuler LXC" + msg_ok "Updated successfully!" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/opengist.sh b/ct/opengist.sh index ad1aec5..cf7ff6d 100644 --- a/ct/opengist.sh +++ b/ct/opengist.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -38,15 +35,11 @@ function update_script() { systemctl stop opengist msg_ok "Stopped Service" - msg_info "Creating backup" - mv /opt/opengist /opt/opengist-backup - msg_ok "Backup created" + create_backup /opt/opengist/config.yml - fetch_and_deploy_gh_release "opengist" "thomiceli/opengist" "prebuild" "latest" "/opt/opengist" "opengist*linux-$(arch_resolve).tar.gz" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "opengist" "thomiceli/opengist" "prebuild" "latest" "/opt/opengist" "opengist*linux-$(arch_resolve).tar.gz" - msg_info "Restoring Configuration" - mv /opt/opengist-backup/config.yml /opt/opengist/config.yml - msg_ok "Configuration Restored" + restore_backup msg_info "Starting Service" systemctl start opengist diff --git a/ct/openhab.sh b/ct/openhab.sh index a8ac8f3..bb3fcc4 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/openobserve.sh b/ct/openobserve.sh index ef73e55..d9a0172 100644 --- a/ct/openobserve.sh +++ b/ct/openobserve.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/openproject.sh b/ct/openproject.sh index 263685f..8509f28 100644 --- a/ct/openproject.sh +++ b/ct/openproject.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/opensuse.sh b/ct/opensuse.sh new file mode 100644 index 0000000..3bedbf5 --- /dev/null +++ b/ct/opensuse.sh @@ -0,0 +1,46 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.opensuse.org/ + +APP="openSUSE" +var_tags="${var_tags:-os}" +var_cpu="${var_cpu:-1}" +var_ram="${var_ram:-512}" +var_disk="${var_disk:-4}" +var_os="${var_os:-opensuse}" +var_version="${var_version:-16.0}" +#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified +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 /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating OpenSUSE LXC" + $STD zypper -n update + msg_ok "Updated OpenSUSE LXC" + msg_ok "Updated successfully!" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!\n" +msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!" diff --git a/ct/openthread-br.sh b/ct/openthread-br.sh index 572621b..bfc357f 100644 --- a/ct/openthread-br.sh +++ b/ct/openthread-br.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") @@ -63,7 +60,10 @@ function update_script() { msg_ok "Deployed GitHub release OpenThread-BR (${CHECK_UPDATE_RELEASE#v})" msg_info "Rebuilding OpenThread Border Router (Patience)" - cd /opt/ot-br-posix/build + cd /opt/ot-br-posix + rm -rf build + mkdir build + cd build $STD cmake -GNinja \ -DBUILD_TESTING=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ diff --git a/ct/openwebui.sh b/ct/openwebui.sh index c7e5a73..fdd98c9 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -50,7 +50,11 @@ function update_script() { msg_info "Installing uv-based Open-WebUI" PYTHON_VERSION="3.12" setup_uv - $STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") open-webui[all] + export UV_HTTP_TIMEOUT=300 + for attempt in $(seq 1 3); do + $STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") open-webui[all] && break + [[ $attempt -lt 3 ]] && msg_warn "Open WebUI install attempt $attempt failed, retrying..." && sleep 10 + done msg_ok "Installed uv-based Open-WebUI" msg_info "Restoring data" @@ -123,7 +127,11 @@ EOF OTEL_ARGS+=(--with "$pkg") done < <(uv pip list --python "$OWUI_PYTHON" --format freeze 2>/dev/null | grep -i '^opentelemetry-' | cut -d= -f1) fi - $STD uv tool install --force --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all] + export UV_HTTP_TIMEOUT=300 + for attempt in $(seq 1 3); do + $STD uv tool install --force --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all] && break + [[ $attempt -lt 3 ]] && msg_warn "Open WebUI update attempt $attempt failed, retrying..." && sleep 10 + done systemctl restart open-webui msg_ok "Updated Open WebUI" msg_ok "Updated successfully!" diff --git a/ct/openziti-controller.sh b/ct/openziti-controller.sh index 5d43391..422eed4 100644 --- a/ct/openziti-controller.sh +++ b/ct/openziti-controller.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/openziti-tunnel.sh b/ct/openziti-tunnel.sh index 706cf6d..65faef0 100644 --- a/ct/openziti-tunnel.sh +++ b/ct/openziti-tunnel.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/orb.sh b/ct/orb.sh index 70f22ff..67f029b 100644 --- a/ct/orb.sh +++ b/ct/orb.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/ots.sh b/ct/ots.sh index 759e219..27f988a 100644 --- a/ct/ots.sh +++ b/ct/ots.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/outline.sh b/ct/outline.sh index 24fe145..f6bd3ef 100644 --- a/ct/outline.sh +++ b/ct/outline.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/overseerr.sh b/ct/overseerr.sh index 21755a2..568d778 100644 --- a/ct/overseerr.sh +++ b/ct/overseerr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/owncast.sh b/ct/owncast.sh index eff0fe5..32e4340 100644 --- a/ct/owncast.sh +++ b/ct/owncast.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/ownfoil.sh b/ct/ownfoil.sh index 07be091..8ea272f 100644 --- a/ct/ownfoil.sh +++ b/ct/ownfoil.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/oxicloud.sh b/ct/oxicloud.sh index d0721a6..f8980e3 100644 --- a/ct/oxicloud.sh +++ b/ct/oxicloud.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/pairdrop.sh b/ct/pairdrop.sh index 8330b49..dcaa152 100644 --- a/ct/pairdrop.sh +++ b/ct/pairdrop.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/pangolin.sh b/ct/pangolin.sh index c1e837d..f5ae0de 100644 --- a/ct/pangolin.sh +++ b/ct/pangolin.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/paperclip.sh b/ct/paperclip.sh index 0643862..f79fdfd 100644 --- a/ct/paperclip.sh +++ b/ct/paperclip.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/paperless-ai.sh b/ct/paperless-ai.sh index a5b5904..7d40f76 100644 --- a/ct/paperless-ai.sh +++ b/ct/paperless-ai.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/paperless-gpt.sh b/ct/paperless-gpt.sh index e41a1b0..0e4e57d 100644 --- a/ct/paperless-gpt.sh +++ b/ct/paperless-gpt.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/papra.sh b/ct/papra.sh index f996168..25960bf 100644 --- a/ct/papra.sh +++ b/ct/papra.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/part-db.sh b/ct/part-db.sh index d5e47bd..51de5d1 100644 --- a/ct/part-db.sh +++ b/ct/part-db.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/passbolt.sh b/ct/passbolt.sh index 13d8fb9..e0d08f5 100644 --- a/ct/passbolt.sh +++ b/ct/passbolt.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/passwordpusher.sh b/ct/passwordpusher.sh index 4e2ce53..0f23172 100644 --- a/ct/passwordpusher.sh +++ b/ct/passwordpusher.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/patchmon.sh b/ct/patchmon.sh index b118263..cd647f1 100644 --- a/ct/patchmon.sh +++ b/ct/patchmon.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/paymenter.sh b/ct/paymenter.sh index 2f4ceb2..ae9c663 100644 --- a/ct/paymenter.sh +++ b/ct/paymenter.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/peanut.sh b/ct/peanut.sh index 0681791..a2dba64 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/pegaprox.sh b/ct/pegaprox.sh index 402991a..15e1070 100644 --- a/ct/pegaprox.sh +++ b/ct/pegaprox.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pelican-panel.sh b/ct/pelican-panel.sh index 01a4769..c2c0820 100644 --- a/ct/pelican-panel.sh +++ b/ct/pelican-panel.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pelican-wings.sh b/ct/pelican-wings.sh index 5f7ba96..cfe6d78 100644 --- a/ct/pelican-wings.sh +++ b/ct/pelican-wings.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/photoprism.sh b/ct/photoprism.sh index d58faae..30d4553 100644 --- a/ct/photoprism.sh +++ b/ct/photoprism.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/pialert.sh b/ct/pialert.sh index c50459e..8e68889 100644 --- a/ct/pialert.sh +++ b/ct/pialert.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/pinchflat.sh b/ct/pinchflat.sh index 9cd6e6a..034214d 100644 --- a/ct/pinchflat.sh +++ b/ct/pinchflat.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/plane.sh b/ct/plane.sh index 483e78c..e37b991 100644 --- a/ct/plane.sh +++ b/ct/plane.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/planka.sh b/ct/planka.sh index 9231778..66a5956 100644 --- a/ct/planka.sh +++ b/ct/planka.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -59,6 +56,7 @@ function update_script() { msg_ok "Backed up data" fetch_and_deploy_gh_release "planka" "plankanban/planka" "prebuild" "latest" "/opt/planka" "planka-prebuild.zip" + NODE_VERSION="24" setup_nodejs msg_info "Update Frontend" cd /opt/planka diff --git a/ct/plant-it.sh b/ct/plant-it.sh index 5ea5e07..a77fb0d 100644 --- a/ct/plant-it.sh +++ b/ct/plant-it.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/plex.sh b/ct/plex.sh index 2cf34d2..1bff315 100644 --- a/ct/plex.sh +++ b/ct/plex.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pocketbase.sh b/ct/pocketbase.sh index 6a5168b..1953a0f 100644 --- a/ct/pocketbase.sh +++ b/ct/pocketbase.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/pocketid.sh b/ct/pocketid.sh index 57cbd51..340151f 100755 --- a/ct/pocketid.sh +++ b/ct/pocketid.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/podman-homeassistant.sh b/ct/podman-homeassistant.sh index 9773b5b..00f598d 100644 --- a/ct/podman-homeassistant.sh +++ b/ct/podman-homeassistant.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/podman.sh b/ct/podman.sh index 9a05b0a..68a640e 100644 --- a/ct/podman.sh +++ b/ct/podman.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/postiz.sh b/ct/postiz.sh index 4e881da..9b24a97 100644 --- a/ct/postiz.sh +++ b/ct/postiz.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/powerdns.sh b/ct/powerdns.sh index 50bcf2c..f6710fd 100644 --- a/ct/powerdns.sh +++ b/ct/powerdns.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") diff --git a/ct/poznote.sh b/ct/poznote.sh index c1d17e6..a5c64ce 100644 --- a/ct/poznote.sh +++ b/ct/poznote.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/privatebin.sh b/ct/privatebin.sh index 42ec779..5fa3181 100644 --- a/ct/privatebin.sh +++ b/ct/privatebin.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/profilarr.sh b/ct/profilarr.sh index 89694dd..3a9d899 100644 --- a/ct/profilarr.sh +++ b/ct/profilarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/projectsend.sh b/ct/projectsend.sh index 26bf5ad..3966c8d 100644 --- a/ct/projectsend.sh +++ b/ct/projectsend.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/prometheus-alertmanager.sh b/ct/prometheus-alertmanager.sh index e0737dd..32120dc 100755 --- a/ct/prometheus-alertmanager.sh +++ b/ct/prometheus-alertmanager.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/prometheus-blackbox-exporter.sh b/ct/prometheus-blackbox-exporter.sh index 56e7ce3..d4337e5 100644 --- a/ct/prometheus-blackbox-exporter.sh +++ b/ct/prometheus-blackbox-exporter.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/prometheus-pve-exporter.sh b/ct/prometheus-pve-exporter.sh index da6168b..ccdbe58 100644 --- a/ct/prometheus-pve-exporter.sh +++ b/ct/prometheus-pve-exporter.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/protonmail-bridge.sh b/ct/protonmail-bridge.sh index ba9c5ba..9181fbc 100644 --- a/ct/protonmail-bridge.sh +++ b/ct/protonmail-bridge.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/prowlarr.sh b/ct/prowlarr.sh index f3cfe3a..ce83827 100644 --- a/ct/prowlarr.sh +++ b/ct/prowlarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/proxmox-datacenter-manager.sh b/ct/proxmox-datacenter-manager.sh index eef1f81..e398534 100644 --- a/ct/proxmox-datacenter-manager.sh +++ b/ct/proxmox-datacenter-manager.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/proxmox-mail-gateway.sh b/ct/proxmox-mail-gateway.sh index 1587937..0955bec 100644 --- a/ct/proxmox-mail-gateway.sh +++ b/ct/proxmox-mail-gateway.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/ps5-mqtt.sh b/ct/ps5-mqtt.sh index 1edbab6..ef99b5a 100644 --- a/ct/ps5-mqtt.sh +++ b/ct/ps5-mqtt.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pterodactyl-panel.sh b/ct/pterodactyl-panel.sh index 8895d85..1258579 100644 --- a/ct/pterodactyl-panel.sh +++ b/ct/pterodactyl-panel.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pterodactyl-wings.sh b/ct/pterodactyl-wings.sh index 5aa449a..d59a1a9 100644 --- a/ct/pterodactyl-wings.sh +++ b/ct/pterodactyl-wings.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pulse.sh b/ct/pulse.sh index bbda0d4..3f3119e 100644 --- a/ct/pulse.sh +++ b/ct/pulse.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pve-scripts-local.sh b/ct/pve-scripts-local.sh index 6001e75..94db51f 100644 --- a/ct/pve-scripts-local.sh +++ b/ct/pve-scripts-local.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/pve-ups.sh b/ct/pve-ups.sh index e9503b4..686b728 100644 --- a/ct/pve-ups.sh +++ b/ct/pve-ups.sh @@ -41,7 +41,7 @@ function update_script() { msg_info "Updating Application" cd /opt/pve-usv - $STD uv venv --clear venv + $STD uv venv --clear --seed venv $STD uv pip install --python venv/bin/python . chown -R pveusv:pveusv /opt/pve-usv chmod 0755 deploy/pve-usv-agent.sh diff --git a/ct/qdrant.sh b/ct/qdrant.sh index 3df7e39..0552731 100644 --- a/ct/qdrant.sh +++ b/ct/qdrant.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/qui.sh b/ct/qui.sh index 78cd4df..1250f0a 100644 --- a/ct/qui.sh +++ b/ct/qui.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/rabbitmq.sh b/ct/rabbitmq.sh index 53d0b97..5f1189d 100644 --- a/ct/rabbitmq.sh +++ b/ct/rabbitmq.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/rackula.sh b/ct/rackula.sh index b89e092..6b74000 100755 --- a/ct/rackula.sh +++ b/ct/rackula.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/radarr.sh b/ct/radarr.sh index 062747d..a9ca581 100644 --- a/ct/radarr.sh +++ b/ct/radarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/radicale.sh b/ct/radicale.sh index b300cd9..1ee9e70 100644 --- a/ct/radicale.sh +++ b/ct/radicale.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/rdtclient.sh b/ct/rdtclient.sh index e098220..a2c3fa0 100755 --- a/ct/rdtclient.sh +++ b/ct/rdtclient.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/romm.sh b/ct/romm.sh index f9264dd..bff736d 100644 --- a/ct/romm.sh +++ b/ct/romm.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/sabnzbd.sh b/ct/sabnzbd.sh index be1e758..08cebc7 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/scanopy.sh b/ct/scanopy.sh index 7805508..30ee87b 100644 --- a/ct/scanopy.sh +++ b/ct/scanopy.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/seanime.sh b/ct/seanime.sh new file mode 100644 index 0000000..86bdfdc --- /dev/null +++ b/ct/seanime.sh @@ -0,0 +1,63 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: hasan-ismail +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://seanime.app/ + +APP="Seanime" +var_tags="${var_tags:-media;anime;manga}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +var_unprivileged="${var_unprivileged:-1}" +var_gpu="${var_gpu:-yes}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -d /opt/seanime ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "seanime" "5rahim/seanime"; then + msg_info "Stopping Service" + systemctl stop seanime + msg_ok "Stopped Service" + + create_backup /opt/seanime-data/config.toml + + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "seanime" "5rahim/seanime" "prebuild" "latest" "/opt/seanime" "seanime-[0-9]*_Linux_$(arch_resolve x86_64 arm64).tar.gz" + chmod +x /opt/seanime/seanime + + restore_backup + + msg_info "Starting Service" + systemctl start seanime + msg_ok "Started Service" + msg_ok "Updated successfully!" + 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}:43211${CL}" diff --git a/ct/searxng.sh b/ct/searxng.sh index 61fe74e..0c28da3 100644 --- a/ct/searxng.sh +++ b/ct/searxng.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/seerr.sh b/ct/seerr.sh index eedfb98..b1b7dac 100644 --- a/ct/seerr.sh +++ b/ct/seerr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/shinobi.sh b/ct/shinobi.sh index 061faf7..8d85ecc 100644 --- a/ct/shinobi.sh +++ b/ct/shinobi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/solidinvoice.sh b/ct/solidinvoice.sh new file mode 100644 index 0000000..e6da2a0 --- /dev/null +++ b/ct/solidinvoice.sh @@ -0,0 +1,57 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Pierre du Plessis +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/solidinvoice/solidinvoice + +APP="SolidInvoice" +var_tags="${var_tags:-invoicing;finance;billing}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-4}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -f /usr/bin/solidinvoice ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "solidinvoice" "SolidInvoice/SolidInvoice"; then + msg_info "Stopping Service" + systemctl stop solidinvoice + msg_ok "Stopped Service" + + fetch_and_deploy_gh_release "solidinvoice" "SolidInvoice/SolidInvoice" "singlefile" "latest" "/usr/bin" "solidinvoice-linux-$(arch_resolve)" + + msg_info "Starting Service" + systemctl start solidinvoice + msg_ok "Started Service" + msg_ok "Updated Successfully" + 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 "${GATEWAY}${BGN}http://${IP}:8765${CL}" diff --git a/ct/sonarr.sh b/ct/sonarr.sh index 3320d65..1f799e8 100644 --- a/ct/sonarr.sh +++ b/ct/sonarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/spliit.sh b/ct/spliit.sh index bc90c79..cc2def3 100755 --- a/ct/spliit.sh +++ b/ct/spliit.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -45,6 +42,7 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "spliit" "spliit-app/spliit" "tarball" restore_backup + NODE_VERSION="24" setup_nodejs msg_info "Building Application" cd /opt/spliit diff --git a/ct/sportarr.sh b/ct/sportarr.sh index c6c5da0..69fc166 100644 --- a/ct/sportarr.sh +++ b/ct/sportarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/stalwart.sh b/ct/stalwart.sh index e7d8561..185768a 100644 --- a/ct/stalwart.sh +++ b/ct/stalwart.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index 7ee84d5..be2b558 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/super-productivity.sh b/ct/super-productivity.sh new file mode 100644 index 0000000..caf0075 --- /dev/null +++ b/ct/super-productivity.sh @@ -0,0 +1,66 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://super-productivity.com/ + +APP="Super-Productivity" +var_tags="${var_tags:-productivity;todo}" +var_cpu="${var_cpu:-4}" +var_ram="${var_ram:-6144}" +var_disk="${var_disk:-12}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-no}" +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/super-productivity ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "super-productivity" "super-productivity/super-productivity"; then + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "super-productivity" "super-productivity/super-productivity" "tarball" + + msg_info "Building Web App" + cd /opt/super-productivity + export HUSKY=0 + export UNSPLASH_KEY=DUMMY_UNSPLASH_KEY + export UNSPLASH_CLIENT_ID=DUMMY_UNSPLASH_CLIENT_ID + export NODE_OPTIONS="--max-old-space-size=4096" + $STD git config --global url."https://github.com/".insteadOf ssh://git@github.com/ + $STD npm ci + $STD npm run buildFrontend:prodWeb + msg_ok "Built Web App" + + msg_info "Deploying Web App" + rm -rf /var/www/html/* + cp -r /opt/super-productivity/dist/browser/. /var/www/html/ + systemctl reload nginx + msg_ok "Deployed Web App" + msg_ok "Updated successfully!" + 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 "${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/ct/tdarr.sh b/ct/tdarr.sh index 6b05493..b827428 100644 --- a/ct/tdarr.sh +++ b/ct/tdarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/termix.sh b/ct/termix.sh index 9bce294..ea0a56d 100644 --- a/ct/termix.sh +++ b/ct/termix.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/threadfin.sh b/ct/threadfin.sh index e50e5ba..0ffef48 100644 --- a/ct/threadfin.sh +++ b/ct/threadfin.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/tunarr.sh b/ct/tunarr.sh index 1ccbb8d..600fb98 100644 --- a/ct/tunarr.sh +++ b/ct/tunarr.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/uhf.sh b/ct/uhf.sh index 16b7e86..6fc48ad 100644 --- a/ct/uhf.sh +++ b/ct/uhf.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/unmanic.sh b/ct/unmanic.sh index 5db3a14..f02bc9c 100644 --- a/ct/unmanic.sh +++ b/ct/unmanic.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/vaultwarden.sh b/ct/vaultwarden.sh index fea7e02..40ee7fb 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -64,7 +64,7 @@ update_deb_based() { cd /tmp/vaultwarden-src VW_VERSION="$VAULT" export VW_VERSION - $STD cargo build --features "sqlite,mysql,postgresql" --release + CARGO_BUILD_JOBS="$(get_parallel_jobs)" CARGO_PROFILE_RELEASE_LTO=false CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 $STD cargo build --features "sqlite,mysql,postgresql" --release if [[ -f /usr/bin/vaultwarden ]]; then cp target/release/vaultwarden /usr/bin/ else diff --git a/ct/vikunja.sh b/ct/vikunja.sh index 38c6127..894cbb9 100644 --- a/ct/vikunja.sh +++ b/ct/vikunja.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/watchyourlan.sh b/ct/watchyourlan.sh index 3dee644..177de34 100644 --- a/ct/watchyourlan.sh +++ b/ct/watchyourlan.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 tteck diff --git a/ct/wazuh.sh b/ct/wazuh.sh index 5fd585d..3bb8f42 100644 --- a/ct/wazuh.sh +++ b/ct/wazuh.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/wordpress.sh b/ct/wordpress.sh index 06cbfc9..810f62f 100644 --- a/ct/wordpress.sh +++ b/ct/wordpress.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/ct/yopass.sh b/ct/yopass.sh new file mode 100644 index 0000000..897144d --- /dev/null +++ b/ct/yopass.sh @@ -0,0 +1,65 @@ +#!/usr/bin/env bash +_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/jhaals/yopass + +APP="Yopass" +var_tags="${var_tags:-security;secrets}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified +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/yopass ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "yopass" "jhaals/yopass"; then + msg_info "Stopping Service" + systemctl stop yopass + msg_ok "Stopped Service" + + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "yopass" "jhaals/yopass" "tarball" + + msg_info "Building Yopass" + cd /opt/yopass + $STD go build -ldflags "-X main.version=$(cat ~/.yopass)" ./cmd/yopass-server + cd /opt/yopass/website + $STD yarn install --network-timeout 600000 + $STD yarn build + msg_ok "Built Yopass" + + msg_info "Starting Service" + systemctl start yopass + msg_ok "Started Service" + msg_ok "Updated successfully!" + 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 "${GATEWAY}${BGN}https://${IP}:1337${CL}" diff --git a/ct/yuvomi.sh b/ct/yuvomi.sh index 3262db9..85bd3a9 100644 --- a/ct/yuvomi.sh +++ b/ct/yuvomi.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG @@ -43,6 +40,7 @@ function update_script() { create_backup /opt/yuvomi/data /opt/yuvomi/.env CLEAN_INSTALL=1 fetch_and_deploy_gh_release "yuvomi" "ulsklyc/yuvomi" "tarball" + NODE_VERSION="24" setup_nodejs msg_info "Installing Node.js Dependencies" cd /opt/yuvomi diff --git a/ct/zabbix.sh b/ct/zabbix.sh index 427ac7c..dc265e2 100644 --- a/ct/zabbix.sh +++ b/ct/zabbix.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash _CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/Incus/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. _cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") # Copyright (c) 2021-2026 community-scripts ORG diff --git a/install/almalinux-install.sh b/install/almalinux-install.sh new file mode 100644 index 0000000..0179e32 --- /dev/null +++ b/install/almalinux-install.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://almalinux.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +motd_ssh +customize +cleanup_lxc diff --git a/install/aurral-install.sh b/install/aurral-install.sh new file mode 100644 index 0000000..3344f9a --- /dev/null +++ b/install/aurral-install.sh @@ -0,0 +1,70 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/lklynet/aurral + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt install -y \ + build-essential \ + python3 \ + ffmpeg \ + fontconfig \ + fonts-dejavu-core +msg_ok "Installed Dependencies" + +NODE_VERSION="22" setup_nodejs + +fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "yt-dlp" +fetch_and_deploy_gh_release "aurral" "lklynet/aurral" "tarball" + +msg_info "Building Aurral" +cd /opt/aurral +export VITE_APP_VERSION="$(cat ~/.aurral)" +export VITE_GITHUB_REPO="lklynet/aurral" +export VITE_RELEASE_CHANNEL="stable" +$STD npm ci --workspace frontend --include-workspace-root=false +$STD npm run build --workspace frontend +$STD npm ci --workspace backend --omit=dev --include=optional --include-workspace-root=false +msg_ok "Built Aurral" + +msg_info "Creating Service" +mkdir -p /opt/aurral_data +cat </opt/aurral/aurral.env +NODE_ENV=production +PORT=3001 +AURRAL_DATA_DIR=/opt/aurral_data +APP_VERSION=$(cat ~/.aurral) +EOF +cat </etc/systemd/system/aurral.service +[Unit] +Description=Aurral Service +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/aurral +EnvironmentFile=/opt/aurral/aurral.env +ExecStart=/usr/bin/node backend/server.js +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now aurral +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc diff --git a/install/bambuddy-install.sh b/install/bambuddy-install.sh index f782334..bfb2a05 100644 --- a/install/bambuddy-install.sh +++ b/install/bambuddy-install.sh @@ -52,7 +52,7 @@ After=network.target [Service] Type=simple WorkingDirectory=/opt/bambuddy -ExecStart=/opt/bambuddy/.venv/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 +ExecStart=/opt/bambuddy/.venv/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 --loop asyncio Restart=on-failure RestartSec=5 diff --git a/install/bookorbit-install.sh b/install/bookorbit-install.sh index 275f141..14e574f 100644 --- a/install/bookorbit-install.sh +++ b/install/bookorbit-install.sh @@ -81,6 +81,7 @@ Requires=postgresql.service [Service] Type=simple User=root +TimeoutStartSec=infinity WorkingDirectory=/opt/bookorbit/server EnvironmentFile=/opt/bookorbit/.env ExecStartPre=/usr/bin/node /opt/bookorbit/server/dist/scripts/migrate.js diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index 04bff5e..cfb7c0c 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -42,8 +42,14 @@ $STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir -- $STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir . msg_ok "Installed Python Dependencies" +mkdir -p /opt/calibre-web/data /opt/calibre-web-library +if [[ ! -f /opt/calibre-web-library/metadata.db ]]; then + msg_info "Creating Empty Calibre Library" + $STD calibredb list --with-library /opt/calibre-web-library + msg_ok "Created Empty Calibre Library" +fi + msg_info "Creating Service" -mkdir -p /opt/calibre-web/data cat </etc/systemd/system/calibre-web.service [Unit] Description=Calibre-Web Service @@ -53,8 +59,9 @@ After=network.target Type=simple User=root Environment="QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox" +Environment=HOME=/opt/calibre-web/data WorkingDirectory=/opt/calibre-web -ExecStart=/opt/calibre-web/.venv/bin/cps +ExecStart=/opt/calibre-web/.venv/bin/cps -p /opt/calibre-web/data/app.db Restart=on-failure RestartSec=5 diff --git a/install/centos-install.sh b/install/centos-install.sh new file mode 100644 index 0000000..c637037 --- /dev/null +++ b/install/centos-install.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.centos.org/centos-stream/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +motd_ssh +customize +cleanup_lxc diff --git a/install/defguard-install.sh b/install/defguard-install.sh new file mode 100644 index 0000000..8191800 --- /dev/null +++ b/install/defguard-install.sh @@ -0,0 +1,78 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/DefGuard/defguard + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +PG_VERSION="17" setup_postgresql +PG_DB_NAME="defguard" PG_DB_USER="defguard" setup_postgresql_db + +setup_deb822_repo \ + "defguard" \ + "https://apt.defguard.net/defguard.asc" \ + "https://apt.defguard.net" \ + "$(get_os_info codename)" \ + "release-2.0" + +msg_info "Installing Defguard" +$STD apt install -y defguard +msg_ok "Installed Defguard" + +msg_info "Configuring Defguard" +DEFGUARD_ADMIN_PASSWORD=$(openssl rand -base64 18) +cat </etc/defguard/core.conf +DEFGUARD_DB_HOST=localhost +DEFGUARD_DB_PORT=5432 +DEFGUARD_DB_NAME=defguard +DEFGUARD_DB_USER=defguard +DEFGUARD_DB_PASSWORD=${PG_DB_PASS} + +DEFGUARD_URL=http://${LOCAL_IP}:8000 +DEFGUARD_HTTP_PORT=8000 +DEFGUARD_GRPC_PORT=50055 + +DEFGUARD_DEFAULT_ADMIN_PASSWORD=${DEFGUARD_ADMIN_PASSWORD} +DEFGUARD_COOKIE_INSECURE=true +DEFGUARD_LOG_LEVEL=info +EOF +chown root:defguard /etc/defguard/core.conf +chmod 640 /etc/defguard/core.conf +systemctl restart defguard +msg_ok "Configured Defguard" + +msg_info "Installing Defguard Edge" +$STD apt install -y defguard-proxy +mkdir -p /etc/defguard/certs +cat </etc/defguard/proxy.toml +# Defguard Edge (proxy) configuration +# Apply changes with: systemctl restart defguard-proxy + +# Port the API/enrollment HTTP server listens on +http_port = 8080 +# Port the HTTPS server listens on (used after Core provisions TLS) +https_port = 8443 +# Port the gRPC server listens on. Core connects here to adopt and manage the Edge. +grpc_port = 50051 +# Directory where adoption-provisioned mTLS certificates are stored +cert_dir = "/etc/defguard/certs" + +log_level = "info" +rate_limit_per_second = 0 +rate_limit_burst = 0 +EOF +chown -R defguard:defguard /etc/defguard/certs /etc/defguard/proxy.toml +systemctl enable -q --now defguard-proxy +msg_ok "Installed Defguard Edge" + +motd_ssh +customize +cleanup_lxc diff --git a/install/devuan-install.sh b/install/devuan-install.sh new file mode 100644 index 0000000..8823958 --- /dev/null +++ b/install/devuan-install.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.devuan.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +motd_ssh +customize +cleanup_lxc diff --git a/install/directus-install.sh b/install/directus-install.sh new file mode 100644 index 0000000..16c1f70 --- /dev/null +++ b/install/directus-install.sh @@ -0,0 +1,94 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://directus.com/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt install -y build-essential +msg_ok "Installed Dependencies" + +NODE_VERSION="22" setup_nodejs +PG_VERSION="17" setup_postgresql +PG_DB_NAME="directus" PG_DB_USER="directus" setup_postgresql_db + +msg_info "Installing Directus" +mkdir -p /opt/directus/uploads /opt/directus/extensions +cd /opt/directus +$STD npm init -y +DIRECTUS_VERSION=$(get_latest_github_release "directus/directus") +$STD npm install --omit=dev "directus@${DIRECTUS_VERSION}" +cat <~/.directus +${DIRECTUS_VERSION} +EOF +msg_ok "Installed Directus" + +msg_info "Configuring Directus" +DIRECTUS_KEY=$(openssl rand -hex 32) +DIRECTUS_SECRET=$(openssl rand -hex 32) +DIRECTUS_ADMIN_PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c16) +cat </opt/directus/.env +HOST="0.0.0.0" +PORT=8055 +PUBLIC_URL="http://${LOCAL_IP}:8055" +KEY="${DIRECTUS_KEY}" +SECRET="${DIRECTUS_SECRET}" + +DB_CLIENT="pg" +DB_HOST="127.0.0.1" +DB_PORT=5432 +DB_DATABASE="${PG_DB_NAME}" +DB_USER="${PG_DB_USER}" +DB_PASSWORD="${PG_DB_PASS}" + +ADMIN_EMAIL="admin@community-scripts.org" +ADMIN_PASSWORD="${DIRECTUS_ADMIN_PASSWORD}" + +STORAGE_LOCATIONS="local" +STORAGE_LOCAL_DRIVER="local" +STORAGE_LOCAL_ROOT="/opt/directus/uploads" +EXTENSIONS_PATH="/opt/directus/extensions" +TELEMETRY=false +EOF +chmod 640 /opt/directus/.env +msg_ok "Configured Directus" + +msg_info "Initializing Directus" +cd /opt/directus +$STD /opt/directus/node_modules/.bin/directus bootstrap +msg_ok "Initialized Directus" + +msg_info "Creating Service" +cat </etc/systemd/system/directus.service +[Unit] +Description=Directus +After=network.target postgresql.service +Requires=postgresql.service + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/directus +EnvironmentFile=/opt/directus/.env +ExecStart=/opt/directus/node_modules/.bin/directus start +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now directus +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc diff --git a/install/droppedneedle-install.sh b/install/droppedneedle-install.sh index 666cb4a..db26d90 100644 --- a/install/droppedneedle-install.sh +++ b/install/droppedneedle-install.sh @@ -45,7 +45,7 @@ WorkingDirectory=/opt/droppedneedle/backend Environment=ROOT_APP_DIR=/opt/droppedneedle/backend Environment=PORT=8688 # Environment=SLSKD_DOWNLOADS_PATH= -ExecStart=/opt/droppedneedle/venv/bin/uvicorn main:app --host 0.0.0.0 --port 8688 --loop uvloop --http httptools --workers 1 +ExecStart=/opt/droppedneedle/venv/bin/python -m maintenance.automatic_upgrade --start-target Restart=on-failure RestartSec=5 diff --git a/install/fedora-install.sh b/install/fedora-install.sh new file mode 100644 index 0000000..5e8776d --- /dev/null +++ b/install/fedora-install.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://fedoraproject.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +motd_ssh +customize +cleanup_lxc diff --git a/install/gatus-install.sh b/install/gatus-install.sh index 90b4c33..13c3068 100644 --- a/install/gatus-install.sh +++ b/install/gatus-install.sh @@ -20,8 +20,8 @@ setup_deb_based() { libcap2-bin msg_ok "Installed Dependencies" - setup_go fetch_and_deploy_gh_release "gatus" "TwiN/gatus" "tarball" + GO_VERSION="$(grep -m1 '^go ' /opt/gatus/go.mod | awk '{print $2}')" setup_go msg_info "Configuring gatus" cd /opt/gatus @@ -59,19 +59,16 @@ setup_alpine() { $STD apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community go msg_ok "Installed dependencies" - RELEASE=$(curl -s https://api.github.com/repos/TwiN/gatus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - msg_info "Installing gatus v${RELEASE}" - temp_file=$(mktemp) - mkdir -p /opt/gatus - curl -fsSL "https://github.com/TwiN/gatus/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" - tar zxf "$temp_file" --strip-components=1 -C /opt/gatus + fetch_and_deploy_gh_release "gatus" "TwiN/gatus" "tarball" + + msg_info "Configuring gatus" cd /opt/gatus + $STD go get golang.org/x/net@v0.55.0 $STD go mod tidy CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus . setcap CAP_NET_RAW+ep gatus mv config.yaml config - echo "${RELEASE}" >/opt/gatus_version.txt - msg_ok "Installed gatus v${RELEASE}" + msg_ok "Configured gatus" msg_info "Enabling gatus Service" cat </etc/init.d/gatus @@ -99,8 +96,6 @@ EOF msg_info "Starting gatus" $STD service gatus start msg_ok "Started gatus" - - rm -f "$temp_file" } run_os_setup diff --git a/install/gentoo-install.sh b/install/gentoo-install.sh new file mode 100644 index 0000000..de470e0 --- /dev/null +++ b/install/gentoo-install.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.gentoo.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +motd_ssh +customize +cleanup_lxc diff --git a/install/gitea-install.sh b/install/gitea-install.sh index 3e37a9c..0161690 100644 --- a/install/gitea-install.sh +++ b/install/gitea-install.sh @@ -29,10 +29,9 @@ setup_deb_based() { mkdir -p /var/lib/gitea/{custom,data,log} chown -R gitea:gitea /var/lib/gitea/ chmod -R 750 /var/lib/gitea/ - chown root:gitea /etc/gitea - chmod 770 /etc/gitea - sudo -u gitea ln -s /var/lib/gitea/data/.ssh/ /etc/gitea/.ssh + chown gitea:gitea /etc/gitea chmod 750 /etc/gitea + sudo -u gitea ln -s /var/lib/gitea/data/.ssh/ /etc/gitea/.ssh msg_ok "Configured Gitea" msg_info "Creating Service" diff --git a/install/homepage-install.sh b/install/homepage-install.sh index 4b4cc9f..bb66064 100644 --- a/install/homepage-install.sh +++ b/install/homepage-install.sh @@ -63,6 +63,7 @@ Restart=always RestartSec=1 User=root WorkingDirectory=/opt/homepage/ +Environment=CI=true ExecStart=pnpm start [Install] diff --git a/install/jellyfin-install.sh b/install/jellyfin-install.sh index 9c205df..846a7a0 100644 --- a/install/jellyfin-install.sh +++ b/install/jellyfin-install.sh @@ -23,15 +23,17 @@ fi msg_ok "Installed Dependencies" msg_info "Setting up Jellyfin Repository" +JELLYFIN_REPO_URL="https://repo.jellyfin.org/$(get_os_info id)" +JELLYFIN_SUITE="$(get_fallback_suite "$(get_os_info id)" "$(get_os_info codename)" "$JELLYFIN_REPO_URL")" setup_deb822_repo \ "jellyfin" \ "https://repo.jellyfin.org/jellyfin_team.gpg.key" \ - "https://repo.jellyfin.org/$(get_os_info id)" \ - "$(get_os_info codename)" + "$JELLYFIN_REPO_URL" \ + "$JELLYFIN_SUITE" msg_ok "Set up Jellyfin Repository" msg_info "Installing Jellyfin" -$STD apt install -y jellyfin jellyfin-ffmpeg7 +ensure_dependencies jellyfin jellyfin-ffmpeg7 ln -sf /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg ln -sf /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe msg_ok "Installed Jellyfin" diff --git a/install/kima-hub-install.sh b/install/kima-hub-install.sh index 2a55f2a..92fdc21 100644 --- a/install/kima-hub-install.sh +++ b/install/kima-hub-install.sh @@ -28,7 +28,7 @@ msg_ok "Installed Dependencies" PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql PG_DB_NAME="kima" PG_DB_USER="kima" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db -NODE_VERSION="22" setup_nodejs +NODE_VERSION="24" setup_nodejs msg_info "Configuring Redis" systemctl enable -q --now redis-server diff --git a/install/limesurvey-install.sh b/install/limesurvey-install.sh index 31dc998..f5672d7 100644 --- a/install/limesurvey-install.sh +++ b/install/limesurvey-install.sh @@ -60,6 +60,7 @@ cat </etc/apache2/sites-enabled/000-default.conf EOF chown -R www-data:www-data "/opt/limesurvey" chmod -R 750 "/opt/limesurvey" +$STD a2enmod rewrite systemctl reload apache2 rm -rf "$temp_file" msg_ok "Set up LimeSurvey" diff --git a/install/mailpit-install.sh b/install/mailpit-install.sh new file mode 100644 index 0000000..e4a95e2 --- /dev/null +++ b/install/mailpit-install.sh @@ -0,0 +1,51 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://mailpit.axllent.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +fetch_and_deploy_gh_release "mailpit" "axllent/mailpit" "prebuild" "latest" "/opt/mailpit" "mailpit-linux-$(arch_resolve).tar.gz" + +msg_info "Configuring Mailpit" +mkdir -p /opt/mailpit/data +cat </opt/mailpit/.env +MP_DATABASE=/opt/mailpit/data/mailpit.db +MP_UI_BIND_ADDR=0.0.0.0:8025 +MP_SMTP_BIND_ADDR=0.0.0.0:1025 +MP_DISABLE_VERSION_CHECK=true +EOF +msg_ok "Configured Mailpit" + +msg_info "Creating Service" +cat </etc/systemd/system/mailpit.service +[Unit] +Description=Mailpit Email Testing Server +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/mailpit +EnvironmentFile=/opt/mailpit/.env +ExecStart=/opt/mailpit/mailpit +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now mailpit +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc diff --git a/install/maintainerr-install.sh b/install/maintainerr-install.sh index f4e374d..70b456f 100644 --- a/install/maintainerr-install.sh +++ b/install/maintainerr-install.sh @@ -25,7 +25,7 @@ $STD apt install -y \ librsvg2-dev msg_ok "Installed Dependencies" -NODE_VERSION="24" setup_nodejs +NODE_VERSION="26" setup_nodejs fetch_and_deploy_gh_release "maintainerr" "Maintainerr/Maintainerr" "tarball" "latest" "/opt/maintainerr" diff --git a/install/mastodon-install.sh b/install/mastodon-install.sh index b5640c6..b2723cc 100644 --- a/install/mastodon-install.sh +++ b/install/mastodon-install.sh @@ -48,13 +48,13 @@ PG_VERSION="17" setup_postgresql PG_DB_NAME="mastodon_production" PG_DB_USER="mastodon" PG_DB_SKIP_ALTER_ROLE="true" setup_postgresql_db $STD sudo -u postgres psql -c "ALTER USER mastodon CREATEDB;" -RUBY_VERSION="4.0.5" RUBY_INSTALL_RAILS="false" setup_ruby -export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" - fetch_and_deploy_gh_release "mastodon" "mastodon/mastodon" "tarball" sed -i "s/config.force_ssl = true/config.force_ssl = ENV.fetch('LOCAL_HTTPS', 'false') == 'true'/" /opt/mastodon/config/environments/production.rb sed -i "s/https = Rails.env.production? || ENV\['LOCAL_HTTPS'\] == 'true'/https = ENV.fetch('LOCAL_HTTPS', 'false') == 'true'/" /opt/mastodon/config/initializers/1_hosts.rb +RUBY_VERSION="$(cat /opt/mastodon/.ruby-version)" RUBY_INSTALL_RAILS="false" setup_ruby +export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" + msg_info "Installing Ruby Dependencies" cd /opt/mastodon $STD bundle config set --local without 'development test' diff --git a/install/mealie-install.sh b/install/mealie-install.sh index 137b386..a81faa8 100644 --- a/install/mealie-install.sh +++ b/install/mealie-install.sh @@ -29,10 +29,17 @@ msg_ok "Installed Dependencies" PYTHON_VERSION="3.12" setup_uv PG_VERSION="16" setup_postgresql -NODE_MODULE="yarn" NODE_VERSION="24" setup_nodejs fetch_and_deploy_gh_release "mealie" "mealie-recipes/mealie" "tarball" PG_DB_NAME="mealie_db" PG_DB_USER="mealie_user" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db +if [[ -f /opt/mealie/frontend/pnpm-lock.yaml ]]; then + FRONTEND_PKG="pnpm" + NODE_MODULE="pnpm@11" NODE_VERSION="24" setup_nodejs +else + FRONTEND_PKG="yarn" + NODE_MODULE="yarn" NODE_VERSION="24" setup_nodejs +fi + msg_info "Installing Python Dependencies with uv" cd /opt/mealie $STD uv sync --frozen --extra pgsql @@ -46,14 +53,28 @@ SITE_SETTINGS=$(find /opt/mealie/frontend -name "site-settings.vue" -path "*/adm $STD sed -i "s|https://github.com/mealie-recipes/mealie/commit/|https://github.com/mealie-recipes/mealie/releases/tag/|g" "$SITE_SETTINGS" $STD sed -i "s|value: data.buildId,|value: \"v${MEALIE_VERSION}\",|g" "$SITE_SETTINGS" $STD sed -i "s|value: data.production ? i18n.t(\"about.production\") : i18n.t(\"about.development\"),|value: \"bare-metal\",|g" "$SITE_SETTINGS" -$STD yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 -$STD yarn generate -$STD yarn cache clean +if [[ "${FRONTEND_PKG}" == "pnpm" ]]; then + $STD pnpm install --prefer-offline --frozen-lockfile + $STD pnpm generate + $STD pnpm store prune +else + $STD yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 + $STD yarn generate + $STD yarn cache clean +fi msg_ok "Built Frontend" msg_info "Copying Built Frontend" +if [[ -n "$(ls -A /opt/mealie/frontend/.output/public 2>/dev/null)" ]]; then + FRONTEND_SRC="/opt/mealie/frontend/.output/public" +elif [[ -n "$(ls -A /opt/mealie/frontend/dist 2>/dev/null)" ]]; then + FRONTEND_SRC="/opt/mealie/frontend/dist" +else + msg_error "Frontend build output not found" + exit +fi mkdir -p /opt/mealie/mealie/frontend -cp -r /opt/mealie/frontend/dist/* /opt/mealie/mealie/frontend/ +cp -r "${FRONTEND_SRC}/." /opt/mealie/mealie/frontend/ msg_ok "Copied Frontend" setup_nltk "averaged_perceptron_tagger_eng" "/nltk_data" diff --git a/install/node-red-install.sh b/install/node-red-install.sh index b9266d5..0c43cc2 100644 --- a/install/node-red-install.sh +++ b/install/node-red-install.sh @@ -23,7 +23,7 @@ setup_deb_based() { NODE_VERSION="22" setup_nodejs msg_info "Installing Node-Red" - $STD npm install -g --unsafe-perm node-red + $STD npm install -g node-red echo "journalctl -f -n 100 -u nodered -o cat" >/usr/bin/node-red-log chmod +x /usr/bin/node-red-log echo "systemctl stop nodered" >/usr/bin/node-red-stop @@ -71,7 +71,7 @@ setup_alpine() { msg_ok "Created Node-RED User" msg_info "Installing Node-RED" - $STD npm install -g --unsafe-perm node-red + $STD npm install -g node-red msg_ok "Installed Node-RED" msg_info "Creating /home/nodered" diff --git a/install/ntopng-install.sh b/install/ntopng-install.sh index 6538e00..a5abf8f 100644 --- a/install/ntopng-install.sh +++ b/install/ntopng-install.sh @@ -13,7 +13,15 @@ setting_up_container network_check update_os -fetch_and_deploy_from_url "https://packages.ntop.org/apt-stable/$(get_os_info codename)/all/apt-ntop-stable.deb" "" +NTOP_CODENAME="$(get_os_info codename)" +case "$NTOP_CODENAME" in +bookworm | trixie) + fetch_and_deploy_from_url "https://packages.ntop.org/apt/${NTOP_CODENAME}/all/apt-ntop.deb" "" + ;; +*) + fetch_and_deploy_from_url "https://packages.ntop.org/apt-stable/${NTOP_CODENAME}/all/apt-ntop-stable.deb" "" + ;; +esac msg_info "Installing ntopng" $STD apt update diff --git a/install/omv-install.sh b/install/omv-install.sh index 46e274d..4273344 100644 --- a/install/omv-install.sh +++ b/install/omv-install.sh @@ -14,9 +14,9 @@ network_check update_os msg_info "Installing OpenMediaVault (Patience)" -curl -fsSL "https://packages.openmediavault.org/public/archive.key" | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg" +curl -fsSL "https://openmediavault.github.io/packages/archive.key" | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg" cat </etc/apt/sources.list.d/openmediavault.list -deb [signed-by=/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg] http://packages.openmediavault.org/public sandworm main +deb [signed-by=/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg] https://openmediavault.github.io/packages sandworm main EOF export LANG=C.UTF-8 diff --git a/install/openbao-install.sh b/install/openbao-install.sh new file mode 100755 index 0000000..38b80f4 --- /dev/null +++ b/install/openbao-install.sh @@ -0,0 +1,67 @@ +#!/usr/bin/env bash +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Marc Went (Dunky13) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://openbao.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +fetch_and_deploy_gh_release "openbao" "openbao/openbao" "binary" "latest" "/opt/openbao" "openbao_*_linux_$(arch_resolve).deb" + +msg_info "Configuring CLI Environment" +cat </etc/profile.d/openbao.sh +export BAO_ADDR=https://127.0.0.1:8200 +export BAO_SKIP_VERIFY=true +EOF +source /etc/profile.d/openbao.sh +msg_ok "Configured CLI Environment" + +msg_info "Starting OpenBao" +systemctl enable -q --now openbao +for _ in {1..30}; do + curl -fsSk -o /dev/null "https://127.0.0.1:8200/v1/sys/seal-status" && break + sleep 2 +done +msg_ok "Started OpenBao" + +msg_info "Initializing OpenBao" +( + umask 077 + cat <<'EOF' >/etc/openbao/openbao-init.json +EOF +) +bao operator init -key-shares=1 -key-threshold=1 -format=json >/etc/openbao/openbao-init.json +chmod 600 /etc/openbao/openbao.env +chown root:root /etc/openbao/openbao.env +cat <>/etc/openbao/openbao.env +BAO_ADDR=https://127.0.0.1:8200 +BAO_SKIP_VERIFY=true +BAO_UNSEAL_KEY=$(jq -r '.unseal_keys_b64[0]' /etc/openbao/openbao-init.json) +BAO_ROOT_TOKEN=$(jq -r '.root_token' /etc/openbao/openbao-init.json) +EOF +rm -f /etc/openbao/openbao-init.json +msg_ok "Initialized OpenBao" + +msg_info "Enabling Auto-Unseal" +mkdir -p /etc/systemd/system/openbao.service.d +cat <<'EOF' >/etc/systemd/system/openbao.service.d/unseal.conf +[Service] +ExecStartPost=-/usr/bin/bao operator unseal ${BAO_UNSEAL_KEY} +EOF +systemctl daemon-reload +systemctl restart openbao +for _ in {1..15}; do + bao status -format=json 2>/dev/null | jq -e '.sealed == false' >/dev/null && break + sleep 2 +done +msg_ok "Enabled Auto-Unseal" + +motd_ssh +customize +cleanup_lxc diff --git a/install/openeuler-install.sh b/install/openeuler-install.sh new file mode 100644 index 0000000..2e629a5 --- /dev/null +++ b/install/openeuler-install.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.openeuler.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +motd_ssh +customize +cleanup_lxc diff --git a/install/opensuse-install.sh b/install/opensuse-install.sh new file mode 100644 index 0000000..bf190ee --- /dev/null +++ b/install/opensuse-install.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://www.opensuse.org/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +motd_ssh +customize +cleanup_lxc diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index 00a24dc..1323482 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -46,7 +46,11 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then fi msg_info "Installing Open WebUI" -$STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all] +export UV_HTTP_TIMEOUT=300 +for attempt in $(seq 1 3); do + $STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all] && break + [[ $attempt -lt 3 ]] && msg_warn "Open WebUI install attempt $attempt failed, retrying..." && sleep 10 +done msg_ok "Installed Open WebUI" read -r -p "${TAB3}Would you like to add Ollama? " prompt diff --git a/install/planka-install.sh b/install/planka-install.sh index aecde83..4f5c59f 100644 --- a/install/planka-install.sh +++ b/install/planka-install.sh @@ -20,7 +20,7 @@ $STD apt install -y \ python3-venv msg_ok "Installed dependencies" -NODE_VERSION="22" setup_nodejs +NODE_VERSION="24" setup_nodejs PG_VERSION="16" setup_postgresql msg_info "Setting up PostgreSQL Database" diff --git a/install/podman-install.sh b/install/podman-install.sh index 9cad866..6e1cd58 100644 --- a/install/podman-install.sh +++ b/install/podman-install.sh @@ -51,6 +51,7 @@ read -r -p "${TAB3}Would you like to add Portainer? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing Portainer $PORTAINER_LATEST_VERSION" podman volume create portainer_data >/dev/null + $STD podman pull docker.io/portainer/portainer-ce:latest cat </etc/containers/systemd/portainer.container [Unit] Description=Portainer Container @@ -77,6 +78,7 @@ else read -r -p "${TAB3}Would you like to add the Portainer Agent? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing Portainer agent $PORTAINER_AGENT_LATEST_VERSION" + $STD podman pull docker.io/portainer/agent:latest cat </etc/containers/systemd/portainer-agent.container [Unit] Description=Portainer Agent Container diff --git a/install/pve-ups-install.sh b/install/pve-ups-install.sh index 6b37f35..4608508 100644 --- a/install/pve-ups-install.sh +++ b/install/pve-ups-install.sh @@ -27,7 +27,7 @@ install -d -o pveusv -g pveusv -m 0750 \ /var/lib/pve-usv/updates chown -R pveusv:pveusv /opt/pve-usv cd /opt/pve-usv -$STD uv venv --clear venv +$STD uv venv --clear --seed venv $STD uv pip install --python venv/bin/python . chmod 0755 deploy/pve-usv-agent.sh msg_ok "Set up Application" diff --git a/install/seanime-install.sh b/install/seanime-install.sh new file mode 100644 index 0000000..28fbc1f --- /dev/null +++ b/install/seanime-install.sh @@ -0,0 +1,67 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: hasan-ismail +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://seanime.app/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +setup_hwaccel + +msg_info "Installing FFmpeg" +setup_deb822_repo \ + "jellyfin" \ + "https://repo.jellyfin.org/jellyfin_team.gpg.key" \ + "https://repo.jellyfin.org/debian" \ + "$(get_os_info codename)" +$STD apt install -y jellyfin-ffmpeg7 +ln -sf /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg +ln -sf /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe +msg_ok "Installed FFmpeg" + +fetch_and_deploy_gh_release "seanime" "5rahim/seanime" "prebuild" "latest" "/opt/seanime" "seanime-[0-9]*_Linux_$(arch_resolve x86_64 arm64).tar.gz" +chmod +x /opt/seanime/seanime + +msg_info "Configuring Seanime" +SEANIME_PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13) +mkdir -p /opt/seanime-data +cat </opt/seanime-data/config.toml +[server] +password = "${SEANIME_PASSWORD}" +EOF +cat </root/seanime.creds +Seanime URL: http://${LOCAL_IP}:43211 +Password: ${SEANIME_PASSWORD} +EOF +msg_ok "Configured Seanime" + +msg_info "Creating Service" +cat </etc/systemd/system/seanime.service +[Unit] +Description=Seanime +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/seanime +ExecStart=/opt/seanime/seanime --datadir /opt/seanime-data --host 0.0.0.0 +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now seanime +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc diff --git a/install/solidinvoice-install.sh b/install/solidinvoice-install.sh new file mode 100644 index 0000000..b0f5c71 --- /dev/null +++ b/install/solidinvoice-install.sh @@ -0,0 +1,190 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Pierre du Plessis +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/solidinvoice/solidinvoice + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Creating Directories" +mkdir -p /etc/solidinvoice /var/lib/solidinvoice +msg_ok "Created Directories" + +fetch_and_deploy_gh_release "solidinvoice" "SolidInvoice/SolidInvoice" "singlefile" "latest" "/usr/bin" "solidinvoice-linux-$(arch_resolve)" + +msg_info "Configuring SolidInvoice" +cat <<'EOF' >/etc/solidinvoice/solidinvoice.env +# SolidInvoice environment configuration +# This file is sourced by the systemd service unit. +# CLI flags always take precedence over values set here. + +# ------------------------------------------------------------------ +# Network +# ------------------------------------------------------------------ + +# Port to listen on (default: 8765) +#SOLIDINVOICE_PORT=8765 + +# IP address to bind to (default: auto-detected outbound IP) +#SOLIDINVOICE_SERVER_IP=0.0.0.0 + +# Domain name — required when using Let's Encrypt or custom certificates. +# When set, the application binds to https:// instead of an IP. +#SOLIDINVOICE_DOMAIN= + +# Bind the bundled webserver to every hostname so it answers regardless of the +# Host header — required behind a reverse proxy that forwards the original domain. +SOLIDINVOICE_DOCKER=true + +# ------------------------------------------------------------------ +# HTTPS / TLS +# ------------------------------------------------------------------ + +# Disable HTTPS and serve plain HTTP. Set to 1 when running behind a +# reverse proxy (nginx, Caddy, Traefik, etc.) that handles TLS termination. +# Remove or set to 0 when you want the application to manage its own certificates. +SOLIDINVOICE_DISABLE_HTTPS=1 + +# Enable automatic Let's Encrypt certificates (requires SOLIDINVOICE_DOMAIN). +# Incompatible with SOLIDINVOICE_DISABLE_HTTPS=1. +#SOLIDINVOICE_LETS_ENCRYPT=1 + +# Paths to a custom TLS certificate and private key (requires SOLIDINVOICE_DOMAIN). +# Incompatible with SOLIDINVOICE_DISABLE_HTTPS=1 and SOLIDINVOICE_LETS_ENCRYPT=1. +#SOLIDINVOICE_SSL_CERT=/etc/ssl/certs/solidinvoice.crt +#SOLIDINVOICE_SSL_KEY=/etc/ssl/private/solidinvoice.key + +# ------------------------------------------------------------------ +# Performance +# ------------------------------------------------------------------ + +# Enable FrankenPHP worker mode for improved performance (keeps PHP workers +# alive between requests). Recommended for high-traffic deployments. +# Set to 1 to enable. +#FRANKENPHP_WORKER_MODE=1 + +# Number of FrankenPHP worker threads when worker mode is enabled (default: 2). +#SOLIDINVOICE_WORKER_THREADS=2 + +# Number of background messenger worker processes (default: 1). +# Set to 0 to disable built-in workers (use the dedicated 'solidinvoice worker' +# command instead). +#SOLIDINVOICE_MESSENGER_WORKERS=1 + +# ------------------------------------------------------------------ +# Application +# ------------------------------------------------------------------ + +# Application environment. Change to "dev" only for local development. +#SOLIDINVOICE_ENV=prod + +# Enable debug mode (0 or 1). Never enable in production. +#SOLIDINVOICE_DEBUG=0 + +# Configuration directory — stores generated secrets, OAuth keys, and the +# SQLite database (when no external database is configured). +SOLIDINVOICE_CONFIG_DIR=/etc/solidinvoice + +# Installation type identifier used for telemetry when opted in. +SOLIDINVOICE_INSTALL_TYPE=proxmox-community-scripts + +# Skip the ASCII art / URL summary printed on startup. +SOLIDINVOICE_SKIP_INTRO=1 + +# Log format: "json" for structured logs (default for systemd), "console" for human-readable. +SOLIDINVOICE_LOG_FORMAT=json + +# ------------------------------------------------------------------ +# Database +# ------------------------------------------------------------------ + +# Database connection URL. Defaults to SQLite stored in SOLIDINVOICE_CONFIG_DIR +# when not set. Supported drivers: mysql, postgresql, sqlite. +#SOLIDINVOICE_DATABASE_URL=mysql://user:password@127.0.0.1:3306/solidinvoice + +# ------------------------------------------------------------------ +# Email +# ------------------------------------------------------------------ + +# Outbound mail transport DSN. Overrides the transport configured in the UI. +# See https://symfony.com/doc/current/mailer.html for DSN formats. +#SOLIDINVOICE_MAILER_DSN=smtp://user:password@localhost:25 + +# From address used for all outgoing emails. Overrides the address configured in the UI. +#SOLIDINVOICE_MAILER_SENDER=SolidInvoice + +# ------------------------------------------------------------------ +# Async messaging +# ------------------------------------------------------------------ + +# Messenger transport DSN. Defaults to the database (doctrine) queue. +#SOLIDINVOICE_MESSENGER_DSN=doctrine://default?queue_name=async + +# ------------------------------------------------------------------ +# Search (optional) +# ------------------------------------------------------------------ + +# Meilisearch instance for full-text search. Leave blank to disable. +#SOLIDINVOICE_MEILISEARCH_URL=http://localhost:7700 +#SOLIDINVOICE_MEILISEARCH_API_KEY= + +# ------------------------------------------------------------------ +# Localisation +# ------------------------------------------------------------------ + +# Default locale for the application interface (e.g. en, fr, de, nl). +#SOLIDINVOICE_LOCALE=en + +# ------------------------------------------------------------------ +# User registration +# ------------------------------------------------------------------ + +# Allow visitors to create their own accounts (0 = disabled, 1 = enabled). +#SOLIDINVOICE_ALLOW_REGISTRATION=0 + +# ------------------------------------------------------------------ +# Monitoring (optional) +# ------------------------------------------------------------------ + +# Sentry DSN for error and performance monitoring. +#SOLIDINVOICE_SENTRY_DSN= + +# Expose a Prometheus metrics endpoint on a dedicated port. +#SOLIDINVOICE_ENABLE_METRICS=1 +#SOLIDINVOICE_METRICS_PORT=9090 +EOF +chmod 640 /etc/solidinvoice/solidinvoice.env +msg_ok "Configured SolidInvoice" + +msg_info "Creating Service" +cat <<'EOF' >/etc/systemd/system/solidinvoice.service +[Unit] +Description=SolidInvoice +Documentation=https://solidinvoice.co/docs +After=network.target + +[Service] +Type=exec +User=root +WorkingDirectory=/var/lib/solidinvoice +ExecStart=/usr/bin/solidinvoice run +EnvironmentFile=/etc/solidinvoice/solidinvoice.env +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now solidinvoice +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc diff --git a/install/spliit-install.sh b/install/spliit-install.sh index 65db5a0..9447943 100755 --- a/install/spliit-install.sh +++ b/install/spliit-install.sh @@ -15,7 +15,7 @@ update_os PG_VERSION="16" setup_postgresql PG_DB_NAME="spliit" PG_DB_USER="spliit" setup_postgresql_db -NODE_VERSION="22" setup_nodejs +NODE_VERSION="24" setup_nodejs fetch_and_deploy_gh_release "spliit" "spliit-app/spliit" "tarball" msg_info "Configuring Application" diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index db45de1..ad8c0da 100644 --- a/install/stirling-pdf-install.sh +++ b/install/stirling-pdf-install.sh @@ -147,7 +147,6 @@ Group=root EnvironmentFile=/opt/Stirling-PDF/.env WorkingDirectory=/opt/Stirling-PDF ExecStart=/usr/bin/java -jar Stirling-PDF.jar -ExecStop=/bin/kill -15 %n Restart=always RestartSec=10 diff --git a/install/super-productivity-install.sh b/install/super-productivity-install.sh new file mode 100644 index 0000000..c4b4fe8 --- /dev/null +++ b/install/super-productivity-install.sh @@ -0,0 +1,61 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://super-productivity.com/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt install -y \ + nginx \ + git +msg_ok "Installed Dependencies" + +NODE_VERSION="22" setup_nodejs + +fetch_and_deploy_gh_release "super-productivity" "super-productivity/super-productivity" "tarball" + +msg_info "Building Web App" +cd /opt/super-productivity +export HUSKY=0 +export UNSPLASH_KEY=DUMMY_UNSPLASH_KEY +export UNSPLASH_CLIENT_ID=DUMMY_UNSPLASH_CLIENT_ID +export NODE_OPTIONS="--max-old-space-size=4096" +$STD git config --global url."https://github.com/".insteadOf ssh://git@github.com/ +$STD npm ci +$STD npm run buildFrontend:prodWeb +msg_ok "Built Web App" + +msg_info "Deploying Web App" +cp -r /opt/super-productivity/dist/browser/. /var/www/html/ +msg_ok "Deployed Web App" + +msg_info "Configuring Nginx" +cat <<'EOF' >/etc/nginx/sites-available/super-productivity.conf +server { + listen 80 default_server; + server_name _; + root /var/www/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } +} +EOF +ln -sf /etc/nginx/sites-available/super-productivity.conf /etc/nginx/sites-enabled/super-productivity.conf +rm -f /etc/nginx/sites-enabled/default +systemctl reload nginx +msg_ok "Configured Nginx" + +motd_ssh +customize +cleanup_lxc diff --git a/install/vaultwarden-install.sh b/install/vaultwarden-install.sh index 92946ac..026fdec 100644 --- a/install/vaultwarden-install.sh +++ b/install/vaultwarden-install.sh @@ -32,7 +32,7 @@ setup_deb_based() { cd /tmp/vaultwarden-src VW_VERSION=$(get_latest_github_release "dani-garcia/vaultwarden") export VW_VERSION - $STD cargo build --features "sqlite,mysql,postgresql" --release + CARGO_BUILD_JOBS="$(get_parallel_jobs)" CARGO_PROFILE_RELEASE_LTO=false CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 $STD cargo build --features "sqlite,mysql,postgresql" --release msg_ok "Built Vaultwarden" msg_info "Setting up Vaultwarden" diff --git a/install/yopass-install.sh b/install/yopass-install.sh new file mode 100644 index 0000000..c0f1b4c --- /dev/null +++ b/install/yopass-install.sh @@ -0,0 +1,69 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: MickLesk (CanbiZ) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/jhaals/yopass + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt install -y redis-server +systemctl enable -q --now redis-server +msg_ok "Installed Dependencies" + +setup_go +NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs + +fetch_and_deploy_gh_release "yopass" "jhaals/yopass" "tarball" + +msg_info "Building Yopass" +cd /opt/yopass +$STD go build -ldflags "-X main.version=$(cat ~/.yopass)" ./cmd/yopass-server +cd /opt/yopass/website +$STD yarn install --network-timeout 600000 +$STD yarn build +msg_ok "Built Yopass" + +msg_info "Generating SSL Certificate" +mkdir -p /opt/yopass/certificates +openssl req -x509 -nodes -days 3650 -newkey rsa:2048 \ + -keyout /opt/yopass/certificates/key.pem \ + -out /opt/yopass/certificates/cert.pem \ + -subj "/C=US/ST=State/L=City/O=Yopass/CN=${LOCAL_IP}" \ + -addext "subjectAltName=IP:${LOCAL_IP},DNS:localhost,IP:127.0.0.1" \ + 2>/dev/null +chmod 600 /opt/yopass/certificates/key.pem +chmod 644 /opt/yopass/certificates/cert.pem +msg_ok "Generated SSL Certificate" + +msg_info "Creating Service" +cat </etc/systemd/system/yopass.service +[Unit] +Description=Yopass +Wants=network-online.target +After=network-online.target redis-server.service + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/yopass +ExecStart=/opt/yopass/yopass-server --address 0.0.0.0 --port 1337 --tls-cert /opt/yopass/certificates/cert.pem --tls-key /opt/yopass/certificates/key.pem --database redis --redis redis://127.0.0.1:6379/0 --asset-path /opt/yopass/website/dist +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now yopass +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc diff --git a/install/yuvomi-install.sh b/install/yuvomi-install.sh index 5210495..7f18767 100644 --- a/install/yuvomi-install.sh +++ b/install/yuvomi-install.sh @@ -21,7 +21,7 @@ $STD apt install -y \ libsqlcipher-dev msg_ok "Installed Dependencies" -NODE_VERSION="22" setup_nodejs +NODE_VERSION="24" setup_nodejs fetch_and_deploy_gh_release "yuvomi" "ulsklyc/yuvomi" "tarball"