• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Plesk unavailable - Error while upgrading from Ubuntu 14 to Ubuntu 16

ArnoPlesk

New Pleskian
Hi,

I got an error ugrading Ubuntu :

Code:
2:~# /opt/psa/bin/distupgrade.helper.ubt14-ubt16_post.x64.sh
Bootstrapper repair actions failed
Some error during dist-upgrade post stage have occurred.
Check /var/log/plesk/install/plesk-distupgrade.log for error details.
Visit https://docs.plesk.com/en-US/current/administrator-guide/server-administration/distupgrade-support.74627/ for information about troubleshooting and recovering from failed dist-upgrade.

2:~# tail /var/log/plesk/install/plesk_17.8.11_repair.log
============================

+ '[' -f /var/log/plesk/install/plesk_17.8.11_repair_problems.log ']'
+ tac /var/log/plesk/install/plesk_17.8.11_repair_problems.log
+ awk '/^START/ { exit } { print }'
+ tac
*****  problem report *****
ERROR while trying to can not find "register_apsc_database.php"
Check the error reason(see log file: /var/log/plesk/install/plesk_17.8.11_repair.log), fix and try again
STOP Bootstrapper 17.8.11 repair AT Fri Sep 18 13:08:38 CEST 2020

I cannot find register_apsc_database.php or reinstall it :

Code:
2:~# find / -name register_apsc_database.php
2:~# ll /usr/local/psa/admin/plib/scripts/register_apsc_database.php
ls: cannot access '/usr/local/psa/admin/plib/scripts/register_apsc_database.php': No such file or directory

2:~# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
plesk: command not found

2:~# plesk repair installation
plesk: command not found

Could you please give me a way to download register_apsc_database.php ?

Thanks !
 
Could you please give me a way to download register_apsc_database.php ?
File /usr/local/psa/admin/plib/scripts/register_apsc_database.php is a part of plesk-core package. If you have corrupted this package that looks like your Plesk is completely damaged. You can try to reinstall this package but I'm afraid that Plesk Support Team assistance is required here.
 
I installed a brand new Ubuntu 16.04 and I installed the latest Plesk Onyx on it. register_apsc_database.php was avalaible in /opt :

Code:
2:~# ll /opt/psa/admin/plib/scripts/register_apsc_database.php
-rw-r--r-- 1 root root 1.9K 2020-09-11 16:29 /opt/psa/admin/plib/scripts/register_apsc_database.php

I rsync all the /opt folder from the new server to the ugraded one without deleting any file (rsync -a without -delete option). And i was able to follow upgrade.

There were some other errors, but I figured it out \o/

Code:
2:~# plesk version
Product version: Plesk Obsidian 18.0.30.0
     OS version: Ubuntu 16.04 x86_64
     Build date: 2020/09/14 12:00
 
Back
Top