WiseCP module update: refreshing a Tre module safely
A new version of your module is out on the marketplace and a fix in the release notes caught your eye. A WiseCP module update takes a few minutes, but the order matters: backup first, then the files, and a short check at the end. This article covers the steps shared by all Tre modules and the two most common problems.

Read the release notes first
Each module's guide has an "Update" page showing the current version number, its date and the changes. The version table for all products is on the release notes page. If a note mentions a database table or a new setting field, schedule the update outside busy hours.
Take a backup
An update normally does not touch your settings, but you should still have a way back. Back up two things: the module folder and the WiseCP database. You can take the database backup with your hosting panel's backup tool. For the folder, if you have SSH access, this command is enough (adjust the path to your installation):
cd /home/kullanici/public_html
tar czf ~/tremail-yedek-$(date +%F).tar.gz coremio/modules/Servers/TreMail
Some modules keep their settings in a config.php file inside the module folder, and the zip contains the default version of that file. That is why the TreObject, TreBackup, TreDDoS, TreBGP, TreCloud AI and VakıfBank guides ask you to back up config.php before extracting the zip by hand and to put it back afterwards. For TreCloud AI, also back up the data/ folder.
Extract the new zip over the old files
Download the new version from the WiseCP marketplace (marketplace.wisecp.com) and extract it to the WiseCP site root as you did at installation, allowing existing files to be overwritten. The folders are the same as at installation: server modules under coremio/modules/Servers, product modules under coremio/modules/Product, addons under coremio/modules/Addons.
You do not need to do anything for your licence. The license.local.php file is not in the package; it is not deleted on update and the licence is kept. Server records, product settings and services live in the database and do not change. The data that modules such as TreHypervisor keep under coremio/storage/<code>/ is outside the module folder and is not affected by the update.
There are two exceptions. VakıfBank can again be uploaded with Settings › Financial › Payment Gateways › Upload New Module. Addons such as TrePage and TreTools can also be uploaded with the Upload New Addon button on Tools › Addons › All Addons.
After the update
Open the module page in the admin panel once. Some versions apply table changes once on this first opening; the TreHypervisor guide states this explicitly. Then clear the browser cache or reload the page with Ctrl+F5; old script and style files can make the screen look half-broken.
Some modules have a separate server-side part. For example, the TreApps agent on the Docker server is updated with Reinstall agent on the Servers tab. If such a step exists, it is written on the module's update page.
Troubleshooting
Two situations come up most often after an update. The first is leftover old files: if the file manager refused to overwrite, or the zip was extracted into a nested folder (coremio/coremio/...), the old version keeps running. Check the file dates in the module folder and, if needed, extract the zip again to the right place.
If you want to delete the folder and install cleanly, first set aside license.local.php and, if present, config.php, and put them back after extracting. When you reinstall the module on the same server, the licence may no longer match its installation binding; in that case use the "Reset installation binding" step in the licence transfer article.
The second is caching: if menus, buttons or new fields do not appear, clear the browser cache and try another browser or a private window. If settings have reverted to defaults, restore your config.php backup. If the licence box opens again, check that license.local.php is in place and click Query licence.
Frequently asked questions
Will my licence be deleted during an update?
No. The license.local.php file is not in the package, so it is not overwritten and the licence is kept.
Will I lose my settings?
Server records, product settings and services stay in the database and do not change. For modules that keep settings in config.php, back up that file and put it back.
Where do I download the new version?
From the WiseCP marketplace (marketplace.wisecp.com). The current version is shown on the module guide's Update page and in the release notes table.
What should I do if the screen looks broken after the update?
Open the module page once and clear the browser cache. If the problem persists, check that the files were extracted to the right folder.
Related pages
Thanks for your feedback!