SteamCMD won't launch games and AMP won't upgrade, help!

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

OS Name/Version: Ubuntu 22.04.1 LTS | 23GB RAM ARM Neoverse-N1 (0C\0T)

Product Name/Version: AMP (ARM Version)

Problem Description:

Issue 1:
I have two issues currently, I think they are probably related, the first issue is that when AMP tries to upgrade it goes onto the AMP Currently Updating Page.

It then redirects me back to the main page where it shows me an update is avaliable again…

Error in logs:

[12:28:38] [Core Info]            : A new update is available!
[12:28:48] [Logger Warning]       : Error handling request:[POST:/API/Core/GetActiveAMPSessions] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object
  at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <db3771e0dbc24cffb81742fcb43e4237>:0 
  at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <db3771e0dbc24cffb81742fcb43e4237>:0 
  at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0 

So I presume this means it failed to update :thinking:

Issue 2:
Every single SteamCMD Game throws this error

Work thread 'CHTTPClientThreadPool:0' is marked exited, but we could not immediately join prior to deleting -- proceeding without join

My server is very locked down on Ports, all ports are allowed outbound but not inbound so I’m thinking that perhaps its one of the ports which isn’t added in my firewall but im unsure which ones are needed?

Or it could be something else…

What game are you trying to start? Is it on the supported list for aarch64 systems?

https://discourse.cubecoders.com/docs?topic=1870

Valheim which is supported I believe.

Try on Ubuntu 20.04 rather than 22.04. Games are extremely hit-and-miss when using the emulation layer though. If they don’t behave then there’s zero resolution other than ‘Don’t use ARM’

I’ll try and downgrade to Ubuntu 20.04 and see if that fixes it.

Just an FYI the update error im getting for AMP itself is

[12:28:38] [Core Info]            : A new update is available!
[12:28:48] [Logger Warning]       : Error handling request:[POST:/API/Core/GetActiveAMPSessions] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object
  at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <db3771e0dbc24cffb81742fcb43e4237>:0 
  at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <db3771e0dbc24cffb81742fcb43e4237>:0 
  at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0 

Maybe an issue with Ubuntu 22 too?

Not sure what that’d be about, don’t worry about it for now.

Hey Mike, I re-installed the server on Ubuntu 20 and Valheim now works, however I’m getting this in the console of AMP.

Error handling request:[POST:/API/Core/GetActiveAMPSessions] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/Core/GetActiveAMPSessions] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/Core/GetActiveAMPSessions] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/ADSModule/GetInstances] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/ADSModule/GetInstances] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/ADSModule/GetInstances] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/ADSModule/GetInstances] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/ADSModule/GetInstances] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/ADSModule/GetInstances] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0
Error handling request:[POST:/API/ADSModule/GetInstances] - [NullReferenceException]: System.NullReferenceException: Object reference not set to an instance of an object at GSMyAdmin.WebServer.APIService.GetSession (System.Net.IPAddress address, System.String Session, System.String UA, System.Net.IPAddress alternateAddress, System.String CallMethod) [0x0014e] in <8a88797389264977a1c899113911e96f>:0 at GSMyAdmin.WebServer.APIService.HandleRequest (m.Http.IHttpRequest request) [0x0021a] in <8a88797389264977a1c899113911e96f>:0 at m.Http.Router.HandleRequest (m.Http.Backend.HttpRequest httpReq, System.DateTime requestArrivedOn) [0x00133] in <6ba0f115d4834d51b3526e12d15cee09>:0

Is this anything to worry about?

If it’s not affecting the functionality then don’t worry about it for now, but I will check it out.

I have a quick question, where do you store the Backups folder for the Instances? I want to try and restore a Minecraft backup I saved before creating a new Ubuntu Instance.

Also, unrelated but I’m having 2 issues at the moment with AMP.

  1. When I use the SFTP on the Minecraft instance, if I try and create a new file or upload a file, it throws me this error.

The disk has 40GB free. Not sure if this is perhaps permission related!? Not sure if this has been seen before?

  1. Clicking the Test Button on the emails doesn’t do anything, no errors or anything just does nothing :frowning:
  1. Is a known bug, there’s about to be an update to fix this.
  2. Have you set yourself an email address in your user profile? Check AMPs logs to see if it’s having problems sending the test message.
  1. Thanks :slight_smile:
  2. Yea, ive set an email, nothing shows up in the console, its like its not even trying to send. Something else I’ve noticed which may be an issue?

My server is hosted at: AMP API Browser (yetty.uk) If we browser to the /API it shows the documentation.

But if you try and brwoser to any of the end points like : gaming.yetty.uk they all 404? I dunno if this is just because security reasons it wont let you send them via a browser? Or if something has messed up here?

On a unrelated note, how can I access this folder in Linux?

Due to the bug mentioned above, I cannot SFTP to upload my backup here and I cannot find this directory in Linux, in-fact I cannot file any files inside it in Linux, any ideas where it is located? I tried

/home/amp/.ampdata/ but I cannot seem to find anything here.

Edit: it was in /home/amp/.ampdata/instances/<instancename/backups
Reason I couldn’t see if is no backups had been made before so the Directory didn’t exist.

Please keep to 1 issue per thread.