Compare commits

..
Author SHA1 Message Date
community-scripts-pr-app[bot]andgithub-actions[bot] 434e0445f6 Update CHANGELOG.md (#18952)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 22:09:50 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 028961ba53 Update CHANGELOG.md (#18951)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 22:09:19 +00:00
4 changed files with 24 additions and 6 deletions

No files matched your search

+3 -1
View File
@@ -615,7 +615,9 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
### 💾 Core
- Reload systemd units after a .deb install [@MickLesk](https://github.com/MickLesk) ([core#291](https://github.com/community-scripts/core/pull/291))
- incus: install what a Proxmox template ships into Incus containers too [@MickLesk](https://github.com/MickLesk) ([core#293](https://github.com/community-scripts/core/pull/293))
- pve/incus: give ct scripts host-side helpers that work on both backends [@MickLesk](https://github.com/MickLesk) ([core#294](https://github.com/community-scripts/core/pull/294))
- Reload systemd units after a .deb install [@MickLesk](https://github.com/MickLesk) ([core#291](https://github.com/community-scripts/core/pull/291))
- Read github.com when the update check hits the API rate limit [@MickLesk](https://github.com/MickLesk) ([core#292](https://github.com/community-scripts/core/pull/292))
- Resume a VM image download that broke off [@MickLesk](https://github.com/MickLesk) ([core#290](https://github.com/community-scripts/core/pull/290))
+15 -3
View File
@@ -213,8 +213,20 @@ start
build_container
msg_info "Attaching data storage volume"
ct_attach_volume 1 /opt/authentik-data
$STD ct_exec bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \
$STD pct stop "$CTID"
if [ "${PROTECT_CT:-}" == "1" ] || [ "${PROTECT_CT:-}" == "yes" ]; then
$STD pct set "$CTID" --protection 0
$STD pct set "$CTID" -mp0 "${CONTAINER_STORAGE}":1,mp=/opt/authentik-data,backup=1
$STD pct set "$CTID" --protection 1
else
$STD pct set "$CTID" -mp0 "${CONTAINER_STORAGE}":1,mp=/opt/authentik-data,backup=1
fi
$STD pct start "$CTID"
for i in {1..10}; do
pct status "$CTID" | grep -q "status: running" && break
sleep 1
done
$STD pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \
cp /opt/authentik/tests/geoip/GeoLite2-ASN-Test.mmdb /opt/authentik-data/geoip/GeoLite2-ASN.mmdb; \
cp /opt/authentik/tests/geoip/GeoLite2-City-Test.mmdb /opt/authentik-data/geoip/GeoLite2-City.mmdb; \
cp -r /opt/authentik/blueprints /opt/authentik-data/; \
@@ -223,7 +235,7 @@ $STD ct_exec bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}
msg_ok "Attached data storage volume"
msg_info "Starting Services"
ct_exec systemctl enable -q --now authentik-server authentik-worker
pct exec "$CTID" -- systemctl enable -q --now authentik-server authentik-worker
msg_ok "Started Services"
description
+5 -1
View File
@@ -44,7 +44,11 @@ build_container
description
msg_info "Restarting ${APP} for DietPi's first boot"
ct_restart
if command -v pct &>/dev/null; then
pct reboot "$CTID"
else
incus restart "$CTID"
fi
msg_ok "Restarted ${APP}"
msg_ok "Completed successfully!"
+1 -1
View File
@@ -45,4 +45,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${TAB}${GATEWAY}${BGN}To link the sensor to your orb account run:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}$(ct_exec_hint runuser -u orb -- orb link)${CL}"
echo -e "${TAB}${GATEWAY}${BGN}pct exec ${CTID} -- runuser -u orb -- orb link${CL}"