Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update docs (#494)

Leendert de Borst80c0992eb45d
diff --git a/docs/installation/update/index.md b/docs/installation/update/index.md
index 1ef67ed08..fe60ae57a 100644
--- a/docs/installation/update/index.md
+++ b/docs/installation/update/index.md
@@ -34,9 +34,9 @@ For most version updates, you can use the standard update process:
> Tip: to skip the confirmation prompts and automatically proceed with the update, use the `-y` flag: `./install.sh update -y`
## Version-Specific Upgrade Guides
-Some versions require additional steps during upgrade. If you are upgrading from an older version, please check the relevant upgrade guide below:
+Upgrading from certain earlier versions require additional steps during upgrade. If you are upgrading from an older version, please check the relevant articles below if it applies to your server:
-- [Updating to v0.10.0](v0.10.0.html) - SQLite to PostgreSQL migration
+- [Updating from < v0.10.0](v0.10.0.html) - SQLite to PostgreSQL migration
## Additional Update Options
diff --git a/docs/installation/update/v0.10.0.md b/docs/installation/update/v0.10.0.md
index 554109694..b0c32ea1b 100644
--- a/docs/installation/update/v0.10.0.md
+++ b/docs/installation/update/v0.10.0.md
@@ -1,17 +1,20 @@
---
layout: default
-title: Update to v0.10.0
+title: Update from < v0.10.0
parent: Update
grand_parent: Server Installation
nav_order: 1
---
-# Upgrading to v0.10.0
+# Updating from < v0.10.0
{: .no_toc }
-This guide covers the upgrade process from version < v0.10.0 to v0.10.0 or newer, which includes a one-time database migration from SQLite to PostgreSQL.
+This guide covers the upgrade process from version < v0.10.0 to the latest version. Due to significant database changes, this upgrade must be performed in two steps:
-The v0.10.0 release introduces a new database backend, PostgreSQL, which replaces SQLite. This change is required because SQLite is not suitable for environments with concurrent writes that AliasVault requires.
+1. First upgrade to version 0.17.0 and perform the database migration
+2. Then upgrade to version 0.18.0 or greater
+
+Since the v0.10.0 release the database backend has changed from SQLite to PostgreSQL. This change is required because SQLite is not suitable for environments with concurrent writes that AliasVault requires.
A built-in database migration tool is included in the installer script to help you migrate your data from SQLite to PostgreSQL.
@@ -21,14 +24,17 @@ A built-in database migration tool is included in the installer script to help y
```bash
cp database/AliasServerDb.sqlite database/AliasServerDb.sqlite.backup
```
-2. Update AliasVault to the latest version:
+
+2. Update AliasVault to version 0.17.0:
```bash
-./install.sh update
+./install.sh install 0.17.0
```
+
3. Run the database migration tool:
```bash
./install.sh migrate-db
```
+
4. After the migration has completed successfully, restart all AliasVault containers:
```bash
./install.sh restart
@@ -36,4 +42,9 @@ cp database/AliasServerDb.sqlite database/AliasServerDb.sqlite.backup
5. Test the upgrade by logging in to the admin panel and checking that your data is intact.
+6. Once you've confirmed everything is working correctly, you can update to the latest version:
+```bash
+./install.sh update
+```
+
If you encounter any issues during the upgrade, please create an issue on the [GitHub repository](https://github.com/lanedirt/AliasVault/issues) or contact via Discord.