The error message indicates:

"An installation already exists as per our records. To reinstall the application, please uninstall the existing installation!"

Here is how to resolve it.

Understand the Issue

This error occurs because the installation script (e.g., via Softaculous or a similar installer) detects an existing installation of the application in the specified directory. This might be due to:

  • A previous installation that was not fully removed.
  • Leftover files, folders, or database entries from an old installation.

Steps to Fix the Issue

1

Remove the Existing Installation Files

  • Check the Installation Directory:
    • Locate the directory where the application is installed (e.g., /public_html/your-app).
  • Delete all files and folders related to the application:
  • rm -rf /path/to/installation/
2

Delete the Database

  • Log in to your database management tool (e.g., phpMyAdmin or MySQL CLI).
  • Drop the database associated with the previous installation:
  • DROP DATABASE your_database_name;
  • Alternatively, remove only specific tables if the database is shared.
3

Clear Softaculous or Installer Records

  • Log in to Softaculous or your hosting control panel.
  • Navigate to "All Installations".
  • Remove the existing application record from the installer dashboard.

Perform a Fresh Installation

  1. Revisit the installer (e.g., Softaculous).
  2. Choose the application and specify the installation directory.
  3. Proceed with a new installation.

Troubleshooting

If you still encounter issues:

  • Check for Hidden Files:
    • Some installations leave .htaccess or configuration files behind. Enable the display of hidden files in your file manager.
  • Verify DNS or URL Conflicts:
    • Ensure that the domain or subdomain used for the installation is not linked to another application.