Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

ADS Won't run when it is installed as a service on Windows

  • 961 Views
  • Last Post 26 June 2020
crixmadine77 posted this 25 March 2020

Recently I updated ADS and game instances to the latest versions however, ADS would fail to launch. ADS was installed as a service on Windows 10.

I decided to uninstall everything and reinstall. I downloaded the AMP instance manager from the website, however it seems the same problem persists. The only way for me to launch ADS is not to have it installed as a service.. but that means that I am unable to start it, nor game instances at pc boot automatically...

Order By: Standard | Newest | Votes
Mike posted this 25 March 2020

Have you checked ADSs log files?

crixmadine77 posted this 25 March 2020

--- More readable version: https://pastebin.com/11j5Xmzf

[13:51:55] [Core Warning]         : Current time zone is set to Eastern Standard Time - Servers should ideally be UTC to avoid time-zone related issues [13:51:55] [Program Info]         : OS: Windows / x86_64 [13:51:55] [Program Info]         : CPU: Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz (4C/4T) [13:51:55] [Program Info]         : AMP Instance ID: 24adac54-afbb-42a2-b8c4-2f89047c6abe [13:51:55] [Core Info]            : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited [13:51:55] [ModuleLoader Info]    : Loaded FileManager version 1.0.0.0 by CubeCoders Limited [13:51:55] [ModuleLoader Info]    : Loaded EmailSender version 1.0.0.0 by CubeCoders Limited [13:51:55] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited [13:51:55] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited [13:51:55] [Core Info]            : ADSModule requests dependency InstanceManagerPlugin... [13:51:55] [ModuleLoader Info]    : Loaded InstanceManagerPlugin version 1.0.0.0 by CubeCoders Limited [13:51:55] [Core Info]            : ADSModule requests dependency SystemUserManagerPlugin... [13:51:55] [ModuleLoader Info]    : Loaded SystemUserManagerPlugin version 1.0.0.0 by CubeCoders Limited [13:51:56] [FeatureManager Info]  : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited [13:51:56] [WebServer Info]       : Websockets are enabled. [13:51:56] [Core Info]            : Webserver started on 0.0.0.0:25540 [13:51:56] [WebServer Warning]    : RouterTimer@10Hz with 2 jobs started [13:51:56] [System Info]          : Checking for AMP updates... [13:51:56] [System Info]          : AMP is up-to-date.


It seems that every time I try to install it as a service, I do not find any entry in the services list.

Once I install it as a service, I can not start ADS. I must uninstall it as a service in order to launch it. And, then I cannot close the AMP instance manager either or it will close the ADS and instances...

Mike posted this 25 March 2020

Check the logs for the instance manager after trying to install the service. You can find them in %localappdata%\CubeCoders\AMP\InstanceManager

crixmadine77 posted this 28 March 2020

Check the logs for the instance manager after trying to install the service. You can find them in %localappdata%\CubeCoders\AMP\InstanceManager

This is the log from that. I can 'install' the service, but it can't be launched. I don't think it is installing properly.

https://pastebin.com/BYw906Y8

Mike posted this 28 March 2020

Have you rebooted? Windows services don't release their ports when stopped.

crixmadine77 posted this 28 March 2020

I did. In the past I thought I could find the service in the services list. I was pretty sure I could start and stop it that way. But I can’t find it in there now.

crixmadine77 posted this 28 March 2020

I tested installing on my laptop, and it seems to work just fine.

I am still unable to get this to work properly on the other computer though. I am at a loss for what is causing this.

crixmadine77 posted this 10 April 2020

So the way I am currently managing this is that I am running a Windows task scheduler to run the ADS AMP.exe file after computer start. Combined with ADS's ability to autostart instances this is a work around. However this isn't the solution to the issue - and I suspect that it doesn't shut down instances nicely as ADS could do on its own during computer shutdown.

Any thoughts as to how to fix the AMP service? Clearly it works ok on other systems but something has stopped working on my system.

Mike posted this 25 June 2020

Try this:

  • Make sure that ampinstmgr is version 1.9.9.10 Do not proceed if you're using an older version
  • Via the AMP instance manager, uninstall the ADS service if its installed.
  • Stop the ADS instance
  • Take a backup of your Instances.json file
  • Delete/rename the original Instances.json file.
  • Delete the directory for the ADS01 instance.
  • Run ampinstmgr repair then ampinstmgr quickstart
  • See if the new ADS instance starts.

crixmadine77 posted this 26 June 2020

I followed the instructions as you laid out, but it was unable to create additional instances afterward. This was in the console:

Failed to unpack AMP. UnauthorizedAccessException [0] (UnauthorizedAccessException) : Access to the path 'C:\AMPDatastore\Instances' is denied. at IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) at IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) at InstanceManagerPlugin.LocalInstanceManager.()

I uninstalled and reinstalled AMP in its entirety and things seem to work now... but this is a problem...

All of this happened again recently after I reinstalled the computer, installed 1.9.9.9, then later upgraded the instances and then manager application to 1.9.9.10... I am concerned that this may happen ever time the applications may need to be upgraded...

Close