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: 22.04.3 LTS
Product Name/Version: AMP 2.4.8.0
Problem Description: After upgrading with ampinstmgr upgradeall
I began getting a message that my ADS system tools were outdated. I logged into an su account and ran apt upgrade ampinstmgr
both upgrades ran and completed without problems.
Now I am still receive the same error message -
‘The AMP instance manager command line tools are out of date. You are currently running undefined but the minimum required version is 2.4.5.0. Upgrading is required to continue using AMP due to changes in how AMP handles updates and manages instances. Continuing to use AMP without upgrading your system tools carries a high risk of causing damage to your installation.’
I am no longer able to manage the instances either as the console says I do not have permission and when I am finally able to get the instances to show up after logging in clicking on them does nothing.
Here is a snippet of the log file.
[15:18:39] [Core Info] : Starting AMP version 2.4.8.0 (Decadeus), built 29/01/2024 18:40
[15:18:39] [Core Info] : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[15:18:39] [Logger Info] : Purging old audit logs (this may take a moment)...
[15:18:39] [Core Warning] : Current time zone is set to EST - It is recommended you switch to UTC+0 to avoid time-zone related issues
[15:18:39] [Core Info] : OS: Linux / x86_64
[15:18:39] [Core Info] : CPU: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz (16C/16T)
[15:18:39] [Core Info] : RAM: 96602MB
[15:18:39] [Core Info] : AMP Instance ID: redacted
[15:18:39] [Loader Info] : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[15:18:39] [Loader Info] : Loaded FileManagerPlugin by CubeCoders Limited
[15:18:39] [Loader Info] : Loaded EmailSenderPlugin by CubeCoders Limited
[15:18:39] [Loader Info] : Loaded WebRequestPlugin by CubeCoders Limited
[15:18:40] [Loader Info] : Loaded LocalFileBackupPlugin by CubeCoders Limited
[15:18:40] [Loader Info] : Loaded CommonCorePlugin by CubeCoders Limited
[15:18:40] [Loader Info] : ADSModule requests dependency InstanceManagerPlugin...
[15:18:40] [Loader Info] : Loaded InstanceManagerPlugin by CubeCoders Limited
[15:18:40] [Loader Info] : ADSModule requests dependency SystemUserManagerPlugin...
[15:18:40] [Loader Info] : Loaded SystemUserManagerPlugin by CubeCoders Limited
[15:18:40] [Core Info] : Licence Present: AMP Professional Edition
[15:18:41] [Loader Info] : Loaded steamcmdplugin by CubeCoders Limited
[15:18:41] [Core Info] : Metrics server started OK on port 12820
[15:18:41] [ADS Info] : ADS startup complete in 124ms
[15:18:41] [ADS Info] : Updating remote source CubeCoders/AMPTemplates
[15:18:41] [ADS Info] : Updating existing remote source https://github.com/CubeCoders/AMPTemplates.git...
[15:18:41] [FileManager Notice] : Using keypair with fingerprint redacted
[15:18:41] [FileManager Info] : SFTP Server started on 0.0.0.0:2223
[15:18:41] [Webserver Info] : Websockets are enabled.
Already up to date.
[15:18:41] [Webserver Info] : Webserver started on http://0.0.0.0:8080
[15:18:41] [Logger Info] : RouterTimer@10Hz with 2 jobs started
[15:18:41] [Core Info] : Checking for AMP updates...
[15:18:41] [Core Info] : Startup mode is StartApplication.
[15:18:42] [Core Info] : AMP is up to date.
[15:18:46] [InstanceManager Info] : Waiting for AMP instance to start...
[15:18:46] [InstanceManager Notice] : AMP instance SpanCraft01 is now running.
[15:18:55] [API Warning] : 172.70.127.147/Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 tried to use session ID 88b18d79-549e-4fb1-b991-24793e568ec4 - but that session belongs to 172.69.59.101 while attempting to call GetUpdates
[15:18:55] [API Warning] : 172.70.127.147/Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 tried to use session ID 88b18d79-549e-4fb1-b991-24793e568ec4 - but that session belongs to 172.69.59.101 while attempting to call GetUserActionsSpec
[15:18:55] [Core:Anonymous Warning] : Access denied: You do not have permission to use this method (GSMyAdmin.WebServer.GetUserActionsSpec) at this time. This method requires the Session.Exists permission. (Origin: 172.70.127.147)
If you're sharing console output, logs, or commands you have run, please make sure to use code tags
(3x backticks for blocks, 1x backtick for a single line) to help make posts readable. This also
provides syntax highlighting.
Steps to reproduce:
- Step 1
- Step 2
- Step 3
Actions taken to resolve so far:
ampinstmgr fixperms
ampinstmgr repairauth
ampinstmgr upgradeall
again
apt remove ampinstmgr
apt install ampinstmgr
restarted host machine multiple times
Update:
I have also now tried the following,
ampinstmgr --nochache upgradeall
ampinstmgr --ChangeInstanceStream ADS01 Development true
then upgradeall again
Still not working.
I have tried to logout of my admin user the logfile then gets this error
[16:54:19] [Core:Anonymous Warning] : Access denied: You do not have permission to use this method (GSMyAdmin.WebServer.Logout) at this time. This method requires the Session.Exists permission. (Origin: 172.70.100.187)
I am at a loss for what to do here.
Update 2:
After way too much time and effort I finally got it working. This was not an error with AMP but rather with the fact that at the same time my DNS was changed to cloudflare which used a proxied connection.
After removing the proxied connection from the DNS settings in cloudflare everything is now working correctly.
Anyone having the same type of issues and using cloudflare that may be the issue.