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