• 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.

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