mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-28 03:03:18 +01:00
docs: fix broken cli-tools links (development/ -> guides/, dead anchors)
update-system.md and faq.md (ru+en) linked to <lang>/development/cli-tools.md, but the file lives at <lang>/guides/cli-tools.md (as the sidebar already points) — the old path rendered an empty docsify page. Also repoint two non-existent anchors (#миграции-базы-данных, #database-migrations) to the real section (#обновление-бд-после-обновления-версии / #database-updates-after-version-upgrade).
This commit is contained in:
@@ -54,7 +54,7 @@ At this stage the following actions are performed:
|
||||
sudo /usr/bin/python3 /home/xc_vm/update "/home/xc_vm/tmp/.update.tar.gz" "HASH" > /dev/null 2>&1 &
|
||||
```
|
||||
|
||||
> 💡 After the Python updater finishes, it calls `console.php update post-update` which triggers [database migrations](en-us/development/cli-tools.md#database-migrations) and post-update cleanup.
|
||||
> 💡 After the Python updater finishes, it calls `console.php update post-update` which triggers [database migrations](en-us/guides/cli-tools.md#database-updates-after-version-upgrade) and post-update cleanup.
|
||||
|
||||
---
|
||||
|
||||
|
||||
+2
-2
@@ -107,7 +107,7 @@ XC_VM's brute-force guard blocks IPs after too many failed login attempts. This
|
||||
|
||||
1. **From admin panel:** Tools → IP Management → remove from blocked list.
|
||||
2. **From CLI:** `sudo /home/xc_vm/console.php tools flush` — flushes all blocked IPs.
|
||||
3. **If completely locked out:** Use `console.php tools rescue` to create a rescue access code (see [CLI Tools](en-us/development/cli-tools.md)).
|
||||
3. **If completely locked out:** Use `console.php tools rescue` to create a rescue access code (see [CLI Tools](en-us/guides/cli-tools.md)).
|
||||
|
||||
---
|
||||
|
||||
@@ -178,7 +178,7 @@ Migration `.sql` files from `migrations/` run automatically during updates. If o
|
||||
2. Open the file in `migrations/` and inspect the SQL.
|
||||
3. Fix the issue manually in MySQL, then the next update will continue from where it stopped.
|
||||
|
||||
See [Database Migrations](en-us/development/cli-tools.md#database-migrations) for details.
|
||||
See [Database Migrations](en-us/guides/cli-tools.md#database-updates-after-version-upgrade) for details.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ src/Cli/Commands/UpdateCommand.php
|
||||
sudo /usr/bin/python3 /home/xc_vm/update "/home/xc_vm/tmp/.update.tar.gz" "HASH" > /dev/null 2>&1 &
|
||||
```
|
||||
|
||||
> 💡 После завершения Python-обновления вызывается `console.php update post-update`, который запускает [миграции базы данных](ru-ru/development/cli-tools.md#обновление-бд-после-обновления-версии) и post-update очистку.
|
||||
> 💡 После завершения Python-обновления вызывается `console.php update post-update`, который запускает [миграции базы данных](ru-ru/guides/cli-tools.md#обновление-бд-после-обновления-версии) и post-update очистку.
|
||||
|
||||
---
|
||||
|
||||
|
||||
+2
-2
@@ -107,7 +107,7 @@ sudo apt install <имя_библиотеки>
|
||||
|
||||
1. **Через админ-панель:** Инструменты → Управление IP → удалить из списка блокировки.
|
||||
2. **Через CLI:** `sudo /home/xc_vm/console.php tools flush` — сбрасывает все блокировки.
|
||||
3. **Если полностью заблокированы:** Используйте `console.php tools rescue` для создания кода восстановления доступа (см. [CLI-инструменты](ru-ru/development/cli-tools.md)).
|
||||
3. **Если полностью заблокированы:** Используйте `console.php tools rescue` для создания кода восстановления доступа (см. [CLI-инструменты](ru-ru/guides/cli-tools.md)).
|
||||
|
||||
---
|
||||
|
||||
@@ -178,7 +178,7 @@ SQL-файлы миграций из `migrations/` выполняются авт
|
||||
2. Откройте файл в `migrations/` и изучите SQL.
|
||||
3. Исправьте проблему вручную в MySQL — следующее обновление продолжит с места остановки.
|
||||
|
||||
Подробности: [Миграции БД](ru-ru/development/cli-tools.md#миграции-базы-данных).
|
||||
Подробности: [Миграции БД](ru-ru/guides/cli-tools.md#обновление-бд-после-обновления-версии).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user