mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-05 23:10:59 +00:00
Compare commits
9 Commits
2026-09-03
...
fix-authen
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
481c4c99a6 | ||
|
|
93fd311cf3 | ||
|
|
48af50c8ae | ||
|
|
45e894e572 | ||
|
|
277a7a5850 | ||
|
|
d3960ab7c5 | ||
|
|
205839c29a | ||
|
|
a73f6a7e70 | ||
|
|
60d84967c6 |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -530,6 +530,18 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-09-04
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- fix-update-authentik-2026.8.1 [@thieneret](https://github.com/thieneret) ([#16999](https://github.com/community-scripts/ProxmoxVE/pull/16999))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- setup_go: resolve bare major.minor versions to the latest patch release [@MickLesk](https://github.com/MickLesk) ([core#24](https://github.com/community-scripts/core/pull/24))
|
||||
|
||||
## 2026-09-03
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
@@ -88,7 +88,7 @@ function update_script() {
|
||||
msg_info "Moving blueprints to presistent directory"
|
||||
cp -r /opt/authentik/blueprints /opt/authentik-data/
|
||||
rm -r /opt/authentik/blueprints
|
||||
chown -R authentik:authentik /opt/authentik-data
|
||||
$STD find /opt/authentik-data -path '*/lost+found' -prune -o -exec chown authentik:authentik {} +
|
||||
yq -i ".blueprints_dir = \"/opt/authentik-data/blueprints\"" /etc/authentik/config.yml
|
||||
msg_ok "blueprints moved to presistent directory"
|
||||
msg_warn "The blueprints provided by authentik are always overwritten when updated! Only manually created custom blueprints remain unchanged between updates."
|
||||
@@ -155,8 +155,8 @@ function update_script() {
|
||||
|
||||
cp -r /opt/authentik/blueprints /opt/authentik-data/
|
||||
rm -r /opt/authentik/blueprints
|
||||
chown -R authentik:authentik /opt/authentik-data
|
||||
|
||||
$STD find /opt/authentik-data -path '*/lost+found' -prune -o -exec chown authentik:authentik {} +
|
||||
|
||||
if [[ $MAJOR == 2026 && $MINOR -lt 8 ]]; then
|
||||
msg_info "Updating Worker and Server config (from $MAJOR.$MINOR)"
|
||||
cat <<EOF >>/etc/default/authentik-server
|
||||
@@ -178,8 +178,8 @@ EOF
|
||||
fi
|
||||
|
||||
msg_info "Updating Worker and Server config"
|
||||
sed -i "s|/dev/shm$|/dev/shm/authentik-server|g" /etc/default/authentik-server
|
||||
sed -i "s|/dev/shm$|/dev/shm/authentik-worker|g" /etc/default/authentik-worker
|
||||
sed -i "s|/dev/shm\/\?$|/dev/shm/authentik-server|g" /etc/default/authentik-server
|
||||
sed -i "s|/dev/shm\/\?$|/dev/shm/authentik-worker|g" /etc/default/authentik-worker
|
||||
msg_ok "Updated Worker and Server config"
|
||||
|
||||
msg_info "Updating services"
|
||||
@@ -228,7 +228,7 @@ $STD pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoi
|
||||
cp /opt/authentik/tests/GeoLite2-City-Test.mmdb /opt/authentik-data/geoip/GeoLite2-City.mmdb; \
|
||||
cp -r /opt/authentik/blueprints /opt/authentik-data/; \
|
||||
rm -r /opt/authentik/blueprints; \
|
||||
chown -R authentik:authentik /opt/authentik-data"
|
||||
find /opt/authentik-data -path '*/lost+found' -prune -o -exec chown authentik:authentik {} +"
|
||||
msg_ok "Attached data storage volume"
|
||||
|
||||
msg_info "Starting Services"
|
||||
|
||||
Reference in New Issue
Block a user