OS Name/Version: Debian GNU/Linux 12
Product Name/Version: 2.6.1.2 - 20250325.1
Problem Description:
RedM Instances do not work as intended, they never start.
I have included my Cfx.re license for RedM
I have ensured that my Steam API key is present, I own RDR2 on Steam
I have updated the instance and ensured it is set to RedM and not FiveM (which it defaults to) but the instance will not start
Any help would be greatly appreciated.
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key ┃ Value ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System ┃ Linux - Debian GNU/Linux 12 on x86_64 ┃
┃ Product ┃ AMP 'Phobos' v2.6.1.2 (Mainline) ┃
┃ Virtualization ┃ Docker ┃
┃ Application ┃ FiveM ┃
┃ Module ┃ FiveMModule ┃
┃ Running in Container ┃ Yes ┃
┃ Current State ┃ Stopped ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
This task could not be completed: Updating FiveM Server - Extracting... - State: 3.
Unpack operation failed with exit code 2
Steps to reproduce:
Create RedM Instance
Configure Instance settings with Steam API key and Cfx.re License, set to RedM
Update instance and attempt to start
Actions taken to resolve so far:
I have attempted to rebuild the instance multiple times, but this never works.
Mike
4 April 2025 21:56
2
Can you check that instances logs by browsing to its file manager at the ADS level (not while managing the instance) and going to the AMP_Logs directory, finding the most recent log after attempting to update and looking at the very end for any errors/exceptions?
There are no formal errors present in the log:
[00:00:00] [Scheduler Info/39] : Rollover from previous log file: AMP_Logs/AMPLOG 2025-04-03 22-25-32.log
[01:47:32] [System Activity/39] : Authentication attempt for user comerfordb from 127.0.0.1
[01:47:32] [System Activity/46] : Authentication success
[01:47:44] [API:comerfordb Activity/43] : Protected setting FiveMModule.ServerSettings.LicenseKey changed.
[01:47:48] [Core:comerfordb Activity/43] : Updating the application.
[01:47:57] [Core:comerfordb Activity/48] : Starting the application.
[01:47:59] [System:comerfordb Error/39] : Too many failed startup attempts. Not restarting.
[01:48:25] [API:comerfordb Activity/48] : Changing setting FiveMModule.ServerSettings.UpdateReleaseStream to 2
[01:48:29] [Core:comerfordb Activity/48] : Updating the application.
[01:48:57] [API:comerfordb Activity/45] : Changing setting FiveMModule.ServerSettings.UpdateReleaseStream to 0
[01:49:01] [Core:comerfordb Activity/45] : Updating the application.
[02:09:00] [System Info/52] : Checking for AMP updates...
[02:09:00] [System Info/41] : AMP is up to date.
[08:09:00] [System Info/52] : Checking for AMP updates...
[08:09:00] [System Info/41] : AMP is up to date.
[14:09:00] [System Info/57] : Checking for AMP updates...
[14:09:00] [System Info/56] : AMP is up to date.
[17:47:06] [System Activity/65] : Authentication attempt for user comerfordb from 127.0.0.1
[17:47:06] [System Activity/51] : Authentication success
[20:09:00] [System Info/47] : Checking for AMP updates...
[20:09:00] [System Info/62] : AMP is up to date.
[22:20:47] [System Activity/64] : Authentication attempt for user comerfordb from 127.0.0.1
[22:20:47] [System Activity/51] : Authentication success
[22:20:52] [Core:comerfordb Activity/51] : Starting the application.
[22:20:55] [System:comerfordb Error/62] : Too many failed startup attempts. Not restarting.
The log file before the most recent one shows the following output:
[22:26:08] [Core:comerfordb Activity/18] : Updating the application.
[22:28:57] [API:comerfordb Activity/22] : Changing setting FiveMModule.ServerSettings.Game to 1
[22:29:12] [API:comerfordb Activity/7] : Changing setting FiveMModule.ServerSettings.Hostname to Dezrin's RedM Server
[22:29:31] [API:comerfordb Activity/7] : Protected setting FiveMModule.ServerSettings.SteamAPIKey changed.
[22:29:42] [Core:comerfordb Activity/7] : Updating the application.
[22:30:18] [Core:comerfordb Activity/22] : Starting the application.
[22:31:09] [API:comerfordb Activity/22] : Protected setting FiveMModule.ServerSettings.LicenseKey changed.
[22:31:13] [Core:comerfordb Activity/7] : Updating the application.
[22:31:22] [Core:comerfordb Activity/26] : Starting the application.
[22:31:24] [System:comerfordb Warning/26] : The application stopped unexpectedly. Exit code 1
[22:31:25] [System:comerfordb Warning/22] : The application stopped unexpectedly. Exit code 1
[22:31:56] [System:comerfordb Warning/22] : The application stopped unexpectedly. Exit code 1
[22:31:58] [System:comerfordb Warning/23] : The application stopped unexpectedly. Exit code 1
[22:32:00] [System:comerfordb Error/22] : Too many failed startup attempts. Not restarting.
Mike
4 April 2025 22:30
4
Can you change the logging level inside that instance to Debug and try again please? Also is it producing any console output when you try and start it?
There is no console output when I attempt to start the instance.
New log output:
[22:32:52] [API:comerfordb Activity/19] : Changing setting Core.Monitoring.LogLevel to 0
[22:32:56] [Core:comerfordb Activity/12] : Updating the application.
[22:32:56] [FiveM:comerfordb Debug/12] : Application state changed from Stopped to Installing
[22:32:56] [Core:comerfordb Debug/17] : Running command line: "/usr/bin/tar xf "/AMP/fivem/fx.tar.xz"" from "/AMP/fivem/server-bin"
[22:32:56] [Core:comerfordb Debug/17] : Working Directory: /AMP/fivem/server-bin
[22:33:03] [FiveM:comerfordb Debug/17] : Application state changed from Installing to Stopped
[22:33:03] [Core:comerfordb Debug/17] : Task Updating FiveM Server (Extracting...) failed: Unpack operation failed with exit code 2
[22:33:07] [Core:comerfordb Debug/19] : Task Updating FiveM Server (Extracting...) ended: Acknowledged
[22:33:10] [Core:comerfordb Activity/17] : Starting the application.
[22:33:11] [FiveM:comerfordb Debug/17] : Application state changed from Stopped to PreStart
[22:33:11] [FiveM:comerfordb Debug/17] : UDP logger listener started on 127.0.0.1:47461
[22:33:11] [FiveM:comerfordb Debug/17] : Working Directory: /AMP/fivem/server-data
[22:33:11] [FiveM:comerfordb Debug/17] : Arguments: --library-path "/AMP/fivem/alpine/usr/lib/v8:/AMP/fivem/server-bin/alpine/lib/:/AMP/fivem/server-bin/alpine/usr/lib/" -- "/AMP/fivem/server-bin/alpine/opt/cfx-server/FXServer" +set citizen_dir "/AMP/fivem/server-bin/alpine/opt/cfx-server/citizen/" +exec "/AMP/fivem/server-data/admin.cfg" +exec "/AMP/fivem/server-data/server.cfg" +set gamename rdr3
[22:33:11] [FiveM:comerfordb Debug/17] : Application state changed from PreStart to Starting
[22:33:14] [FiveM:comerfordb Debug/20] : Application state changed from Starting to Stopped
[22:33:14] [System:comerfordb Warning/20] : The application stopped unexpectedly. Exit code 139
[22:33:14] [FiveM:comerfordb Debug/20] : Application state changed from Stopped to PreStart
[22:33:14] [FiveM:comerfordb Debug/20] : UDP logger listener started on 127.0.0.1:46065
[22:33:14] [FiveM:comerfordb Debug/20] : Working Directory: /AMP/fivem/server-data
[22:33:14] [FiveM:comerfordb Debug/20] : Arguments: --library-path "/AMP/fivem/alpine/usr/lib/v8:/AMP/fivem/server-bin/alpine/lib/:/AMP/fivem/server-bin/alpine/usr/lib/" -- "/AMP/fivem/server-bin/alpine/opt/cfx-server/FXServer" +set citizen_dir "/AMP/fivem/server-bin/alpine/opt/cfx-server/citizen/" +exec "/AMP/fivem/server-data/admin.cfg" +exec "/AMP/fivem/server-data/server.cfg" +set gamename rdr3
[22:33:14] [FiveM:comerfordb Debug/20] : Application state changed from PreStart to Starting
Mike
4 April 2025 22:43
6
Sanity check, can you create a new instance as a non-docker instance, change no settings, hit update, hit start - what happens?
# Could not complete action.
You need to specify a FiveM licence key under Configuration -> Server Settings -> License Key to start this server. You can obtain a key from https://keymaster.fivem.net.
For a start the instance defaults to FiveM when I deploy RedM, secondly it won’t start without a Cfx.re license present.
After setting these, even having disabled Create in Docker Containers the instance still fails to start, with no additional output to the logs:
[22:47:47] [System Activity/7] : Authentication success
[22:47:53] [API:comerfordb Activity/7] : Changing setting FiveMModule.ServerSettings.Game to 1
[22:47:56] [API:comerfordb Activity/9] : Protected setting FiveMModule.ServerSettings.LicenseKey changed.
[22:48:55] [Core:comerfordb Activity/22] : Updating the application.
[22:49:25] [Core:comerfordb Activity/7] : Starting the application.
Mike
4 April 2025 22:56
8
Okay that’s fine - so now do nothing other than specify the key and hit start again. Don’t change any other settings (don’t change it from FiveM to RedM yet)
Same results, the instance fails to start
[23:00:24] [Core:comerfordb Activity/17] : Starting the application.
[23:00:24] [FiveM:comerfordb Debug/17] : Application state changed from Stopped to PreStart
[23:00:24] [FiveM:comerfordb Debug/17] : UDP logger listener started on 127.0.0.1:40358
[23:00:24] [FiveM:comerfordb Debug/17] : Working Directory: /home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/server-data
[23:00:24] [FiveM:comerfordb Debug/17] : Arguments: --library-path "/home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/alpine/usr/lib/v8:/home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/server-bin/alpine/lib/:/home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/server-bin/alpine/usr/lib/" -- "/home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/server-bin/alpine/opt/cfx-server/FXServer" +set citizen_dir "/home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/server-bin/alpine/opt/cfx-server/citizen/" +exec "/home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/server-data/admin.cfg" +exec "/home/amp/.ampdata/instances/RDR2-Non_Docker01/fivem/server-data/server.cfg" +set gamename gta5
[23:00:24] [FiveM:comerfordb Debug/17] : Application state changed from PreStart to Starting
Diagnostic data:
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key ┃ Value ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System ┃ Linux - Debian GNU/Linux 12 on x86_64 ┃
┃ Product ┃ AMP 'Phobos' v2.6.1.2 (Mainline) ┃
┃ Virtualization ┃ QEMU_KVM ┃
┃ Application ┃ FiveM ┃
┃ Module ┃ FiveMModule ┃
┃ Running in Container ┃ No ┃
┃ Current State ┃ Starting ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Mike
5 April 2025 07:02
10
Are you using proxmox to run the virtual machine?
Yes, the VM is hosted on Proxmox, with the following configuration:
agent: 1
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 18
cpu: host,flags=+aes
efidisk0: SAS-ARRAY:vm-107-disk-0,efitype=4m,format=raw,pre-enrolled-keys=1,size=528K
ide2: none,media=cdrom
machine: q35
memory: 25600
meta: creation-qemu=8.1.5,ctime=1722092189
name: AMP01
net0: virtio=BC:24:11:DF:53:9F,bridge=vmbr0,firewall=1,tag=10
numa: 0
onboot: 1
ostype: l26
scsi0: SAS-ARRAY:vm-107-disk-1,format=raw,iothread=1,size=200G
scsihw: virtio-scsi-single
sockets: 2
Mike
5 April 2025 15:23
12
Set the processor to “host” if it isn’t already?
It’s already set to “Host” as shown in the above configuration
cpu: host,flags=+aes
Mike
5 April 2025 17:56
14
What processor is in the host system?
The host system has 2 x Intel Xeon Gold 6148 CPU’s
To further clarify, I have 3 other instances that are active and running completely fine (as Docker containers)
Nested Virtualization is enabled on the VM
Host CPU passthrough is enabled (AMP displays the CPU correctly in the GUI)
Debian 12 | 24GB RAM
Intel Xeon Gold 6148 (36C\36T)
77GB of storage is available
This only seems to be an issue with RedM instances, I haven’t had issues with any others that I’ve tried thus far.
Hi. The same problem i have to. I cant start the server.
@Dezrin Can you share a screenshot of what you see when you click the File Manage from inside the instance?
Is there anything inside those folders?