From 52877ac377c92c0d0ce74dce187838fdbeae6676 Mon Sep 17 00:00:00 2001 From: RKeaves Date: Tue, 29 Apr 2025 02:04:46 -0500 Subject: [PATCH] Update upating_unit3d_version.md --- upating_unit3d_version.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/upating_unit3d_version.md b/upating_unit3d_version.md index f949089..cb7f7f0 100644 --- a/upating_unit3d_version.md +++ b/upating_unit3d_version.md @@ -2,15 +2,12 @@ This guide walks you through updating UNIT3D from `v8.3.3` to `v9.0.1` and upgrading PHP from `8.3` to `8.4`. -> [!IMPORTANT] -> Ensure you have a complete backup before proceeding. - ## 1. Create Backup -UNIT3D offers built-in backups. Refer to the Backups page in this wiki for usage. +UNIT3D offers built-in backups. Refer to the Backups documentation for usage. -> [!IMPORTANT] -> Verify your backups before continuing. +> [!IMPORTANT] +> Ensure you have a complete backup before proceeding. ## 2. Enter Maintenance Mode @@ -72,7 +69,7 @@ In Connection.php line 571: **Resolve NULL values in tickets table:** -### 1. Log in to MySQL: +1. Log in to MySQL: ```bash mysql -u your_username -p @@ -86,7 +83,7 @@ USE your_database_name; 2. Fix the Null Values: - Run the following SQL command to update any null entries in the `staff_read` column to 0: +**Run** the following SQL command to update any null entries in the `staff_read` column to 0: ```sql UPDATE tickets SET staff_read = 0 WHERE staff_read IS NULL; @@ -105,7 +102,7 @@ php artisan migrate --- -## 5. Final Reset & Cleanup +## 7. Final Reset & Cleanup **After updating and migrating, run the following commands to clear caches, reinstall dependencies, rebuild assets, and restart services:** @@ -129,7 +126,7 @@ sudo php artisan auto:sync_torrents_to_meilisearch --wipe && \ sudo php artisan auto:sync_people_to_meilisearch ``` -**Finally, finish the update and bring your site back online:** +**Bring the site back online:** ```bash sudo php artisan scout:sync-index-settings && \ sudo php artisan auto:sync_torrents_to_meilisearch --wipe && \