Commit Graph
17 Commits
Author SHA1 Message Date
cad309b6a5 Remove software-properties-common from Apache Tika install (#16054)
The container was switched from bookworm to trixie in #16036, but
software-properties-common does not exist in Debian 13. apt aborts the
whole dependency line on the single missing package (exit code 100), so
a fresh install never gets past "Installing Dependencies".

The package only provides add-apt-repository, which this script never
calls — no PPAs or custom repos are configured anywhere. It is a dead
dependency, so dropping it needs no replacement; every other package on
that line exists in trixie.

Fixes #16053

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-26 22:36:46 +02:00
f5390ebdbf Apache Tika: Switch from Debian Bookworm to Debian Trixie and replace manual install of OpenJDK with setup_java (#16036)
* Install Java via setup_java instead of distro openjdk

Apache Tika's Java runtime was installed by calling apt directly for
openjdk-17-jre-headless. This tied the JDK to whatever Debian ships, and
that coupling has now broken: openjdk-17 is no longer available on Debian
13 (Trixie), where openjdk-21 is current. It also made this the only
script in install/ that installs Java by hand, while every other Java
application in the repository uses the shared setup_java helper.

Switch to setup_java, which installs Eclipse Temurin from the Adoptium
repository. Temurin is versioned independently of the Debian release, so
a future distribution upgrade cannot remove the JDK out from under the
application the way this one did.

Java 21 satisfies both current and upcoming Tika: 3.x requires Java 11 or
newer, and 4.x raises the floor to Java 17.

The surrounding msg_info/msg_ok pair is dropped because setup_java emits
its own progress messages; keeping them would nest the output.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Bump Apache-Tika container to Debian 13

The container declared Debian 12 (Bookworm) as its base, which had become
an outlier: 475 of the repository's ct scripts target Debian 13 and only
22 still target 12. build.func also sets trixie as the default ARM64
template codename, so this script's declared base had drifted away from
the repository default.

The declared version is not cosmetic. check_container_os_guard() reads
var_os/var_version as the script's recommended OS and compares them
against a container's /etc/os-release, prompting on interactive runs and
aborting headless ones when they disagree. Debian 12 was also the reason
the previous openjdk-17 dependency looked valid; on Debian 13 that
package no longer exists, which is addressed in the preceding commit.

Existing Debian 12 containers keep working, because update_script only
replaces the Tika jar and never touches the operating system or Java.
They will, however, now hit the OS mismatch guard on update and be asked
to move to Debian 13 first. That is intended rather than a regression,
but it is a visible change for existing users.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-26 18:35:32 +02:00
Andy GrunwaldandGitHub bc83a37124 Prometheus Paperless NGX Exporter: Set correct binary path in systemd unit file (#11438)
Fix #11409
2026-02-01 20:51:30 +01:00
Andy GrunwaldandGitHub 08e0a6322b Prometheus PVE Exporter: Rightsizing RAM and Disk (#3098)
* Prometheus PVE Exporter: Rightsizing RAM and Disk

* Raise to 2GB, as setup is not working otherwise

* Prometheus PVE Exporter: Set RAM to 512
2025-03-16 11:20:56 +01:00
Andy GrunwaldandGitHub 6a775f6026 New Script: Prometheus Paperless-NGX Exporter (#2153)
* New Script: Prometheus Paperless NGX Exporter

* Temp: Change import URLs to test fork

* Prometheus Paperless NGX Exporter: Fix double `=`  in systemd unit file

* Revert "Temp: Change import URLs to test fork"

This reverts commit f78d295c02.

* Fix script in `install_methods`
2025-02-10 23:57:29 +01:00
Andy GrunwaldandGitHub ef33864adf New Script: Apache Tika (#2079)
* New Script: Apache Tika

* Temp: Replace github URLs to my own fork

* Add additional dependencies according to the Docker image installation

See https://github.com/apache/tika-docker/blob/master/full/Dockerfile

* Apache Tika: Set correct tags

* Apache Tika: Set TODO to make it updateable

* Apache Tika: Fix "software-properties-common: command not found"

* Apache Tika: Automate version detection

* Apache Tika: Add `update_script`

* Apache Tika: Added clean up of `/opt/apache-tika/tika-server-standard-prev-version.jar` after upgrade

* Apache Tika: Bump up ram to 2048

* Apache Tika: Set updateable to true

* Apache Tika: Switch from `default-jdk` to `openjdk-17-jre-headless`

* Apache Tika: Removed comment about Docker file

* Apache Tika: Removed empty line

* Revert "Temp: Replace github URLs to my own fork"

This reverts commit f1c5d87206.
2025-02-06 18:40:21 +01:00
Andy GrunwaldandGitHub cb79d7baab Paperless NGX: Mark it as updateable (#2070) 2025-02-05 22:32:58 +01:00
Andy GrunwaldandGitHub 76f12fc596 Prometheus Proxmox VE Exporter: Set correct website slug (#1961) 2025-02-03 07:57:09 +01:00
Andy GrunwaldandGitHub 19911f5b81 Prometheus PVE Exporter: Add --default-timeout=300 to pip install commands (#1950) 2025-02-02 20:18:52 +01:00
Andy GrunwaldandGitHub 57b37b1e16 VSCode: Add Shellscript Syntax highlighting for *.func files (#1948) 2025-02-02 20:05:36 +01:00
Andy GrunwaldandGitHub 63e3619b68 New Script: Prometheus Proxmox VE Exporter (#1805)
* New Script: Prometheus Proxmox VE Exporter

See https://github.com/prometheus-pve/prometheus-pve-exporter

* Fix formatting of config file output after installation

* Prometheus Proxmox VE Exporter: Set category 1 for Website

* Removed blank lines

* Remove `python3-dev`, as it was commented out

* Prometheus Proxmox VE Exporter: Move configuration under /opt

* Prometheus Proxmox VE Exporter: Add logo

* Change `msg_info "Updating Python3"` to `msg_info "Setup Python3"`

* Removed empty line

* Add note about Proxmox credentials into the website

* Temp: Replace GitHub URLs to test my fork

* Set correct `APP="Prometheus-PVE-Exporter"`

* Add `--root-user-action=ignore` to pip call (as root)

* Revert "Temp: Replace GitHub URLs to test my fork"

This reverts commit 2308d48376.
2025-01-29 18:41:44 +01:00
Andy GrunwaldandGitHub 3078d1a11a Grafana: Mark container as updateable (#1603) 2025-01-20 10:17:49 +01:00
Andy GrunwaldandGitHub ac64a9de31 GitHub Actions: Fix Shellsheck workflow to only run on changes *.sh files (#1423) 2025-01-13 13:02:42 +01:00
Andy GrunwaldandGitHub 6decf14d2e Prometheus: Fix installation via creating the service file (#1416) 2025-01-11 09:33:21 +01:00
Andy GrunwaldandGitHub 9a4d35b1f2 Prometheus + Alertmanager: Unify scripts for easier maintenance (#1402) 2025-01-10 16:54:58 +01:00
Andy GrunwaldandGitHub b7a8d3453a Visual Studio Code: Set Workspace recommended extensions (#1398)
Codify the Recommended VS Code Extensions:

- [Shell Syntax](https://marketplace.visualstudio.com/items?itemName=bmalehorn.shell-syntax)
- [ShellCheck](https://marketplace.visualstudio.com/items?itemName=timonwong.shellcheck)
- [Shell Format](https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format)

Documentation: https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions
2025-01-10 16:49:53 +01:00
e592b80716 New Script: Prometheus Alertmanager (#1272)
* New Script: Prometheus Alertmanager

* Alertmanager: Append v before Release-Version

* Alertmanager: Switch to `/opt` before updating release

* Alertmanager: Split `var_tags` by `;`

* Alertmanager: Change installation of curl, sudo and mc to a oneliner

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Alertmanager: Set correct copyright

* Alertmanager: Change the way how the systemd unit file is written to disk

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Alertmanager: Changed the way on how we move and delete files

* Alertmanager: Make files executable

* Alertmanager: Set correct license and source header

* Update prometheus-alertmanager.json

---------

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-01-09 16:25:06 +01:00