{"id":93979,"date":"2024-02-05T09:22:01","date_gmt":"2024-02-05T08:22:01","guid":{"rendered":"https:\/\/fivem-mods.net\/?p=93979"},"modified":"2026-07-22T20:59:50","modified_gmt":"2026-07-22T18:59:50","slug":"comment-mettre-a-jour-les-artefacts-du-serveur-fivem","status":"publish","type":"post","link":"https:\/\/fivemx.com\/fr\/comment-mettre-a-jour-les-artefacts-du-serveur-fivem\/","title":{"rendered":"Comment mettre \u00e0 jour les artefacts du serveur FiveM en toute s\u00e9curit\u00e9"},"content":{"rendered":"<!-- fivemx-content-rework-remaining:2026-07-20:how-to-update-fivem-server-artifacts:start -->\n<div class=\"fivemx-guide-box fivemx-guide-note\">\n<p><strong>Quick answer:<\/strong> stop FXServer, back up both runtime and server data, download Cfx.re&#8217;s <em>latest recommended<\/em> artifact for the correct operating system, replace runtime files only, restart through txAdmin or the host panel, then test startup, resources, direct connection, and logs before deleting the rollback copy.<\/p>\n<ul>\n<li><strong>txAdmin:<\/strong> it is bundled with FXServer; use the server&#8217;s normal update path and keep the existing <code>txData<\/code> and server-data directories.<\/li>\n<li><strong>Manual Windows\/Linux:<\/strong> do not copy <code>resources\/<\/code>, <code>server.cfg<\/code>, databases, or secrets into the artifact directory.<\/li>\n<li><strong>Hosting panel:<\/strong> button names vary by provider; confirm the selected build and backup location rather than assuming \u201cUpdate\u201d preserves custom data.<\/li>\n<\/ul>\n<\/div>\n<!-- fivemx-content-rework-remaining:2026-07-20:how-to-update-fivem-server-artifacts:end -->\n\n<!-- fivemx-artifacts-guide-pilot -->\n\n<p class=\"wp-block-paragraph\">Keeping FiveM artifacts updated is required for compatibility, security, and avoiding startup errors. This guide shows how to update artifacts on Windows, Linux, and hosting panels without overwriting your server resources.<\/p>\n\n<div class=\"fivemx-guide-box fivemx-guide-warning\">\n<h2>Before you update<\/h2>\n<p><strong>Do not overwrite your <code>resources\/<\/code> folder or <code>server.cfg<\/code>.<\/strong> Back up your server files first, then replace only the artifact\/runtime files from the new build.<\/p>\n<\/div>\n<!-- \/fivemx-artifacts-guide-pilot -->\n\n\n<h2 class=\"wp-block-heading\" id=\"\ud83d\udcf9-watch-the-video-tutorial\">\ud83d\udcf9 <strong>Watch the Video Tutorial<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"video-container\"><iframe title=\"How to update FiveM Server Artifacts \/ TXAdmin in 2024!\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/UZXnK8IjT20?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"for-windows-server\">\ud83d\udda5\ufe0f <strong>For Windows Servers<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-back-up-your-server-data\"><strong>1. Back Up Your Server Data<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before making any changes, safeguard your existing setup:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Backup the <code>server-data<\/code> folder<\/strong>: This includes your <code>server.cfg<\/code> and any custom resources.<\/li>\n\n\n\n<li><strong>Tools Needed<\/strong>: Use tools like File Explorer, or backup software to create a copy of your data.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-download-the-latest-artifacts\"><strong>2. Download the Latest Artifacts<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Visit the FiveM Windows Server Artifacts Page<\/strong>: <a href=\"https:\/\/runtime.fivem.net\/artifacts\/fivem\/build_server_windows\/master\/\" target=\"_blank\" rel=\"noopener\">FiveM Artifacts<\/a><\/li>\n\n\n\n<li><strong>Select Cfx.re&#8217;s latest recommended build<\/strong>: use the artifact listing&#8217;s <em>Latest recommended<\/em> link unless a documented resource or rollback requirement calls for a specific build. Do not infer support from the highest number alone.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-extract-the-downloaded-files\"><strong>3. Extract the Downloaded Files<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use an Archival Tool<\/strong>: Applications like <strong>7-Zip<\/strong> or <strong>WinRAR<\/strong> are recommended.<\/li>\n\n\n\n<li><strong>Extraction Steps<\/strong>:\n<ol class=\"wp-block-list\">\n<li>Open the downloaded Windows <code>server.7z<\/code> archive with 7-Zip or another compatible tool.<\/li>\n\n\n\n<li>Select <strong>Extract Here<\/strong> or your preferred extraction method.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-replace-old-artifacts-with-the-new-ones\"><strong>4. Replace Old Artifacts with the New Ones<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Navigate to Your Server Directory<\/strong>: Locate where your current server artifacts reside.<\/li>\n\n\n\n<li><strong>Overwrite Existing Files<\/strong>: Drag and drop the newly extracted files into the server directory. Confirm any prompts to overwrite.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-restart-and-test-your-server\"><strong>5. Restart and Test Your Server<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Launch Your Server<\/strong>: Run <code>run.cmd<\/code> or your designated startup batch file.<\/li>\n\n\n\n<li><strong>Monitor the Console<\/strong>: Ensure there are no errors during startup.<\/li>\n\n\n\n<li><strong>Perform a Test<\/strong>: Connect to your server and verify that all functionalities are working as expected.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"fivemx-guide-box fivemx-guide-cta\" id=\"fivemx-artifacts-windows-cta\">\n<p><strong>Need a ready-to-use FiveM server pack?<\/strong> Browse tested server packs after your artifact update is complete.<\/p>\n<p><a href=\"https:\/\/fivemx.com\/fivem-servers\/\">Browse FiveM server packs<\/a><\/p>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"for-linux-server\">\ud83d\udc27 <strong>For Linux Servers<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-backup-your-server-data\"><strong>1. Backup Your Server Data<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Protect your configurations and custom resources:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Backup the <code>server-data<\/code> Directory<\/strong>: Especially the <code>server.cfg<\/code> file.<\/li>\n\n\n\n<li><strong>Commands Example<\/strong>: <code>cp -r \/path\/to\/server-data \/path\/to\/backup\/server-data-backup<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-access-the-five-m-linux-server-artifacts-page\"><strong>2. Access the FiveM Linux Server Artifacts Page<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Visit<\/strong>: <a href=\"https:\/\/runtime.fivem.net\/artifacts\/fivem\/build_proot_linux\/master\/\" target=\"_blank\" rel=\"noopener\">FiveM Linux Artifacts<\/a><\/li>\n\n\n\n<li><strong>Choose Cfx.re&#8217;s latest recommended build<\/strong>: use the recommendation shown on the official Linux artifact listing and retain the previous runtime for rollback.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-download-and-unpack-the-new-artifacts\"><strong>3. Download and Unpack the New Artifacts<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use <code>wget<\/code> or <code>curl<\/code><\/strong>: <code>wget [ARTIFACT_DOWNLOAD_URL] # or curl -O [ARTIFACT_DOWNLOAD_URL]<\/code><\/li>\n\n\n\n<li><strong>Extract with <code>tar<\/code><\/strong>: <code>tar -xvf fx.tar.xz<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-update-the-artifacts-in-your-server-directory\"><strong>4. Update the Artifacts in Your Server Directory<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Move New Files<\/strong>: <code>cp -r .\/fx_server\/* \/path\/to\/your\/server\/directory\/<\/code><\/li>\n\n\n\n<li><strong>Overwrite When Prompted<\/strong>: Confirm to replace existing files.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-restart-and-test-your-server-1\"><strong>5. Restart and Test Your Server<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Start Your Server<\/strong>: <code>cd \/path\/to\/your\/server\/directory .\/run.sh<\/code><\/li>\n\n\n\n<li><strong>Check for Errors<\/strong>: Monitor the terminal output.<\/li>\n\n\n\n<li><strong>Verify Functionality<\/strong>: Connect to your server and ensure everything operates smoothly.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"for-server-hosting-panel-zaphosting\">\ud83d\udee0\ufe0f <strong>For Server Hosting Panels (e.g., Zaphosting)<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-access-your-server-hosting-panel\"><strong>1. Access Your Server Hosting Panel<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Log In<\/strong>: Navigate to your hosting provider\u2019s <a href=\"https:\/\/fivemx.com\/my-account\/\" data-wpil-monitor-id=\"189\">dashboard<\/a> (e.g., Zaphosting) and log in with your credentials.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-locate-the-update-option\"><strong>2. Locate the Update Option<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Navigate to Your Server<\/strong>: Select the FiveM server you wish to update.<\/li>\n\n\n\n<li><strong>Find the Update Feature<\/strong>: Look for an <strong>\u2018Update\u2019<\/strong> button or an <strong>Artifacts<\/strong> section within the panel.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-execute-the-update\"><strong>3. Execute the Update<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Select the Latest Artifact Version<\/strong>: Choose the newest stable release from the dropdown or update options.<\/li>\n\n\n\n<li><strong>Confirm the Update<\/strong>: Click <strong>\u2018Update\u2019<\/strong> and allow the panel to handle the process automatically.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-verify-the-update\"><strong>4. Verify the Update<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Check the Dashboard<\/strong>: Ensure the server reflects the updated version.<\/li>\n\n\n\n<li><strong>Review Logs<\/strong>: Look for any errors or confirmations of a successful update.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-restart-if-necessary\"><strong>5. Restart if Necessary<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ensure Stability<\/strong>: After restarting, connect to your server to verify everything is functioning correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Manual Restart<\/strong>: If the server doesn\u2019t restart automatically, use the panel\u2019s restart feature.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"common-errors-after-updating\"><strong>Common errors after updating artifacts<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Server will not start:<\/strong> Check the console for missing runtime files, then confirm you copied the artifact files into the correct server directory.<\/li>\n\n\n\n<li><strong>Resources are missing:<\/strong> Restore your backup if you accidentally overwrote <code>resources\/<\/code> or changed <code>server.cfg<\/code>.<\/li>\n\n\n\n<li><strong>Players cannot connect:<\/strong> Restart txAdmin or the server process, then verify endpoint and firewall settings.<\/li>\n\n\n\n<li><strong>Scripts throw errors:<\/strong> Update the affected framework or resource after confirming the artifact update itself succeeded.<\/li>\n<\/ul>\n\n\n<div class=\"fivemx-guide-box fivemx-guide-cta\">\n<p><strong>If scripts break after the update,<\/strong> compare maintained resources before replacing random files from old backups.<\/p>\n<p><a href=\"https:\/\/fivemx.com\/\">Browse FiveM scripts<\/a> \u00b7 <a href=\"https:\/\/fivemx.com\/how-to-optimize-fivem-server-performance\/\">Server performance guide<\/a><\/p>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"artifact-update-faq\"><strong>FAQ<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how-often-should-i-update-fivem-artifacts\"><strong>How often should I update FiveM artifacts?<\/strong><\/h3>\n\n\n<p class=\"wp-block-paragraph\">Update when Cfx.re recommends a newer build, when txAdmin warns about outdated artifacts, or when a resource requires a newer server build.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"should-i-delete-resources-when-updating-artifacts\"><strong>Should I delete resources when updating artifacts?<\/strong><\/h3>\n\n\n<p class=\"wp-block-paragraph\">No. Artifact updates replace the server runtime files, not your custom resources, database, or <code>server.cfg<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"can-i-update-artifacts-from-a-hosting-panel\"><strong>Can I update artifacts from a hosting panel?<\/strong><\/h3>\n\n\n<p class=\"wp-block-paragraph\">Yes, if your host exposes an artifact or update option. Still make a backup first and check logs after the restart.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u2705-final-tips\">\u2705 <strong>Final Tips<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Regular Backups<\/strong>: Always maintain recent backups before performing updates.<\/li>\n\n\n\n<li><strong>Stay Informed<\/strong>: Keep an eye on FiveM\u2019s official channels for announcements and updates.<\/li>\n\n\n\n<li><strong>Test After Updates<\/strong>: After updating, thoroughly test all server functionalities to catch any issues early.<\/li>\n\n\n\n<li><strong>Community <a class=\"wpil_keyword_link\" href=\"https:\/\/fivemx.com\/support\/\" title=\"Support\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1153\">Support<\/a><\/strong>: Don\u2019t hesitate to reach out to the FiveM community or support forums if you encounter problems.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">After updating, keep the backup until your server has run through a normal player session without console errors. If the update fixed startup or compatibility issues, document the artifact build you used so your next maintenance window is easier.<\/p>\n\n<!-- fivemx-blog-trust-wave2 -->\n<h2>Official references and next steps<\/h2>\n<p>Use these official references to verify the technical steps before changing a live FiveM server.<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.fivem.net\/docs\/server-manual\/end-of-support-end-of-life\/\" rel=\"nofollow noopener\" target=\"_blank\">Cfx.re end-of-life warning<\/a><\/li>\n<li><a href=\"https:\/\/docs.fivem.net\/docs\/server-manual\/setting-up-a-server-txadmin\/\" rel=\"nofollow noopener\" target=\"_blank\">Cfx.re txAdmin setup<\/a><\/li>\n<li><a href=\"https:\/\/docs.fivem.net\/docs\/server-manual\/setting-up-a-server-vanilla\/\" rel=\"nofollow noopener\" target=\"_blank\">Cfx.re vanilla FXServer setup<\/a><\/li>\n<\/ul>\n<p>Related FiveMX guides:<\/p>\n<ul>\n<li><a href=\"https:\/\/fivemx.com\/how-to-optimize-fivem-server-performance\/\">server performance guide<\/a><\/li>\n<li><a href=\"https:\/\/fivemx.com\/how-to-backup-your-fivem-server\/\">back up your FiveM server<\/a><\/li>\n<li><a href=\"https:\/\/fivemx.com\/fivem-crash-help\/\">FiveM crash help<\/a><\/li>\n<\/ul>\n<!-- \/fivemx-blog-trust-wave2 -->\n","protected":false},"excerpt":{"rendered":"<p>Pour mettre \u00e0 jour les artefacts du serveur FiveM, arr\u00eatez votre serveur, t\u00e9l\u00e9chargez la derni\u00e8re version recommand\u00e9e des artefacts, remplacez les fichiers du serveur sauf les ressources et les configurations, puis red\u00e9marrez et v\u00e9rifiez la sortie de la console.<\/p>","protected":false},"author":1,"featured_media":151134,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1899],"tags":[3004],"class_list":["post-93979","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cfx-re-2"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/posts\/93979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/comments?post=93979"}],"version-history":[{"count":5,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/posts\/93979\/revisions"}],"predecessor-version":[{"id":213982,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/posts\/93979\/revisions\/213982"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media\/151134"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media?parent=93979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/categories?post=93979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/tags?post=93979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}