changes not populating (48hours later still not populated)

Discussion in 'General' started by Enzo2424, Dec 7, 2021.

  1. Enzo2424

    Enzo2424 Member

    Hi everyone !

    I've recently reinstalled my server ( Ubuntuserver 20.04 & ISPConfig Version: 3.2.7p1 - Apache variant ) and everything was going fine.

    I then installed PHP 7.3 because I needed it for a website that can run on 7.4.
    Now I've got the red dot up top w/400+ changes pending not being populated, this persists for over 48 hours.

    I checked to see if Cron was working, and the service is active.
    So I tried launching the script that was in there and this is the result :

    # /usr/local/ispconfig/server/server.sh
    07.12.2021-17:29 - WARNING - There is already a lockfile set, but no process running with this pid (96314). Continuing.
    PHP Warning: Undefined array key "admin_mail" in /usr/local/ispconfig/server/server.php on line 97
    PHP Warning: Undefined array key "php_fpm_incron_reload" in /usr/local/ispconfig/server/plugins-available/z_php_fpm_incron_reload_plugin.inc.php on line 109
    PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:527
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php(179): db->escape()
    #1 /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php(298): db->_build_query_string()
    #2 /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php(337): db->_query()
    #3 /usr/local/ispconfig/server/lib/classes/modules.inc.php(239): db->query()
    #4 /usr/local/ispconfig/server/server.php(180): modules->processDatalog()
    #5 {main}
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 527

    So, i'm not a Guru, but from what I read, there's a lockfile set (but no process associated?), but where ? and should I delete it ?

    I read that I should comment out the ISPConfig cronjob and set my installation in debug mode, but before, I wanted to be sure that there isn't a simpler fix...
    Thanks for all help given.
    Enzo
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Those could be the reason which basically change of default php due to installing other php version and in link @till posted should have the solutions with other basic troubleshootings for ISPConfig server.
     
  4. Enzo2424

    Enzo2424 Member

    Thank you for your replies.. I finally figured it out.... after adding additionnal PHP versions, the system environement went from PHP 7.4 to PHP 8.0 (I never asked it to, it just did it naturally - found the solution here : https://ostechnix.com/how-to-switch-between-multiple-php-versions-in-ubuntu/)
    So, if you're confronted with this situation :
    first try :
    php --version
    to check your system environement PHP used
    You can then set it back to the wanted version using :
    update-alternatives --config php
    and select the version you want your system to use in the list proposed.
    After that, launch the script :
    /usr/local/ispconfig/server/server.sh
    And *Tah Dah* everything went as it should !
    Hope this helps...
    A few extra tips & hints if this doesn't work for you :
    https://www.howtoforge.com/communit...remove-job-from-job-queue-when-stucked.80951/
    https://ma.juii.net/blog/fix-ispconfig-job-queue

    Good luck, and thank yous fly out to Till and ahrasis
    Enzo
     

Share This Page