Rob Taylor
Basic Pleskian
TITLE:
User PHP customisations being overwritten by service plan changes
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Version: Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7
OS: CentOS Linux 7.4.1708 (Core)
PROBLEM DESCRIPTION:OS: CentOS Linux 7.4.1708 (Core)
I am running the latest version of Plesk Onyx with all updates on 2 servers, one that is currently live and one that is about to go into production.
I very recently made a minor change to one of the services plans and then got reports from customers that their PHP customisations had been removed.
Upon investigation that was the case, all subscriptions on that plan had their PHP settings reverted back to the defaults.
I have replicated this on our new server and unless I am misunderstanding how the service plan / subscription system works there does indeed seem to be a significant bug with it.
STEPS TO REPRODUCE:I very recently made a minor change to one of the services plans and then got reports from customers that their PHP customisations had been removed.
Upon investigation that was the case, all subscriptions on that plan had their PHP settings reverted back to the defaults.
I have replicated this on our new server and unless I am misunderstanding how the service plan / subscription system works there does indeed seem to be a significant bug with it.
Here is how to replicate:
- Go to 'Service Plans'
- Click 'Add a Plan'
- Name 'Test'
- Accept all other defaults
- Click 'OK'
- Go to 'Domains'
- Click 'Add Domain'
- Enter the domain name as 'example.com' or some other test domain
- Enter a username of 'test' and 'generate' a random password
- Leave all other settings as default
- Go to 'Subscriptions'
- Locate the test domain and tick the box
- Click 'Change Plan'
- Select the 'Test' service plan and apply
- Go to 'Domains', locate the domain name and click in it to view settings
- Click on 'PHP Settings'
- Scroll to the bottom and enter the following under 'Additional configuration directives':
default_charset = ""
- Set 'short_open_tag' to 'on'
- Click 'OK'
- Go to 'Service Plans'
- Click on the 'Test' plan
- Set 'Notify when disk space usage reaches' to a different figure (not an unreasonable change)
- Click 'Update and Sync'
- Go to 'Domains'
- Locate the test domain name and click on it
- Click on 'PHP Settings'
- Scroll to the bottom and all PHP customisations have been overwritten :-(
ACTUAL RESULT:- Go to 'Service Plans'
- Click 'Add a Plan'
- Name 'Test'
- Accept all other defaults
- Click 'OK'
- Go to 'Domains'
- Click 'Add Domain'
- Enter the domain name as 'example.com' or some other test domain
- Enter a username of 'test' and 'generate' a random password
- Leave all other settings as default
- Go to 'Subscriptions'
- Locate the test domain and tick the box
- Click 'Change Plan'
- Select the 'Test' service plan and apply
- Go to 'Domains', locate the domain name and click in it to view settings
- Click on 'PHP Settings'
- Scroll to the bottom and enter the following under 'Additional configuration directives':
default_charset = ""
- Set 'short_open_tag' to 'on'
- Click 'OK'
- Go to 'Service Plans'
- Click on the 'Test' plan
- Set 'Notify when disk space usage reaches' to a different figure (not an unreasonable change)
- Click 'Update and Sync'
- Go to 'Domains'
- Locate the test domain name and click on it
- Click on 'PHP Settings'
- Scroll to the bottom and all PHP customisations have been overwritten :-(
All domains subscribed to the service plan have their PHP settings set back to the defaults for that PHP version.
EXPECTED RESULT:Expected the individual domain PHP settings to be left unmodified if they have been altered from the default.
ANY ADDITIONAL INFORMATION:Looking for this to be confirmed as a bug and fixed or help understanding how individual accounts can have personalised PHP configurations that won't be overwritten.
Any help would be much appreciated.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Any help would be much appreciated.
Confirm bug