Update upating_unit3d_version.md
This commit is contained in:
parent
ee26141ffc
commit
52877ac377
|
@ -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 && \
|
||||
|
|
Loading…
Reference in New Issue