Danger
Back up first. An update replaces the product's files, so changes you made to them are lost. Keep your own changes under version control, and try the update on a staging copy when you can.
Envato emails you when a new version is out. Every product updates the same way:
Read the release notes
Open the changelog for the version you're moving to. New requirements and one-off steps are listed there.
Back up
Back up the database, the
.envfile, thestorage/folder and any files you changed.Replace the files
Download the new archive from your Envato downloads, extract it, and copy the contents of its
Scriptfolder over your site's files. Keep your.envfile.Run the update
Open
https://your-site.example/updateand follow the update wizard. It applies the database changes the new version needs.Check the basics
Sign in, send a test email, and try the main thing your site does.
Changed the code yourself?
Keep your version in Git, so an update becomes a merge instead of starting over:
- Keep the code in a private repository. A public copy of a paid product gets taken down.
- Keep your changes on their own branch.
- Add each new release to the main branch, then merge it into yours and resolve any conflicts.
- Deploy your merged version and run the update wizard as usual.
If something goes wrong
The installer appears after the update
The install marker in storage/app/ wasn't kept. Put your storage/ folder back from the backup.
A 500 error right after updating
Read the last error in storage/logs/laravel.log. Then check the PHP version the new release needs, that the files belong to the web server's user, and that .env was restored.