Can't delete instance in control panel

OS Name/Version:Ubuntu 20.04.5 LTS

Product Name/Version: AMP Release “Halimede” v2.4.0.10, built 27/10/2022 18:15

Problem Description:Can’t delete instances, after clicking delete instance and refresh the webpage, it will be still there.

In /home/amp/.ampdata/instances the old instances that should be deleted is still there, after manually delete the folder, the webpage still shows the instance.

This is usually caused by one of two things.

  1. The permissions are screwed up. Run sudo su -l to become root. Then run ampinstmgr fixperms to attempt fixing it.

  2. Leftover processes/files in use. You may need to delete the folder for the instance manually if it’s just select instances. But if it’s truly “all” instances then this likely isn’t the case.