User can not login to new instances

OS Name/Version: Debian GNU/Linux 11

Product Name/Version: 2.4.4.0

Problem Description:

I set up an instance so that a buddy of mine and I could take care of the game server. I had first created its user and the instance. Now he can access the old instances but not the new ones, which he should actually be able to manage. I tried to solve this somehow using the permissions, but nothing worked. Unfortunately, I couldn’t find anything here in the forum either, as the logs weren’t really of any help to me. I now hope that I can find a solution to the problem here.

The log of the instance says the following when the user logs in:

Authentication failure for user |USERNAME| from 127.0.0.1 - Failure

The web interface just says:

Failed to login to remote instance. null
Invalid Username or password

The password and username are correct!

Steps to reproduce:

  • Create an User
  • Create an Instance
  • Login in to the new User in the new Instance

Actions taken to resolve so far:

  • Searched forum and GitHub
  • Read through the logs
  • Permissions tried with many attempts

Does anyone have an idea what that could be?

Best regards
lemyjr

You’re on an old version of AMP, please make sure you’re up to date first.

I tried to update using the CLI three times today alone. he gives me out every time. That the latest version is installed. APT cannot find the server.

Miss:5 https://repo.cubecoders.com debian/ InRelease
  The following signatures were invalid: EXPKEYSIG 33FB60CD1A773489 Michael Biggins <admin@cubecoders.com>

This line comes up for both update and upgrade and it skips packages

run as root sudo su -l this command bash <(wget -qO- getamp.sh) addRepo to get the latest repos and then you can update to the latest ampinstmgr and then go to the amp user sudo su -l amp and run ampinstmgr upgradeall to update everything to the latest amp version

okay apt update worked but AMP still reports 2.4.4 as the version.

It also says it is up to date.

did you run apt update and apt dist-upgrade -y after readding the repo?

yes I even restartet the Server still 2.4.4

root@wing:~# apt update
92.4 kB were fetched in 0 s (263 kB/s).
Reading package lists… Done
Building dependency tree… Done
Status information is being read in… Done
All packages are current.
root@wing:~# apt dist-upgrade -y
Reading package lists… Done
Building dependency tree… Done
Status information is being read in… Done
Package update (upgrade) is being calculated... Done
0 updated, 0 reinstalled, 0 to remove and 0 not updated.

you need to go to the amp user with sudo su -l amp and then run ampinstmgr upgradeall

Yes I did that still the same. Nothing changed. The CLI tells me all up-to-date

in ssh as the amp user type ampinstmgr status and show the output of that please

Here is the output. I left the Instance out :wink:

[Info] AMP Instance Manager v2.4.8 built 29/01/2024 18:40
[Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV

ampinstmgr switchall mainline true
ampinstmgr upgradeall

ampinstmgr switchall mainline true
[Info] AMP Instance Manager v2.4.8 built 29/01/2024 18:40
[Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] This instance is already on the Mainline release stream.
[Info] This instance is already on the Mainline release stream.
[Info] This instance is already on the Mainline release stream.
[Info] This instance is already on the Mainline release stream.
[Info] This instance is already on the Mainline release stream.
[Info] This instance is already on the Mainline release stream.

you need to update via apt first so sudo apt update && sudo apt upgrade -y first on a user that has sudo access or the root user then sudo su -l amp and run ampinstmgr upgradeall your still on 2.4.8 build

I know and that is what I have also done. Still it tells me that it is up to date

Run bash <(wget -qO- getamp.sh) addRepo then try again. You’ve fallen too far behind for an automatic update.

only to make sure that the version is now uptodate:

┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key                  ┃ Value                                 ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System     ┃ Linux - Debian GNU/Linux 11 on x86_64 ┃
┃ Product              ┃ AMP 'Callisto' v2.5.0.4 (Mainline)    ┃
┃ Virtualization       ┃ QEMU_KVM                              ┃
┃ Application          ┃ Application Deployment                ┃
┃ Module               ┃ ADSModule                             ┃
┃ Running in Container ┃ No                                    ┃
┃ Current State        ┃ Indeterminate                         ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛