Update upating_unit3d_version.md

This commit is contained in:
RKeaves 2025-05-04 17:56:16 -05:00
parent 69e43f1625
commit ffe3c8e554
1 changed files with 30 additions and 30 deletions

View File

@ -2,21 +2,21 @@
Update UNIT3D to the latest version by reviewing the release notes and following the steps below:
## 1. Create Backup:
## 1. Create Backup
UNIT3D offers built-in backups. Refer to the [Backups documentation](/book/src/backups.md) for usage.
> [!IMPORTANT]
> Ensure there is a complete backup before proceeding.
## 2. Enter Maintenance Mode:
## 2. Enter Maintenance Mode
```bash
cd /var/www/html
php artisan down
```
## 3. Update UNIT3D:
## 3. Update UNIT3D
> [!NOTE]
> Before running the update, review the new releases minimum requirements to ensure the environment meets them.
@ -70,25 +70,25 @@ php artisan down
> yes
```
## Troubleshooting Clean-up:
## Troubleshooting Clean-up
The following commands are **optional** and should be run only as needed to resolve specific errors:
- **Finish any migrations not completed:**
```bash
```sh
sudo php artisan migrate
```
- **Reinstall dependencies:**
```bash
```sh
composer install --prefer-dist --no-dev -o
```
- **Clear caches:**
```bash
```sh
sudo php artisan cache:clear && \
sudo php artisan queue:clear && \
sudo php artisan auto:email-blacklist-update && \
@ -98,13 +98,13 @@ sudo php artisan set:all_cache
- **Rebuild static assets:**
```bash
```sh
sudo bun install && sudo bun run build
```
- **Restart services:**
```bash
```sh
sudo systemctl restart php8.4-fpm && \
sudo php artisan queue:restart && \
sudo php artisan up
@ -112,7 +112,7 @@ sudo php artisan up
- **If running external UNIT3D-Announce, restart the supervisor services:**
```bash
```sh
sudo supervisorctl reread && \
sudo supervisorctl update && \
sudo supervisorctl reload