Upgrade to v3
Upgrade Process
- Backup database to avoid data loss due to upgrade failure.
- Admin Panel -> Dashboard -> Settings -> Version Type
- Select
Beta
- As this cross-framework version upgrade can only be performed in the terminal, you will need to select "Beta" in the background to ensure you are ready, but the upgrade is the official version.
- Select
- Delete the website client plug-in to avoid conflicts. Delete the folder directly.
/plugins/Moments
/plugins/ThemeFrame
/plugins/WebFrame
/plugins/ForumQ
/plugins/ForumX
/plugins/ZhijieWeb
- Remove old expansion packs
- Execute in the terminal
composer remove fresns/web-engine
- Execute in the terminal
- Execute the upgrade command
- Execute in the terminal
php artisan fresns:upgrade
- If an error is reported, execute the upgrade command again. 2 to 3 upgrades are required due to changes in the framework.
- Execute in the terminal
Notes:
- Backend login portal, configuration items have changed, so reset to default path
/fresns/admin
DB_TIMEZONE
is changed toAPP_TIMEZONE
in the.env
configuration.CACHE_DRIVER
is changed toCACHE_STORE
in the.env
configuration. If it is not in the configuration, you need to add a new one with a value ofCACHE_STORE=file
.- For email settings, change the email template variable name from
{sitename}
to{name}
.