Commit Graph
38 Commits
Author SHA1 Message Date
MickLesk 3f0dd1b09b install: answer every prompt from the environment, survive a closed stdin
Every interactive prompt takes a var_<app>_<name> override and treats a
closed stdin like Enter (`|| true`), so an install keeps going after the
console that started it is gone. Values the script cannot do without end
with exit 64 and name the variable to set. Validation loops stop asking
when nobody can answer instead of spinning on an empty read.
2026-10-23 20:44:37 +02:00
CanbiZ (MickLesk) 91bc5b3835 docker: take the lxcfs toggle, TCP socket and Compose choice from app variables (#17850)
* docker: take the lxcfs toggle, TCP socket and Compose choice from app variables

var_docker_lxcfs is exported for the core helper; var_docker_tcp_socket
(no/local/all) and var_docker_compose replace the prompts when set, so
the website generator can offer them. Alpine wrote daemon.json through
silent(), which captured the output and left the file empty.

* docker: use var_docker_socket, the name the catalog record already carries
2026-10-11 13:24:31 +02:00
CanbiZ (MickLesk) b4bf7aacf3 several scripts: use the release helpers instead of hand-rolled version checks and downloads (#17625)
* Use the release helpers instead of hand-rolled version checks and downloads

Legacy /opt/*_version.txt files move to ~/.<app> on the next update.

* homeassistant: use get_latest_github_release
2026-10-02 08:01:49 +02:00
CanbiZ (MickLesk) 2497c18bee Scripts: apt instead of apt-get, cleanup_lxc, nginx_enable_site, drop needless daemon-reloads (#17624) 2026-10-01 08:14:33 +02:00
CanbiZ (MickLesk) d7a3386dab Docker-LXC: remove Portainer installation from install (#17493)
* Docker-LXC: remove Portainer installation from install

Removed Portainer installation prompts and related code.

* Remove Portainer installation instructions from docker.sh

Removed instructions for installing Portainer as an addon.
2026-09-25 11:09:54 +02:00
CanbiZ (MickLesk) 92e72e4137 Breaking Change: Migrate all "Alpine" Scripts to Normal CT's (#16587) 2026-08-18 12:38:22 +02:00
CanbiZ (MickLesk) a6196990a6 chore: remove portainer setup from several scripts (moved to addon) (#16201)
* remove portainer from tools.func

* remove comment in tools.func and remove portainer from docker setup

* remove portainer from alpine-docker

* formatting alpine docker

* remove portainer update in docker ct and homeassistant
2026-08-02 19:57:57 +02:00
Sam Heinz 59285b8b64 Update docker-install.sh (#15243) 2026-06-20 17:48:59 +02:00
Sam Heinz 95ddaf0f22 [arm64] Port scripts between garage-hortusfox to support arm64 (#15207)
* add helper function for get_arch_value

* [arm64] Port scripts between garage-hortusfox to support arm64

Adds check for docker tag & arm64 in build.func and if present adds apparmor unconfined to get docker to work on non pve kernel

* revert added tags, remove apparmor unconfined, move to setup_docker
2026-06-20 00:34:00 +02:00
CanbiZ (MickLesk) 17de8e761b fix: replace generic exit 1 with specific exit codes in ct/ and install/ scripts (#12475)
Part of #12467 — scripts only (no framework changes).

New exit codes 250-254 registered in api.func and error_handler.func:
- 250: App download failed or version not determined
- 251: App file extraction failed (corrupt/incomplete archive)
- 252: App required file or resource not found
- 253: App data migration required — update aborted
- 254: App user declined prompt or input timed out

Existing codes reused where applicable:
- 10: privileged/Docker required (unifi-os-server)
- 64: invalid user input (postgresql, tomcat)
- 71: system error (pulse useradd)
- 150: service failed to start (docker, npmplus)
- 153: build failed (booklore)
- 233: app not installed (evcc, endurain, grafana, loki, itsm-ng)
- 236: hardware not detected (unifi-os-server /dev/net/tun)
- 238: OS not supported (frigate)
2026-03-02 13:57:42 +01:00
CanbiZ (MickLesk)andSlaviša Arežina e33d4d76fe Refactor Docker/Dockge & Bump to Debian 13 (#10719)
* Refactor Docker/Dockge & Bump to Debian 13

* Add base system update to Dockge update script

The update_script function now updates and upgrades the base system before updating Dockge. This ensures the system is up to date prior to pulling new Docker images.

* some fixes

* Apply suggestion from @tremor021

* Apply suggestion from @tremor021

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2026-01-12 13:21:39 +01:00
Tobias c1fe8b91b4 chore: bump copyright to 2026 - happy new year (#10585)
* chore: bump copyright to 2026 - happy new year

* fix

* meilisearch fix source url

* livebook: fix space

* fix source cmd

* fix source cmd
2026-01-06 13:28:12 +01:00
CanbiZ afe330173e Refactor cleanup steps to use cleanup_lxc function (#9354) 2025-11-22 17:27:13 +01:00
CanbiZ 3ca53067a7 Refactor & Function Bump: Docker (#5889)
* Refactor: Docker

* add more features

* update_script

* Update docker.sh
2025-07-11 11:39:50 +02:00
CanbiZ d596ced793 fix tcp issue docker 2025-07-09 19:19:18 +02:00
CanbiZ 4f08b4609b breaking fix docker 2025-07-09 19:09:41 +02:00
Oleh Formaniuk 5c4abb6d1d [Feature] Add option to expose Docker via TCP port (#5716) 2025-07-06 10:47:14 +02:00
Slaviša Arežina 62189321cc Update scripts that use read -p (#4498) 2025-05-15 11:13:57 +02:00
CanbiZ c4f2bd0007 fix fsSLL to fsSL 2025-04-01 14:33:26 +02:00
CanbiZ 508a771b67 fix fsSLSL to fsSL 2025-04-01 12:00:00 +02:00
CanbiZandSlaviša Arežina 8c051b8186 Replace wget with curl -fsSL, normalize downloads, and prep for IPv6 (#3455)
* Initial Call, Switch from curl -s to curl -fsSL and wget to curl -fssL

* more switches

* switch vms

* more curls

* More curls

* more

* more

* more changes

* more

* prepare ipv6 calls

* change frontend to ipv6

* Formatting

* Fromatting

* Update gomft.sh

* Update gomft-install.sh

* Update ersatztv.sh

* Update build.func

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-04-01 10:25:46 +02:00
CanbiZ 2306531021 [core] Rebase Scripts (formatting, highlighting & remove old deps) (#3378)
* Big Refactor: Remove Deps / Formatting & Correct End Of Line Sequence

* f
2025-03-24 14:20:56 +01:00
Bas van den Berg 204219a477 Add source to install scripts and make license one line (#2842) 2025-03-04 17:54:20 +01:00
CanbiZ 15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
Michel Roegl-Brunner 9fc81e49e4 Update Script: Remove Docker Compose Question (#847) 2024-12-16 14:29:51 +01:00
CanbiZ a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster 64a33de118 Add '-y` flag 2024-05-02 13:26:16 -04:00
tteckster 30c53d6958 update year to 2024 2024-01-01 12:13:05 -05:00
tteckster a22c3644a6 drop fuse-overlayfs storage driver
- As of Proxmox 8.1, `overlay2` is now a supported Docker storage driver when using ZFS, specifically with OpenZFS version 2.2.0 or later.
2023-12-06 20:13:12 -05:00
tteckster 9dc43c396f Update docker-install.sh
change Portainer to port 9443
fixes https://github.com/tteck/Proxmox/issues/1763
2023-09-23 05:58:20 -04:00
tteckster 9189e12e48 Update docker-install.sh
shfmt
2023-07-10 19:17:30 -04:00
tteckster 39ebf79a6d Update docker-install.sh
restrict the installation to either portainer-ce or the portainer-agent
2023-07-10 16:18:49 -04:00
slaclau 3fc897f887 Update docker-install.sh (#1602)
Add Portainer agent
2023-07-10 16:14:53 -04:00
tteckster c12f2773e7 Code refactoring 2023-05-15 07:39:30 -04:00
tteckster 4175b8d5f6 The latest iteration of the scripts (#1220) 2023-03-22 20:48:20 -04:00
tteckster c8aa5a029d more pruning & code refactoring (#1011)
* improve error handling to show more details

* improve the way it checks for root password

* consistant getty_override

* streamline verbose mode

* remove v4 scripts

* small tweaks
2023-02-03 07:15:15 -05:00
tteckster 9a7d8fdc78 add midnight commander (mc) (#974) 2023-01-23 10:42:50 -05:00
tteckster 049b2cf770 purge (#884) 2022-12-31 10:53:32 -05:00