Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

feat: migration guide for hay-kot version (#620)

Tonya4c0af18dcb9e
diff --git a/docs/.vitepress/menus/en.mts b/docs/.vitepress/menus/en.mts
index e42aaf11..31b511ff 100644
--- a/docs/.vitepress/menus/en.mts
+++ b/docs/.vitepress/menus/en.mts
@@ -6,6 +6,7 @@ export default [
{text: 'Installation', link: '/en/installation'},
{text: 'Configure', link: '/en/configure'},
{text: 'Upgrade Guide', link: '/en/upgrade'},
+ {text: 'Migration Guide', link: '/en/migration'},
]
},
{
diff --git a/docs/en/migration.md b/docs/en/migration.md
new file mode 100644
index 00000000..516a993d
--- /dev/null
+++ b/docs/en/migration.md
@@ -0,0 +1,73 @@
+# Migration Guide
+
+This guide will help you migrate from the original version of Homebox ([https://github.com/hay-kot/homebox](https://github.com/hay-kot/homebox)) to our actively maintained fork.
+
+## Why Migrate?
+
+Migrating to our fork ensures you benefit from:
+
+- **Active Development**: The original Homebox has been archived and is no longer maintained, while our fork receives regular updates and bug fixes.
+- **Community Support**: Get help and advice on our [Discord server](https://discord.homebox.software) or [GitHub](https://git.homebox.software).
+- **Improved Features**: Enjoy enhancements and optimizations that make Homebox even better.
+
+## Prerequisites
+
+Before starting the migration, ensure you have:
+
+- A working installation of `hay-kot/homebox`.
+- Docker and Docker Compose installed on your server (this guide assumes Docker is being used).
+
+## Migration Steps
+
+### 1. Stop the Original Homebox Instance
+
+To avoid conflicts during migration, shut down your existing `hay-kot/homebox` instance:
+
+```bash
+docker compose down
+```
+
+### 2. Backup Your Data
+
+**This step is critical!** Before proceeding, create a backup of your data to ensure nothing is lost.
+
+> [!WARNING]
+> **Don't skip this step!** Backing up your data is the most important part of the migration process.
+
+Locate the `data` folder used by your current Homebox installation and copy its contents to a safe location on your server. If you are using a data volume, follow the [instructions on Docker's website](https://docs.docker.com/engine/storage/volumes/#back-up-restore-or-migrate-data-volumes).
+### 3. Update the Docker Compose File
+
+Modify your `docker-compose.yml` file to point to the new Homebox fork:
+
+- Replace:
+ `ghcr.io/hay-kot/homebox:latest`
+ **With:**
+ `ghcr.io/sysadminsmedia/homebox:latest`
+
+- If you're using the rootless image, replace:
+ `ghcr.io/hay-kot/homebox:latest-rootless`
+ **With:**
+ `ghcr.io/sysadminsmedia/homebox:latest-rootless`
+
+- Update the environment variable:
+ If you're using `HBOX_STORAGE_SQLITE_URL`, change it to `HBOX_DATABASE_SQLITE_PATH`.
+
+### 4. Start the New Homebox Instance
+
+Launch the new version of Homebox with the following command:
+
+```bash
+docker compose up -d
+```
+
+Once the service is running, access the web interface and verify:
+
+- All your data has been successfully migrated.
+- The service is functioning as expected.
+
+## Troubleshooting
+
+If you run into any issues during the migration process, don't hesitate to reach out for help:
+
+- **Discord**: [Join our community](https://discord.homebox.software) for real-time support.
+- **GitHub**: [Open an issue or discussion](https://git.homebox.software) for technical assistance.
diff --git a/docs/en/quick-start.md b/docs/en/quick-start.md
index ac665eff..6b90896f 100644
--- a/docs/en/quick-start.md
+++ b/docs/en/quick-start.md
@@ -1,5 +1,7 @@
# Quick Start
+> [!TIP]
+> If you're currently running the original version of Homebox ([https://github.com/hay-kot/homebox](https://github.com/hay-kot/homebox)) switching is easy, just follow the instructions in the [Migration Guide](./migration) to switch to the new version.
1. Install Homebox either by using [the latest Docker image](./installation#docker), or by downloading the correct executable for your Operating System from the [Releases](https://github.com/sysadminsmedia/homebox/releases). (See [Installation](./installation) for more details)
2. Browse to `http://SERVER_IP:3100` (if Using Docker) or `http://SERVER_IP:7745` (if installed locally) to access the included web User Interface.