docs: split old Notes into 09.3.N, fix 00 (news bot), move check scripts to scripts/checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
22
09.3.3 Fix AWG auto profiles 21.06.md
Normal file
22
09.3.3 Fix AWG auto profiles 21.06.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 09.3.3 Fix AWG auto profiles 21.06
|
||||
|
||||
_Старая заметка из Notes (июнь 2026), перенесена 23.10.2026. Оригинал: Архив/Старые заметки Notes 20261023._
|
||||
|
||||
Repo: https://github.com/andrey271192/amnezia_web-PRO
|
||||
Commit: cbc20a1 — fix: auto-detect awg profiles on install
|
||||
Что исправлено
|
||||
Переустановка из GitHub работает для /opt/amnezia-admin без .git.
|
||||
Установщик сохраняет текущий порт панели.
|
||||
Установщик сохраняет текущий Docker volume /data.
|
||||
Перед заменой /opt/amnezia-admin создаётся backup папки.
|
||||
Если найден один контейнер amnezia-awg*, он становится AWG_CONTAINER.
|
||||
Если найдено 2+ контейнера amnezia-awg*, AWG_PROFILES создаётся автоматически и сохраняется в /root/amnezia-admin.awg-profiles.json.
|
||||
Dockerfile использует npm ci по package-lock.json.
|
||||
Что сказать пользователю
|
||||
curl -fsSL https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO/main/scripts/install.sh | sudo env SKIP_LANDING=1 bash
|
||||
После установки: обновить страницу Ctrl+F5. AWG контейнеры не удаляются и не пересоздаются.
|
||||
Проверено
|
||||
bash -n scripts/install.sh
|
||||
bash -n scripts/uninstall.sh
|
||||
node --check server.js
|
||||
npm audit --audit-level=moderate
|
||||
Reference in New Issue
Block a user