• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue After changing php.ini settings plesk remains on "updating"

cool_sh

Basic Pleskian
Hi,

last week I edited using Tools & Settings > PHP Settings > php.ini for all php-versions and saved it. The changes took already affect and websites still working fine.

But the frontend remains in "update" mode. I am not able to edit php.ini again and restarting the services had no affect. The icons on the last changed inis are still loading.

Best regards
 

Attachments

  • php_handler_ini.png
    php_handler_ini.png
    53.8 KB · Views: 4
One suggested solution path (there may be other, better approaches):

Please check whether there are processes on the system that have "update-php" in a parameter:
# ps aux | grep update-php
Like for example "/usr/local/psa/bin/domain --update-php-settings mydomain.com".
If there are any, kill these processes. They might hang.

Then login to the databse
# plesk db
and select the records from the longtasks table
> select * from longtasks;
Check the date and time fields. If none of the entries is young (e.g. started in the past few hours), remove all records:
> truncate longtasks;

Then restart plesk service in two steps:
# service psa stopall
# service psa start

The update message should no longer be displayed.

If that does not resolve it, stop Plesk
# service psa stopall
and look closely at all processes whether there are still Plesk processes in the process list. If there are, these are likely hanging processes that could not be removed by the "stopall". Difficult to say in dry run here whether you can simply kill them, but probably it is possible without running any risks. Then restart Plesk with
# service psa start

If that does not help either, reboot system. This will remove hanging processes. Rebooting does have some risks, though, e.g. of system services not coming back up.
 
Back
Top