How do I update FiveM server artifacts safely?
To update FiveM server artifacts, back up first, download the current recommended build for your operating system from the official Cfx.re artifacts page, stop the server, replace the contents of your artifacts folder and start it again. Keep the previous build so you can roll back. Test big jumps on a staging server first, and read the changelog for breaking changes before updating a live server.
What artifacts are
Artifacts are the FXServer builds Cfx.re publishes. Each one contains the server binary, the bundled txAdmin version and the runtime your resources run on. Updating them brings fixes, new natives and security patches. Running a very old build can also eventually stop working as the platform moves on.
Recommended vs latest
The artifacts page usually marks builds as:
- Recommended: tested more widely. This is what a live server should run.
- Optional or latest: newer builds with recent changes. Fine for a test server, riskier on production.
Unless a script you need requires a newer build, stay on recommended.
Before you update
- Back up the server data, txAdmin data and the database. See backups.
- Check the changelog and any announcements for breaking changes.
- Announce a short maintenance window to players on Discord.
- Keep the old build in a separate folder for rollback.
The cleanest layout keeps artifacts and server data apart:
/home/fivem/
artifacts/ current FXServer build
artifacts-old/ previous build for rollback
txData/ server data, resources, server.cfg
Updating on Windows
- Stop the server from txAdmin.
- Download
server.7zfor the recommended build. - Rename your current artifacts folder to keep it as a backup.
- Extract the new build into a fresh folder with the old name.
- Start
FXServer.exeas before.
Updating on Linux
cd /home/fivem
mv artifacts artifacts-old
mkdir artifacts && cd artifacts
tar xf ../fx.tar.xz
./run.sh
Download fx.tar.xz for the recommended build first and place it in the parent folder.
After the update
- Watch the console during startup for errors or deprecation warnings.
- Join the server and test core flows: login, character select, inventory, a vehicle spawn.
- Check resmon for any resource that suddenly uses more time.
- Keep the old build for at least a few days.
Artifacts are not the game build
Updating artifacts does not change the GTA V game build players run. That is controlled separately:
sv_enforceGameBuild 3095
Changing sv_enforceGameBuild enables newer DLC content but forces players to download more and can break older assets. Treat it as its own update, with its own test.
Rolling back
If something breaks, stop the server, swap artifacts-old back into place and start again. Because your data lives in a separate folder, a rollback takes a minute.
How often to update
A reasonable rhythm for most servers:
- Check for a new recommended build every few weeks.
- Update promptly when a security fix is announced.
- Avoid updating right before a big event or a promotion push.
Checklist
- Backup taken
- Changelog read
- Old build kept
- Startup console clean
- Core gameplay tested after update