• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Could not install the Site Import extension

JohnZ

New Pleskian
Tried to install the Site Import extension on Plesk Obsidian v18.0.29_build1800200825.21 os_Ubuntu 18.04
(also failed while on v18.0.28)

This is the error message, looks like it has something to do with dependencies:

Could not install the Site Import extension - Failed
  • The execution of post-install.php has failed with the following message:
  • [2020-09-01 11:44:24.660] ERR [panel] Execution plesk-migrator-post-install-packages.sh has failed with exit code 1, stdout: Bootstrapping dependencies for ubuntu bionic...
  • , stderr: ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100
  • exit status 1
  • :
  • 0: /opt/psa/admin/plib/pm/ApiCli.php:176
  • pm_ApiCli::filterResult(string 'plesk-migrator-post-install-packages.sh', integer '1', string 'Bootstrapping dependencies for ubuntu bionic...
  • ', string 'ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zer...', integer '5')
  • 1: /opt/psa/admin/plib/pm/ApiCli.php:169
  • pm_ApiCli::execWithPipes(string 'plesk-migrator-post-install-packages.sh', string ''/opt/psa/admin/bin/modules/site-import/plesk-migrator-post-install-packages.sh' ', integer '5', array)
  • 2: /opt/psa/admin/plib/pm/ApiCli.php:98
  • pm_ApiCli::callSbin(string 'plesk-migrator-post-install-packages.sh')
  • 3: /opt/psa/admin/plib/modules/site-import/scripts/plesk-migrator-post-install.php:9
  • postInstallPleskMigrator(NULL null)
  • 4: /opt/psa/admin/plib/modules/site-import/scripts/post-install.php:12
  • ERROR: pm_Exception_ResultException: Execution plesk-migrator-post-install-packages.sh has failed with exit code 1, stdout: Bootstrapping dependencies for ubuntu bionic...
  • , stderr: ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100
  • exit status 1
  • (ApiCli.php:176)

After this, the import options are available but an actual import (of email account) fails.

How can I find more info? Or do you know how to solve this?
 

Check the Logs please, may if you find any new information feel free to post it here
 
The log files were not helpful, but the last line in the error was key to finding the solution:
stderr: ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100
I ran the same command in the terminal (reduced output at [.....]):
Code:
# apt-get update --allow-releaseinfo-change
Hit:1 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
[.....]
Err:4 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ABE1AC7557BEFF9
Reading package lists... Done
W: GPG error: http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ABE1AC7557BEFF9
E: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04  InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

So it was a failed apt-get update which I solved by removing /etc/apt/sources.list.d/isv:ownCloud:desktop.list.
After this change, I removed the Site Import extension and installed it again, now without problems.
 
Back
Top