ISPConfig unable to process changes (cron, etc.)

Discussion in 'Installation/Configuration' started by Jotillas, Sep 13, 2019.

  1. Jotillas

    Jotillas New Member

    Hi all,
    I am running a server with Debian 9 and ISPConfig 3.1. All of a sudden, ISPConfig is unable to process any changes like cron, website changes, etc. It was working until yesterday afternoon and no changes have been made at all in the server.

    When running /usr/local/ispconfig/server/server.sh I get the following:

    PHP Warning: Undefined property letsencrypt of class app in /usr/local/ispconfig/server/lib/app.inc.php on line 84
    PHP Fatal error: Uncaught Error: Call to a member function get_website_certificate_paths() on null in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php:1185
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/classes/plugins.inc.php(120): apache2_plugin->update('web_domain_upda...', Array)
    #1 /usr/local/ispconfig/server/mods-available/web_module.inc.php(135): plugins->raiseEvent('web_domain_upda...', Array)
    #2 /usr/local/ispconfig/server/lib/classes/modules.inc.php(302): web_module->process('web_domain', 'u', Array)
    #3 /usr/local/ispconfig/server/lib/classes/modules.inc.php(235): modules->raiseTableHook('web_domain', 'u', Array)
    #4 /usr/local/ispconfig/server/server.php(180): modules->processDatalog()
    #5 {main}
    thrown in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 1185

    Not sure what the fatal error is but the apache2_plugin file has not been modified in many days, so I am not sure why it became a problem now.

    Any guidance?
    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Update ISPConfig to the latest version and try again.
     
  3. Jotillas

    Jotillas New Member

    Thank you. Will try. Sorry for the silly question but, will the update interfere with the sites running on the server? They are at full speed now. Thanks!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, but updates in general, no matter of ispconfig or any other system software, should be installed on a server outside of the high traffic times.
     
  5. Jotillas

    Jotillas New Member

    No updates available. I was already running 3.1.15, even if I never updated manually and this version was released 10 days ago or so

    Pasting again the output after enabling debugging:

    /usr/local/ispconfig/server/server.sh
    13.09.2019-23:41 - WARNING - There is already a lockfile set, but no process running with this pid (20690). Continuing.


    13.09.2019-23:41 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    13.09.2019-23:41 - DEBUG - Found 12 changes, starting update process.
    13.09.2019-23:41 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
    13.09.2019-23:41 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
    13.09.2019-23:41 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client0/web1' - return code: 0
    13.09.2019-23:41 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client0/web1' - return code: 0
    13.09.2019-23:41 - DEBUG - safe_exec cmd: df -T '/var/www/clients/client0/web1'|awk 'END{print $2,$NF}' - return code: 0
    13.09.2019-23:41 - DEBUG - safe_exec cmd: which 'setquota' 2> /dev/null - return code: 0
    13.09.2019-23:41 - DEBUG - safe_exec cmd: setquota -u 'web1' '0' '0' 0 0 -a &> /dev/null - return code: 0
    13.09.2019-23:41 - DEBUG - safe_exec cmd: setquota -T -u 'web1' 604800 604800 -a &> /dev/null - return code: 0
    13.09.2019-23:41 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client0/web1' - return code: 0
    PHP Warning: Undefined property letsencrypt of class app in /usr/local/ispconfig/server/lib/app.inc.php on line 84
    PHP Fatal error: Uncaught Error: Call to a member function get_website_certificate_paths() on null in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php:1185
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/classes/plugins.inc.php(120): apache2_plugin->update('web_domain_upda...', Array)
    #1 /usr/local/ispconfig/server/mods-available/web_module.inc.php(135): plugins->raiseEvent('web_domain_upda...', Array)
    #2 /usr/local/ispconfig/server/lib/classes/modules.inc.php(302): web_module->process('web_domain', 'u', Array)
    #3 /usr/local/ispconfig/server/lib/classes/modules.inc.php(235): modules->raiseTableHook('web_domain', 'u', Array)
    #4 /usr/local/ispconfig/server/server.php(180): modules->processDatalog()
    #5 {main}
    thrown in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 1185
     
    Last edited: Sep 13, 2019
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    I checked the code and it's ok as far as I can see, it might be that the letencrypt library file is missing. Please run ispconfig_update.sh and choose 'git-stable' as update source. after the update, try again with using debug mode.
     

Share This Page