From 6ffceee3cae9a2288c51647c64661d36d7b799b4 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Thu, 18 Apr 2024 08:11:16 +1000 Subject: [PATCH] =?UTF-8?q?Docs=20=F0=9F=93=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/MIGRATION.md | 9 ++++++++- front/php/templates/language/en_us.json | 0 front/php/templates/language/es_es.json | 0 front/php/templates/language/ru_ru.json | 0 4 files changed, 8 insertions(+), 1 deletion(-) mode change 100644 => 100755 front/php/templates/language/en_us.json mode change 100644 => 100755 front/php/templates/language/es_es.json mode change 100644 => 100755 front/php/templates/language/ru_ru.json diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index d905b4ab..2950b2f7 100755 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -25,8 +25,15 @@ The migration should be pretty straightforward. The application installation fol > [!NOTE] > The application uses symlinks linking the old db and config locations to the new ones, so data loss should not occur. [Backup strategies](https://github.com/jokob-sk/NetAlertX/blob/main/docs/BACKUPS.md) are still recommended to backup your setup. -In summary, docker file mount locations in your `docker-compose.yml` or docker run command have changed. Examples follow. +In summary: +1. Docker file mount locations in your `docker-compose.yml` or docker run command have changed. +2. Backup your current config and database (optional `devices.csv` to have a backup) +3. Rename them to `app.db` `app.conf` +4. Update the volume mappings in your `docker-compose.yaml` +5. Place the renamed files the above locations. + +Examples follow. ## Example 1: Mapping folders diff --git a/front/php/templates/language/en_us.json b/front/php/templates/language/en_us.json old mode 100644 new mode 100755 diff --git a/front/php/templates/language/es_es.json b/front/php/templates/language/es_es.json old mode 100644 new mode 100755 diff --git a/front/php/templates/language/ru_ru.json b/front/php/templates/language/ru_ru.json old mode 100644 new mode 100755