How to Update QBCore, Qbox or ESX Without Breaking Your Server
Update QBCore, Qbox or ESX safely: read the changelog, back up the server and database, test a copy, then check resources and the console.
Short answer
Back up the server files and the database, read the changelog for the version you are moving to, apply the update to a test copy first, and copy it to the live server only after the test copy starts cleanly. Keep your config edits somewhere you can restore them from.
Before you update
- Back up the server folder and the database. Follow how to back up your FiveM server. A copy of the resources folder without a database dump is not a full backup.
- Read the changelog. Check the GitHub releases page of the framework and of each dependency. Qbox's release notes have labelled breaking changes, such as changes to duty functions and progress bar behaviour, so a single update can change how your scripts behave.
- List your edits. Note every file you changed inside the framework resource, especially config files. Qbox's guide for updating
qbx_coretells you to back up edited files first, including the config folder. - Make a test copy. Copy the server to a separate folder or machine, with the same scripts and a copy of the database. Never test on the only copy of your live data.
The update itself
- Stop the test server.
- Download the new framework release. Replace the old resource folder instead of writing new files over it, then copy your saved edits back in.
- Check dependencies. If the changelog says a version of
oxmysqlorox_libis required, update that resource too. Do not guess a version number from an old forum post. - Compare your config files with the new defaults. Look for renamed or new options and copy across only what you need.
- Check resource names. Scripts often depend on exact folder names, so a renamed resource can stop others from starting. Make sure dependencies are started before the resources that use them.
- Start the test server and read the console. Fix every error before you go on.
Checks after the update
- Read the startup output for errors and for "failed to start" lines.
- Join with a test account and check login, character loading, job, money and inventory, plus one script from each main group you run.
- Look for database errors in the console, such as missing tables or columns.
- Only then copy the update to the live server, ideally in a quiet window, and repeat the checks there.
Rollback plan
- Keep the old framework folder and the database backup until the new version has run without problems for a while.
- If the live server fails, stop it, put back the old framework folder and your saved edits, and restore the database backup if the new version changed data. Data written after the backup will be lost, so act quickly.
- Practise the rollback on your test copy before you need it.
Common problems
- A resource fails to start: a folder name differs from what another script expects, or a dependency is missing. Compare against the changelog.
- Scripts break after the update: the framework may have changed a function or its behaviour. Read the release notes and check whether the script needs its own update.
- Config errors: an old option is ignored or rejected. Compare with the new default file.
- Players cannot load characters: check the console for database connection or schema messages.
FAQ
Can I update QBCore, Qbox or ESX on a live server without testing?
Not safely. Even a small update can change functions or resource names that other scripts use. Test on a copy first.
Do I have to update oxmysql and ox_lib at the same time as the framework?
Only if the framework changelog or the dependency's release notes say so. Check the release notes for each resource.
Is a database backup enough on its own?
No. Keep the server files and your edited config too, because restoring only one of them can leave a broken setup.
Sources
- Qbox qbx_core releases
- Qbox docs: Tools and Basics
- Qbox docs: Converting from QBCore to Qbox
- qbx_core on the Cfx.re forum
- overextended/oxmysql releases
- overextended/ox_lib releases
- QBCore-Remastered qb-core
- ESX framework documentation
Last checked: 30 November 2026
Note: This is a general process. Framework changes differ between versions, so follow the release notes for the version you install. We did not verify exact update steps for ESX from its documentation, so check its docs for ESX-specific steps.
FiveM.tools was founded with sponsorship from Nyru.