System Information
Field
Value
Operating System
Linux - Debian GNU/Linux 12 on x86_64
Product
AMP ‘Callisto’ v2.5.1.0 (Development)
Virtualization
Docker
Application
Palworld
Module
GenericModule
Running in Container
Yes
Current State
PreStart
Problem Description
Issue
It says it doesn’t have permissions to start the server or something went wrong.
Reproduction Steps
I created a new instance.
I updated it.
I hit start
Let’s check the logs to see what’s causing the issue. First, can you run the following command and share the output?
ampinstmgr lastlog [INSTANCENAME]
Replace [INSTANCENAME]
with the name of your instance. This should give us more details.
[03:24:33] [Core Info/1] : Starting AMP version 2.5.1.0 (Callisto), built 17/07/2024 00:58
[03:24:33] [Core Info/1] : Stream: Development / Development - built by CUBECODERS/buildbot on CCL-DEV
[03:24:33] [Core Info/1] : Running in a Docker environment.
[03:24:33] [Core Info/1] : OS: Linux / x86_64
[03:24:33] [Core Info/1] : CPU: AMD Ryzen 5 5600G (6C/12T)
[03:24:33] [Core Info/1] : RAM: 124663MB
[03:24:33] [Core Info/1] : AMP Instance ID: dc353b35-e144-4263-979b-69ba77536a9b
[03:24:34] [Loader Info/1] : Loaded GenericModule version 1.0.0.0 by CubeCoders Limited
[03:24:34] [Core Info/1] : Metrics publishing is enabled at udp://localhost:12820.
[03:24:34] [Loader Info/1] : Loaded FileManagerPlugin by CubeCoders Limited
[03:24:34] [Loader Info/1] : Loaded EmailSenderPlugin by CubeCoders Limited
[03:24:34] [Loader Info/1] : Loaded WebRequestPlugin by CubeCoders Limited
[03:24:34] [Loader Info/1] : Loaded LocalFileBackupPlugin by CubeCoders Limited
[03:24:34] [Loader Info/1] : Loaded CommonCorePlugin by CubeCoders Limited
[03:24:34] [Loader Info/1] : Loaded AnalyticsPlugin by CubeCoders Limited
[03:24:34] [Loader Info/1] : GenericModule requests dependency steamcmdplugin…
[03:24:34] [Loader Info/1] : Loaded steamcmdplugin by CubeCoders Limited
[03:24:34] [Loader Info/1] : GenericModule requests dependency RCONPlugin…
[03:24:34] [Loader Info/1] : Loaded RCONPlugin by CubeCoders Limited
[03:24:34] [Core Info/1] : Licence Present: AMP Black Edition - Lifetime Licence
[03:24:34] [FileManager Notice/1] : Using keypair with fingerprint cw7jPqY61xh4eHx0HEJbWwNKncT4nLniQTQjpY0uWTg=
[03:24:34] [FileManager Info/1] : SFTP Server started on 0.0.0.0:40400
[03:24:34] [Webserver Info/1] : Websockets are enabled.
[03:24:35] [Logger Info/14] : RouterTimer@10Hz with 2 jobs started
[03:24:35] [Webserver Info/1] : Webserver started on http://127.0.0.1:8081
[03:24:35] [Core Info/1] : Checking for AMP updates…
[03:24:35] [Core Info/5] : AMP is up to date.
[03:24:42] [Core Activity/10] : Authentication attempt for user IceOfWraith from 127.0.0.1
[03:24:42] [Core Activity/11] : Authentication success
[03:24:44] [API:IceOfWraith Activity/11] : Starting the application.
[03:24:44] [Generic:IceOfWraith Info/11] : Merging config file ./palworld/2394010/Pal/Saved/Config/WindowsServer/PalWorldSettings.ini (Template) using Unicode (UTF-8) encoding.
[03:24:44] [Core:IceOfWraith Error/11] : NullReferenceException
[03:24:44] [Core:IceOfWraith Error/11] : [0] (NullReferenceException) : Object reference not set to an instance of an object
[03:24:44] [Core:IceOfWraith Error/11] : at GenericModule.ModuleMain.b__37_0 (Text.RegularExpressions.Match m)
at Text.RegularExpressions.Regex.Replace (Text.RegularExpressions.MatchEvaluator evaluator, Text.RegularExpressions.Regex regex, String input, Int32 count, Int32 startat)
at Text.RegularExpressions.Regex.Replace (String input, Text.RegularExpressions.MatchEvaluator evaluator, Int32 count, Int32 startat)
at Text.RegularExpressions.Regex.Replace (String input, Text.RegularExpressions.MatchEvaluator evaluator)
at GenericModule.ModuleMain.MergeTemplate (String finalPath, GenericModule.MetaConfigFile fileInfo)
at GenericModule.ModuleMain.MergeConfigFile (String finalPath, GenericModule.MetaConfigFile fileInfo)
at GenericModule.ModuleMain.WriteMetaconfigs ()
at GenericModule.ModuleMain.SaveChanges (String key, String value)
at GenericModule.GenericApp.DoAppStartup (Boolean IsUpdating)
at GenericModule.GenericApp.Start ()
It looks like there’s a NullReferenceException
happening when trying to merge the config file. Let’s try fixing the permissions first. Run the following command to fix any permission issues:
ampinstmgr fixperms
After that, try starting the instance again. If the issue persists, we’ll look into the config file next.
That didn’t work. Could the app be broken?
Since fixing permissions didn’t resolve the issue, let’s take a look at the configuration file that’s causing the error.
Please navigate to the directory:
./palworld/2394010/Pal/Saved/Config/WindowsServer/
And open PalWorldSettings.ini
to check if there’s anything unusual. You might also want to delete it and let AMP recreate it.
Can you share the content of PalWorldSettings.ini
?
Do you even care if it’s already solved?
system
Closed
August 16, 2024, 4:03am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.