Update Failure with Application Deployment - After Update all Instances are gone

System Information

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

Problem Description

Issue

Reproduction Steps

  • Update via Web GUI
  • Takes too long (1hr) Reboot Virtual Machine
  • Update through Command line wait for complete (took 5mins)
  • Restart AMP as the service does not seem to start on reboots
  • Try steps in forum linked below. (After getting back into the Web GUI found all servers gone but added data store is still there but files for Servers are gone)

Make sure that ampinstmgr version prints out v2.6.x.x, and if that checks out, check your disk space df -h.
https://discourse.cubecoders.com/t/how-to-update-amp-to-the-latest-version/2297

If that checks out, restore the intsances.json in /home/amp/.ampdata using a copy of one of the latest instances.json-xxx.bak files, then reboot.

So I tried that and oddly enough I get an error that says that file does not exsists. Yet when I do ls/home/amp/ .ampdata/ I clearly see old json files.

You have a space in your command there
You have: /home/amp/ .ampdata/...
Where it should be: /home/amp/.ampdata/...

Space no space. I’ve tried probably tried 10 different ways for it to see it. Still nothing.

Should work fine. cd into the .ampdata directory and try it there, limit the possibilities for typos and such

Ok so if I’m following what you said right (Starting to doubt myself) I have copied and restarted the amp service and whole VM. I have tried 2 or 3 of the json files so far and my instances are still not coming back.

ampinstmgr status reads them all out fine now though right?

Could be some weird browser cache thing

Good call. I see them. Next problem now is the web GUI isn’t working (also the servers are not using proper ports).

So I had the web GUI all for but 5 seconds then got disconnected (refused to connect). I haven’t changed anything on my network level so little confused about that.

image

ampinstmgr lastlog ADS01
would be the next thing to take a look at (clearing your browser cache also wouldn’t hurt)

Cleared cache still refuse to connect. Also this after running lastlog.

Also appears (if im doing this right) that nothing is listening for port 8080
image

Looks like the ADS just isn’t starting fully, weird.
Maybe check again now and see if there’s anything new in the log.
If not, try running getamp update as root to get things on the new hotfix, in case that was somehow related (doubtful, but sanity checks are great)

So I did try that ironically before reaching out along with running the install script (Probably was a mistake).

Anyway (I got impatient) in the process I ended up trying to give myself rw access to all folders under amp just so I could copy over the game worlds/config files and just reinstall completely on a fresh installed AMP/Ubuntu instance… Well I broke permissions and now everything is jacked up (sudo for example doesn’t work anymore). Last ditch effort is going to take the drive out and put it in another computer and manually grab the files (if it lets me).

First time I haven’t had a backup of the instances that is recent is why I reached out mainly… For more info sake I am running proxmox with Ubuntu server that ran AMP for this instance. Only was doing this for ram hard stop, as before I found amp allowing WAY over my allocated amount for some servers. Anyway Thank you Potato for trying to help.

1 Like

That is a bit of a doozie yeah.

I got a general rundown here for migrating an install across systems, but should also work for “importing” an install. (once you’re able to snag the files)

1 Like

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