• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error after upgrade from 17 to 18.0.21

cybercoder

New Pleskian
After upgrading Plesk from 17 to Version 18.0.21 Update #3 on my linux machine, When open the Domains menu and select a domain (any of them) this error will appear:

ERROR: Cannot redeclare Clue\StreamFilter\register() (previously declared in /usr/local/psa/admin/plib/vendor/clue/stream-filter/src/functions.php:140) (functions.php:140)

I did do plesk repair fs and plesk repair web but noting changed.
 
I did do plesk repair fs and plesk repair web but noting changed.
Try to use the following commands:

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation
 
Try to use the following commands:

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

===> Plesk database scheme upgrade has been completed.
SUCCESS: Upgrade step 2019-02-18-14-09-55_InstallEssentialExtensions.php was successfully done.
ERROR: Upgrade step 2019-04-25-14-46-58_ReportUsage.php failed with code 255 and output:
PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /usr/local/psa/admin/plib/vendor/clue/stream-filter/src/functions.php:17) in /usr/local/psa/admin/plib/modules/docker/vendor/clue/stream-filter/src/functions.php on line 27
Some steps of upgrade failed. Run upgrade with option --repair to rerun failed steps.

And again
 
Regenerating web servers' configuration files...
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => xx,yyy
)

Details: PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /usr/local/psa/admin/plib/vendor/clue/stream-filter/src/functions.php:17) in /usr/local/psa/admin/plib/modules/docker/vendor/clue/stream-filter/src/functions.php on line 27

Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains... Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => example.com
[2] => -skip-broken
[3] => -no-restart
)

Details: PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /usr/local/psa/admin/plib/vendor/clue/stream-filter/src/functions.php:17) in /usr/local/psa/admin/plib/modules/docker/vendor/clue/stream-filter/src/functions.php on line 27


Warning: reconfigure web-server configurations skipping broken domains
 
Try to remove Docker extension temporarily and run repair again.
 
# plesk bin extension -u docker

[2019-11-26 06:59:19.532] ERR [extension/docker] The execution of pre-uninstall.php has failed with the following message:
PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /usr/local/psa/admin/plib/vendor/clue/stream-filter/src/functions.php:17) in /usr/local/psa/admin/plib/modules/docker/vendor/clue/stream-filter/src/functions.php on line 27
PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /usr/local/psa/admin/plib/vendor/clue/stream-filter/src/functions.php:17) in /usr/local/psa/admin/plib/modules/docker/vendor/clue/stream-filter/src/functions.php on line 27
 
Back
Top