• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Accidently removed Plesk Panel

befla

New Pleskian
Server operating system version
Debian GNU/Linux 8.11 (jessie)
Plesk version and microupdate number
deleted
Hi. I accidently removed my plesk installation with apt remove curl. At /var/lib/psa/dumps/ I can see backups of my installation. How can I restore my Plesk?
 
Hello Befla,

Will you please provide us with more details like, if you have a full backup of the plesk panel or just backup your site?

If you have a full backup of the Plesk panel and database, you can try to place the backup in the installation directory of the Plesk panel.
 
Hello. Thanks for your reply. Honestly I don´t know well where to find the backups of plesk. At /var/lib/psa/dumps/ I can see files like mysql.plesk.core.prerm.18.0.28.20220513-131928.dump.gz, mysql.daily.dump.0.gz, backup_info_2205050003.xml with recent backups.
 
hello @befla
you can try restore Plesk using console command
Code:
plesk repair installation

another way, is to re-install plesk at the same machine with Plesk installer (it can be downloaded from http://autoinstall.plesk.com/plesk-installer)
and after Plesk will be re-installed - you will be able to restore your sites from existing backup files.

also there is an option to submit ticket to the Technical Support.
In case you're not eligible for option above, you can reach Plesk Technical Support directly.
 
Just found this dpkg.log:
Code:
2022-05-13 13:16:51 startup packages remove
2022-05-13 13:16:51 status installed aum:amd64 5.0-0.11
2022-05-13 13:16:51 remove aum:amd64 5.0-0.11 <none>
2022-05-13 13:16:51 status half-configured aum:amd64 5.0-0.11
2022-05-13 13:16:51 status half-installed aum:amd64 5.0-0.11
2022-05-13 13:16:53 status config-files aum:amd64 5.0-0.11
2022-05-13 13:16:53 status config-files aum:amd64 5.0-0.11
2022-05-13 13:16:53 status installed plesk-web-socket:amd64 18.0-v.debian.8+p18.0.24.0+t200207.1734
2022-05-13 13:16:54 remove plesk-web-socket:amd64 18.0-v.debian.8+p18.0.24.0+t200207.1734 <none>
2022-05-13 13:16:54 status half-configured plesk-web-socket:amd64 18.0-v.debian.8+p18.0.24.0+t200207.1734
2022-05-13 13:17:07 status half-installed plesk-web-socket:amd64 18.0-v.debian.8+p18.0.24.0+t200207.1734
2022-05-13 13:17:08 status config-files plesk-web-socket:amd64 18.0-v.debian.8+p18.0.24.0+t200207.1734
2022-05-13 13:17:08 status config-files plesk-web-socket:amd64 18.0-v.debian.8+p18.0.24.0+t200207.1734
2022-05-13 13:17:08 status installed plesk-config-troubleshooter:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:09 remove plesk-config-troubleshooter:all 18.0-v.debian.8+p18.0.28.1+t200630.1010 <none>
2022-05-13 13:17:09 status half-configured plesk-config-troubleshooter:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:10 status half-installed plesk-config-troubleshooter:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:11 status config-files plesk-config-troubleshooter:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:11 status config-files plesk-config-troubleshooter:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:11 status config-files plesk-config-troubleshooter:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:12 status not-installed plesk-config-troubleshooter:all <none>
2022-05-13 13:17:12 status installed plesk-core:amd64 18.0-v.debian.8+p18.0.28.3+t200720.1049
2022-05-13 13:17:12 status installed plesk-core-utilities:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:12 status installed curl:amd64 7.38.0-4+deb8u16
2022-05-13 13:17:13 status installed plesk-l10n:all 18.0-v.debian.8+p18.0.28.3+t200710.1600
2022-05-13 13:17:13 remove plesk-l10n:all 18.0-v.debian.8+p18.0.28.3+t200710.1600 <none>
2022-05-13 13:17:13 status half-configured plesk-l10n:all 18.0-v.debian.8+p18.0.28.3+t200710.1600
2022-05-13 13:17:18 status half-installed plesk-l10n:all 18.0-v.debian.8+p18.0.28.3+t200710.1600
2022-05-13 13:17:31 status config-files plesk-l10n:all 18.0-v.debian.8+p18.0.28.3+t200710.1600
2022-05-13 13:17:32 status config-files plesk-l10n:all 18.0-v.debian.8+p18.0.28.3+t200710.1600
2022-05-13 13:17:32 status config-files plesk-l10n:all 18.0-v.debian.8+p18.0.28.3+t200710.1600
2022-05-13 13:17:32 status not-installed plesk-l10n:all <none>
2022-05-13 13:17:32 status installed plesk-roundcube:all 1.4.6-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:17:33 remove plesk-roundcube:all 1.4.6-v.debian.8+p18.0.28.1+t200630.1010 <none>
2022-05-13 13:17:33 status half-configured plesk-roundcube:all 1.4.6-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:40 status half-installed plesk-roundcube:all 1.4.6-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:43 status config-files plesk-roundcube:all 1.4.6-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:44 status config-files plesk-roundcube:all 1.4.6-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:44 status installed plesk-web-hosting:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:45 remove plesk-web-hosting:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010 <none>
2022-05-13 13:18:45 status half-configured plesk-web-hosting:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:45 status half-installed plesk-web-hosting:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:47 status config-files plesk-web-hosting:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:47 status config-files plesk-web-hosting:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:48 status installed psa-firewall:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:48 remove psa-firewall:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010 <none>
2022-05-13 13:18:48 status half-configured psa-firewall:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:54 status half-installed psa-firewall:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:18:58 status config-files psa-firewall:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:02 status config-files psa-firewall:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:04 status installed psa-updates:all 18.0-v.debian.8+p18.0.20.0+t191009.1747
2022-05-13 13:19:05 remove psa-updates:all 18.0-v.debian.8+p18.0.20.0+t191009.1747 <none>
2022-05-13 13:19:05 status half-configured psa-updates:all 18.0-v.debian.8+p18.0.20.0+t191009.1747
2022-05-13 13:19:05 status half-installed psa-updates:all 18.0-v.debian.8+p18.0.20.0+t191009.1747
2022-05-13 13:19:06 status config-files psa-updates:all 18.0-v.debian.8+p18.0.20.0+t191009.1747
2022-05-13 13:19:06 status config-files psa-updates:all 18.0-v.debian.8+p18.0.20.0+t191009.1747
2022-05-13 13:19:07 status config-files psa-updates:all 18.0-v.debian.8+p18.0.20.0+t191009.1747
2022-05-13 13:19:07 status not-installed psa-updates:all <none>
2022-05-13 13:19:07 status installed psa-vhost:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:08 remove psa-vhost:all 18.0-v.debian.8+p18.0.28.1+t200630.1010 <none>
2022-05-13 13:19:08 status half-configured psa-vhost:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:08 status half-installed psa-vhost:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:08 status config-files psa-vhost:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:09 status config-files psa-vhost:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:09 status config-files psa-vhost:all 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:11 status not-installed psa-vhost:all <none>
2022-05-13 13:19:12 status installed psa-watchdog:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:13 remove psa-watchdog:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010 <none>
2022-05-13 13:19:13 status half-configured psa-watchdog:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:25 status half-installed psa-watchdog:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:26 status config-files psa-watchdog:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:26 status config-files psa-watchdog:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:19:27 status installed plesk-core:amd64 18.0-v.debian.8+p18.0.28.3+t200720.1049
2022-05-13 13:19:27 remove plesk-core:amd64 18.0-v.debian.8+p18.0.28.3+t200720.1049 <none>
2022-05-13 13:19:27 status half-configured plesk-core:amd64 18.0-v.debian.8+p18.0.28.3+t200720.1049
2022-05-13 13:23:40 status half-installed plesk-core:amd64 18.0-v.debian.8+p18.0.28.3+t200720.1049
2022-05-13 13:24:02 status config-files plesk-core:amd64 18.0-v.debian.8+p18.0.28.3+t200720.1049
2022-05-13 13:24:03 status config-files plesk-core:amd64 18.0-v.debian.8+p18.0.28.3+t200720.1049
2022-05-13 13:24:03 status installed plesk-core-utilities:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:24:03 remove plesk-core-utilities:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010 <none>
2022-05-13 13:24:03 status half-configured plesk-core-utilities:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:24:03 status half-installed plesk-core-utilities:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:24:04 status config-files plesk-core-utilities:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:24:05 status config-files plesk-core-utilities:amd64 18.0-v.debian.8+p18.0.28.1+t200630.1010
2022-05-13 13:24:05 status installed curl:amd64 7.38.0-4+deb8u16
2022-05-13 13:24:06 remove curl:amd64 7.38.0-4+deb8u16 <none>
2022-05-13 13:24:06 status half-configured curl:amd64 7.38.0-4+deb8u16
2022-05-13 13:24:06 status half-installed curl:amd64 7.38.0-4+deb8u16
2022-05-13 13:24:06 status triggers-pending man-db:amd64 2.7.0.2-5
2022-05-13 13:24:10 status config-files curl:amd64 7.38.0-4+deb8u16
2022-05-13 13:24:15 status config-files curl:amd64 7.38.0-4+deb8u16
2022-05-13 13:24:16 status config-files curl:amd64 7.38.0-4+deb8u16
2022-05-13 13:24:17 status not-installed curl:amd64 <none>
2022-05-13 13:24:18 startup packages configure
2022-05-13 13:24:18 trigproc man-db:amd64 2.7.0.2-5 <none>
2022-05-13 13:24:18 status half-configured man-db:amd64 2.7.0.2-5
2022-05-13 13:24:26 status installed man-db:amd64 2.7.0.2-5
2022-05-13 13:56:38 startup archives unpack
2022-05-13 13:56:39 upgrade libgcrypt20:amd64 1.6.3-2+deb8u8 1.7.6-2+deb9u3
2022-05-13 13:56:39 status triggers-pending libc-bin:amd64 2.19-18+deb8u10
 
@befla ,
first of all I strongly recommend you to make a full server backup before proceed.
In case using virtual server (AWS/Google cloud/Azure/etc it should not be difficult but can help to avoid unnecessary problems).

Hi @Nik G

I thought the same, to download the Plesk Installer. But honestly I don´t know well which carpet to download and where to put.

just download console autoinstaller and execute it:
wget http://autoinstall.plesk.com/plesk-installer; bash -c ./plesk-installer --all-versions
and choose exactly the same version that was installed before disaster.
 
well, you can use attached script.
but it seems something wrong with your network configuration.

please check that autoinstall.plesk.com resolves and reachable for you by http and https protocols.


as about version, then it would be better to use latest available.
just execute plesk-installer without params and it will be started in interactive mode.
 

Attachments

  • plesk-installer.sh.zip
    5.5 KB · Views: 9
Back
Top