How do I update my custom self-developed script when new versions release?

Summary
This update guide is specifically for custom scripts developed in-house from Alibaba Cloud's Self-developed category. It does not apply to WordPress plugins, XenForo addons, or third-party scripts. Before updating, ensure you make a full backup of your files and database. Always back up first; failed updates can break your site or lose data. Test updates on a staging copy if possible. Download the latest version package from the resource page and read the update notes carefully. Some versions require manual database migration steps due to breaking changes. The standard update process involves putting the site into maintenance mode, uploading new files via FTP (overwriting old ones), running any available database migration wizards, clearing caches, and testing functionality. Important warnings include never skipping database migration steps, keeping a record of custom code edits for re-application after an upgrade, adjusting server configurations if necessary, and contacting support with error logs in case of issues during the update process.
Admin
Moderating
Donor Member
Master Member
Elite Member
Active Member
Beigetreten
Mai 31, 2020
Nachrichten
2,980
Reaktionswert
1,693
This update guide works exclusively for custom self-developed scripts from our Self-developed category. Do not use these steps for WordPress plugins, XenForo addons or third-party scripts.

Before updating: Make a full backup of your script files and database. Always backup first, failed updates can break your site or lose data. Test updates on staging copy if possible.Download the latest version package from our resource page.Read the update notes on the resource page carefully. Some versions have breaking database changes and require manual database migration steps, some are simple file-only updates.

Standard update steps:
  1. Put your site into maintenance mode if the script supports it.
  2. Upload new version files via FTP, overwrite old files. Do NOT delete your storage, uploads or cache folders unless the update note explicitly tells you to delete them. These folders hold your user data, images and cache.
  3. After file upload completes, open your script update URL (example: shturl.cc/BXHNVYm5Tm. Run the database migration wizard if available. Some releases require manual SQL import.
  4. Clear script cache and browser cache after update finishes.
  5. Test frontend and admin panel functionality to confirm everything loads correctly.
Important warnings:Never skip database migration steps. If database migration fails the script will not load correctly.Custom code edits you manually added to old files may get overwritten during file overwrite. Keep a separate record of your custom code changes so you can re-apply them after upgrade.If the new version requires PHP extension or server changes, adjust your server config before performing the upgrade.If you hit errors during update, restore your backup and contact support with error logs, script name and site URL.
 
Trending Resources
Zurück
Oben