• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Forwarded to devs plesk repair web removes a PHP configuration file of mine without asking which it thinks is orphaned

mr-wolf

Silver Pleskian
Plesk Guru
Username: mr-wolf

TITLE

plesk repair web removes a PHP configuration file of mine without asking which it thinks is orphaned

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Ubuntu 18.04
Plesk 18.03

PROBLEM DESCRIPTION

I have the file /opt/plesk/php/7.4/etc/php-fpm.d/autodiscover.conf
"plesk repair" thinks that this file is an orphan and deletes it.

My problem with this feature is that is SAYS it is asking for permission, but that it in fact just deletes the file.
It should honour my choice of keeping it when I want to.

Checking for obsolete PHP-FPM configuration files

Domain autodiscover ............................................... [ERROR]
- Non existing domain autodiscover has obsolete PHP-FPM
configuration file
/opt/plesk/php/7.4/etc/php-fpm.d/autodiscover
Delete obsolete configuration file? [Y/n] Deleting ........................................................ [FIXED]

STEPS TO REPRODUCE

run plesk repair web -v

ACTUAL RESULT

It removes the PHP-file without asking

EXPECTED RESULT

Because I did not use the -y parameter I expect the tool to ask for permission to remove the file
It doesn't and just removes it

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
From developer:

I reproduced this case but the file is deleted if the client agrees to the default solution (Y/n) by pressing Enter.
And it is not a bug, it is the default behaviour.
The client needs to be more attentive.
 
Back
Top