01
What artifacts are
Artifacts are the FiveM server itself: the FXServer program and the files that come with it, built and published by Cfx.re. Each version has a build number, shown in the console when the server starts. txAdmin ships inside the artifacts: it changes version along with them (see the guide txAdmin).
A FiveM server is made of two clearly separate parts:
- the artifacts folder, which an update replaces entirely;
- the server data: the
resources folder, server.cfg, txAdmin's txData folder and the database. An artifacts update does not touch them.
Updating the artifacts brings Cfx.re's fixes, support for new GTA V versions and the new features recent resources need. A version that is too old eventually stops being supported: players then see a warning when connecting, and later the server can no longer be joined from the server list.
02
Recommended, optional or latest: which version to take
Artifacts are downloaded from the Cfx.re site, runtime.fivem.net, in two folders: build_proxy_v2 for Linux (file fx.tar.xz) and build_server_windows for Windows (file server.7z). Each page points out the latest recommended version and the latest optional version; the list itself starts with the very latest build, called latest:
- recommended: the advised version, proven on many servers. This is the one to use for a public server;
- optional: a newer version, also tested, bringing new features. Take it if a resource or a gamebuild needs it;
- latest: the very latest build, not yet proven. Keep it for a test server.
Always download from these Cfx.re pages, never an artifacts package shared on Discord or a third-party site: it is the program that runs your whole server.
03
Before updating: backup and compatibility
- Back up the data folder (resources,
server.cfg), the txData folder and the database (mariadb-dump). The artifacts do not touch these files, but a recent backup avoids any nasty surprise.
- Check what your resources need. Some require a minimum server version in their
fxmanifest.lua ('/server:…' dependency); others, older or no longer maintained, may react badly to a recent version. Read the page of your key resources (framework, oxmysql, inventory).
- Think about the gamebuild. A new
sv_enforceGameBuild number is only accepted from an artifacts version that supports it. To move up a gamebuild, update the artifacts first (see the guide FiveM gamebuild).
- Change one thing at a time. Do not update the artifacts, the framework and ten scripts on the same evening: if something breaks, you will not know what caused it.
- Pick a quiet time and warn your players.
04
Updating on Linux and on Windows
The method is the same everywhere: stop the server, set the old artifacts folder aside, install the new version in a clean folder, restart. On Linux, with an ~/artifacts folder and a fivem service as in the guide FiveM server on a VPS:
sudo systemctl stop fivem
sudo -iu fivem
mv ~/artifacts ~/artifacts-ancien
mkdir ~/artifacts && cd ~/artifacts
# paste the address of the fx.tar.xz chosen on runtime.fivem.net
curl -LO https://…/fx.tar.xz
tar xf fx.tar.xz && rm fx.tar.xz
exit
sudo systemctl start fivem
The txData folder is sometimes kept inside the artifacts folder. If so, copy it into the new folder before restarting (cp -a ~/artifacts-ancien/txData ~/artifacts/): without it, txAdmin starts from scratch.
On Windows:
- stop the server from txAdmin, then close the FXServer window;
- rename the artifacts folder (for example
server to server-ancien) and create an empty server folder;
- download the chosen
server.7z and extract it into that folder with 7-Zip;
- if
txData was in the old folder, copy it into the new one;
- start
FXServer.exe as usual.
On restart, check the build number shown in the console and that every resource starts without errors, then connect to test the key features (inventory, garage, jobs).
05
Rolling back if it breaks
If the server no longer starts or a key resource throws errors, go back to the old version while you find the cause:
sudo systemctl stop fivem
sudo -iu fivem
mv ~/artifacts ~/artifacts-casse
mv ~/artifacts-ancien ~/artifacts
exit
sudo systemctl start fivem
On Windows, same principle: rename the new folder, give the old one its name back, restart. Keep the old version for a few days after a successful update: some problems only show up with players connected.
- A resource asks for a newer version: it declares a minimum build in its manifest. Take an artifacts version that meets it, preferably staying on the recommended version.
- Odd file errors after the update: stop the server and delete the
cache folder in the server data; it is recreated at startup.
- txAdmin asks for a new setup code: it can no longer find its
txData folder. Copy it back from the old folder or the backup.
Other console messages are explained in the guide FiveM server errors.
06
On CloudFive
On a FiveM hosting plan, there is nothing to download: the customer area shows the installed artifacts version and the available versions, with a button to go back to the previous version. A backup is made before the change, and the customer area's backups remain available to go further back. txAdmin comes pre-installed, and support answers in French 7 days a week if a resource still fails after an update.
07
Frequently asked questions
What are FiveM artifacts?
They are the FiveM server files, the FXServer program, published by Cfx.re in numbered versions for Linux and Windows. txAdmin ships with them. Resources, server.cfg and the database are kept separately.
Which FiveM artifacts version should I choose?
The recommended version for a public server, because it is proven. The optional version if a resource or a gamebuild needs it, and the latest version only on a test server.
Where do I download FiveM artifacts?
From runtime.fivem.net, the Cfx.re site: the build_proxy_v2 folder for Linux (fx.tar.xz) and build_server_windows for Windows (server.7z). Never use artifacts shared elsewhere.
Does an artifacts update delete my resources?
No. Only the artifacts folder is replaced: resources, server.cfg and the database do not change. Just check that txAdmin's txData folder was not kept inside the artifacts folder; if it was, copy it across.
How do I go back to the old artifacts version?
Stop the server, put the old artifacts folder back in place of the new one, then restart. On CloudFive, the customer area offers a button to go back to the previous version, with a backup made first.