mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-28 16:52:55 +02:00
0ce1cea6cd
* UmlautAdaptarr: use the Debian 13 Microsoft repo with its 2025 signing key The container is Debian 13 (var_version 13) but the script configures the Microsoft debian/12 prod repo with suite bookworm. The move to debian/13 was reverted in #8392 because apt reported "OpenPGP signature verification failed" (#8385), diagnosed at the time as Microsoft not having populated the trixie repo. The actual cause was the signing key: debian/13/prod is signed by EE4D7792F748182B (microsoft-2025.asc), while the script kept microsoft.asc (EB3E94ADBE1229CF). The suite and URL were changed but the key was not. The trixie repo carries the required packages at current patch level (dotnet-sdk-8.0 8.0.423-1, aspnetcore-runtime-8.0 8.0.29-1). This makes the call identical to the six other scripts already on the Debian 13 Microsoft repo (technitiumdns, igotify, mail-archiver, rdtclient, fileflows, immichframe). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * UmlautAdaptarr: migrate existing containers to the Debian 13 repo on update Per review feedback: the install-side fix only helps new containers. Existing ones keep the Debian 12 repo indefinitely, because update_script only fetches a GitHub release and never touches apt. Repoints them when the stale Debian 12 repo is detected, mirroring the conditional setup_deb822_repo calls in ct/technitiumdns.sh and ct/fileflows.sh. The guard makes this a no-op once migrated. setup_deb822_repo's microsoft* globs also clear the pre-#9839 microsoft-prod.sources layout; its key lived in /usr/share/keyrings, which cleanup_old_repo_files does not cover, so it is removed explicitly as ct/technitiumdns.sh does. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Tim Moore <tim.moore@ingenuity.com.au> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
53 lines
1.3 KiB
Bash
53 lines
1.3 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2026 community-scripts ORG
|
|
# Author: elvito
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
# Source: https://github.com/PCJones/UmlautAdaptarr
|
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
color
|
|
verb_ip6
|
|
catch_errors
|
|
setting_up_container
|
|
network_check
|
|
update_os
|
|
|
|
msg_info "Installing Dependencies"
|
|
setup_deb822_repo \
|
|
"microsoft" \
|
|
"https://packages.microsoft.com/keys/microsoft-2025.asc" \
|
|
"https://packages.microsoft.com/debian/13/prod/" \
|
|
"trixie" \
|
|
"main"
|
|
$STD apt install -y \
|
|
dotnet-sdk-8.0 \
|
|
aspnetcore-runtime-8.0
|
|
msg_ok "Installed Dependencies"
|
|
|
|
fetch_and_deploy_gh_release "UmlautAdaptarr" "PCJones/Umlautadaptarr" "prebuild" "latest" "/opt/UmlautAdaptarr" "linux-x64.zip"
|
|
|
|
msg_info "Creating Service"
|
|
cat <<EOF >/etc/systemd/system/umlautadaptarr.service
|
|
[Unit]
|
|
Description=UmlautAdaptarr Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
WorkingDirectory=/opt/UmlautAdaptarr
|
|
ExecStart=/usr/bin/dotnet /opt/UmlautAdaptarr/UmlautAdaptarr.dll --urls=http://0.0.0.0:5005
|
|
Restart=always
|
|
User=root
|
|
Group=root
|
|
Environment=ASPNETCORE_ENVIRONMENT=Production
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
EOF
|
|
systemctl enable -q --now umlautadaptarr
|
|
msg_ok "Created Service"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|