Update Failure with Application Deployment - Cannot upgrade AMP instance

System Information

Field Value
Operating System Linux - Ubuntu 22.04.4 on x86_64
Product AMP ‘Callisto’ v2.5.1.6 (Mainline)
Virtualization QEMU_KVM
Application Application Deployment
Module ADSModule
Running in Container No
Current State Indeterminate

Problem Description

Issue

Hi, i have a problem that whenever i want to upgrade my AMP instance from version 2.5.1. 6 to 2.5.1.8 i cannot access the website after the upgrade no longer, to get the website functional again for me i need to perform ´´systemctl restart ampinstmgr.service´´, after that everything works fine again, but nothing updated, my AMP instance is still on version 2.5.1.6 without any log of what could be preventning me from the updating to the latest version.

So far i tried checking for port conflicts, nothing that could be causinng problems wasnt found, i tried to run the command ´´ampinstmgr fixperms´´, the command works, but no success on performing the upgrade with it.
Excuse my bad English, i hope i described the problem as best as i could, and thanks for any response in advance

Reproduction Steps

  • Log-in to the website
  • Go to the Support and Updates section
  • Click Upgrade this instance
  • After 5 minutes of waiting logging in to the SSH to do systemctl restart ampinstmgr.service

Hi guys,
Same with me on Debian Linux and Docker.
When clicking update, the system shuts down and never comes back.
I need to restart the main instance.
But no update was done. At least the AMP GUI still wants to do a update 2.5.1.8

Systems details see image.

Update:
I checked the deployment log.
Maybe the line with the red arrow gives a hint, what is going wrong.

solved.
Use ampinstmgr

  1. Check, if amp user has reading rights on directory “ADS01”. I had to set them first.
  2. login as amp user in ampinstmgr: “sudo su -l amp
  3. run “ampinstmgr --UpgradeAll” (ref: ampinstMgr console commands)

Output shall be like this:

 CubeCoders AMP  :computer:amp@gameserver  :file_folder:~/.ampdata/instances/ADS01  ampinstmgr --UpgradeAll
[Info/1] AMP Instance Manager v2.5.1.8 built 03/09/2024 11:47
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info/1] Upgrading instance ADS01
[Info/10] Upgrade successful
[Info/10] Upgrading instance PrallheimLinux01
[Info/10] Upgrade successful
[Info/8] Using default tag: latest
[Info/8] latest: Pulling from cubecoders/ampbase
[Info/8] Digest: sha256:a6d66d67203807d0fb9801f55587ac22c28d634852ab7ef689db5baffc922d23
[Info/8] Status: Image is up to date for cubecoders/ampbase:latest
[Info/8] docker.io/cubecoders/ampbase:latest

  1. restart your main instance, if needed. (ampinstmgr -s ADS01)
  2. You are done. Have fun.
4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.