• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 pre and post scripts for distupgrade (deb7 to deb8)

stevang

New Pleskian
Dist-Upgrade Support

regarding the pre and post scripts under /usr/local/psa/bin/ or /opt/psa/bin/:
in have the following files only. a deb7-deb8_post file is missing.

distupgrade.helper.deb6-deb7_post.x64.sh
distupgrade.helper.deb7-deb8_pre.x64.sh
distupgrade.helper.deb7-deb8.x64.sh

were can i get the post script file for deb7 to deb8,
and what is happening exactly in the pre and post scripts?

Regards,
Stephan
 
Actually, this file is a part of plesk-core package:

# ls -la /opt/psa/bin/distupgrade.helper.deb7-deb8_post.x64.sh
-rwxr-xr-x 1 root root 61327 bře 17 2017 /opt/psa/bin/distupgrade.helper.deb7-deb8_post.x64.sh

# dpkg -S /opt/psa/bin/distupgrade.helper.deb7-deb8_post.x64.sh
plesk-core: /opt/psa/bin/distupgrade.helper.deb7-deb8_post.x64.sh

I have attached this file.
 

Attachments

  • distupgrade.helper.deb7-deb8_post.x64.sh.zip
    17.6 KB · Views: 5
Thank you very much Igor!
Would you mind to post the pre script as well. I'm not sure if my pre script is up to date.

i took your post script and compared it to my distupgrade.helper.deb7-deb8.x64.sh
they look almost the same. just some differences here and there. so i guess for some reason
i am not up to date there. maybe the plesk update from 12.5 did not update everything?

i'm running Plesk Onyx
Version 17.5.3 Update #30

Regards,
Stephan

ps: i can't upload a zip or sh file here
"The uploaded file does not have an allowed extension.
distupgrade-helper-deb7-deb8-x64.zip"
 
Try to fix it with

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation

ok, i did this as you recommended.
but looking at the file dates it does not look like the distupgrade script files have been replaced

root@servername:/opt/psa/bin# ls -la dist*
-rwxr-xr-x 1 root root 60433 Mär 17 2017 distupgrade.helper.deb6-deb7_post.x64.sh
-rwxr-xr-x 1 root root 61327 Nov 16 11:34 distupgrade.helper.deb7-deb8_post.x64.sh
-rwxr-xr-x 1 root root 61763 Mär 17 2017 distupgrade.helper.deb7-deb8_pre.x64.sh
-rwxr-xr-x 1 root root 61484 Mär 17 2017 distupgrade.helper.deb7-deb8.x64.sh

root@servername:/usr/local/psa/bin# ls -la dist*
-rwxr-xr-x 1 root root 60433 Mär 17 2017 distupgrade.helper.deb6-deb7_post.x64.sh
-rwxr-xr-x 1 root root 61327 Nov 16 11:34 distupgrade.helper.deb7-deb8_post.x64.sh
-rwxr-xr-x 1 root root 61763 Mär 17 2017 distupgrade.helper.deb7-deb8_pre.x64.sh
-rwxr-xr-x 1 root root 61484 Mär 17 2017 distupgrade.helper.deb7-deb8.x64.sh
 
Back
Top