Cannot create a new site

Discussion in 'General' started by Tom87, Aug 19, 2019.

  1. Tom87

    Tom87 New Member

    Hi,

    I'm having trouble creating a new site. I upgraded to version 3.1.14p2 and upgraded PHP 7.3 to the latest version. Debian OS 9. All current sites work fine. However, if I want to create a new site, it is inserted into the database (but the red dot does not appear, the job queue is empty, the directory is not created on the server, *.vhost is not created.)

    I tried to restart crontab, I tried Comment out the server.sh cron job, restart the server.

    Ispconfig CRON log:

    Mon Aug 19 17:34:01 CEST 2019
    Mon Aug 19 17:34:20 CEST 2019 finished.
    Mon Aug 19 17:35:02 CEST 2019 PHP Deprecated: The each () function is deprecated. This message will be suppressed for further calls in /usr/local/ispconfig/server/lib/classes/cron.inc.php on line 267
    Mon Aug 19 17:35:03 CEST 2019
    Mon Aug 19 17:35:03 CEST 2019
    Mon Aug 19 17:35:03 CEST 2019 finished.
    Mon Aug 19 17:35:03 CEST 2019 / usr / bin / fail2ban-client
    Mon Aug 19 17:35:03 CEST 2019 / sbin / iptables
    Mon Aug 19 17:35:03 CEST 2019 / sbin / ip6tables
    Mon Aug 19 17:35:02 CEST 2019 PHP Warning: Use undefined constant openvz_tools - assumed 'openvz_tools' (this will throw a bug in a future version of PHP) in / usr / local / ispconfig / server / lib / classes / cron.d / 100-monitor_openvz.inc.php
    Mon Aug 19 17:35:02 CEST 2019 PHP Warning: Use undefined constant openvz_tools - assumed 'openvz_tools' (this will throw a bug in a future version of PHP) in / usr / local / ispconfig / server / lib / classes / cron.d / 100-monitor_openvz.inc.php online 101
    Mon Aug 19 17:36:01 CEST 2019
    Mon Aug 19 17:36:01 CEST 2019
    Mon Aug 19 17:36:20 CEST 2019 finished.

    Ispconfig log Debug mode:

    19.08.2019-17: 38 - DEBUG - Calling function 'check_phpini_changes' from the plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    19.08.2019-17: 38 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    19.08.2019-17: 39 - DEBUG - Calling function 'check_phpini_changes' from the plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    19.08.2019-17: 39 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    19.08.2019-17: 40 - DEBUG - Calling function 'check_phpini_changes' from the plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    19.08.2019-17: 40 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock

    Would anyone please know what to do about it? Thank you.
     
    Sterli likes this.
  2. ahrasis

    ahrasis Well-Known Member

    Ensure your Debian 9 is using its default php version and not upgraded one as ISPConfig only use default php shipped with the OS.
     
  3. Tom87

    Tom87 New Member

    Thank you for answer.
    php -v
    PHP 7.3.8

    ispconfig was installed with php 7.0
    However, after installing ispconfig and installing PHP 7.3:
    a2dismod php7.0
    a2dismod mpm_prefork
    a2enmod mpm_event
    systemctl restart apache2

    ispconfig worked normally. In the meantime, I've been updating PHP, ispconfig, and run apt autoremove.
    I'm not able to add a new site at this time
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    What you did is not supported, so it might lead to system failures, not only in ISPConfig but also in other packages form Debian as they expect to find the Debian version which belongs to Debian 9 and that PHP 7.0 and not 7.3. You can have PHP 7.3 as additional PHP, but you should not replace the default PHP version of the Linux distribution.

    Comment out the server.sh cronjob in the root crontab as described in the ISPConfig debug instructions, then delete that site and add it again, finally run server.sh as root user on the shell and post the result.
     
  5. Tom87

    Tom87 New Member

    wrote only finished.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. Tom87

    Tom87 New Member

    I haven't set up debug mode. I setup. I added a new website. Ispconfig added it to the site list, the red dot did not appear, the directory was not created. Result:

    20.08.2019-10: 38 - DEBUG - Calling function 'check_phpini_changes' from the plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    20.08.2019-10: 38 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. Please post the result of:

    ls -la /usr/local/ispconfig/server/plugins-enabled/
     
  9. Tom87

    Tom87 New Member

    total 96
    4 lrwxrwxrwx 1 root root 68 May 31 13:42 apache2_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php
    4 lrwxrwxrwx 1 root root 71 May 31 13:42 apps_vhost_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/apps_vhost_plugin.inc.php
    4 lrwxrwxrwx 1 root root 64 May 31 13:42 aps_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/aps_plugin.inc.php
    4 lrwxrwxrwx 1 root root 67 May 31 13:42 backup_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php
    4 lrwxrwxrwx 1 root root 65 May 31 13:42 bind_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php
    4 lrwxrwxrwx 1 root root 73 May 31 13:42 cron_jailkit_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php
    4 lrwxrwxrwx 1 root root 65 May 31 13:42 cron_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/cron_plugin.inc.php
    4 -rwxr-x--- 1 root root 45 Aug 13 14:08 empty.dir
    4 lrwxrwxrwx 1 root root 69 May 31 13:42 firewall_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php
    4 lrwxrwxrwx 1 root root 73 May 31 13:42 ftpuser_base_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/ftpuser_base_plugin.inc.php
    4 lrwxrwxrwx 1 root root 68 May 31 13:42 getmail_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/getmail_plugin.inc.php
    4 lrwxrwxrwx 1 root root 72 May 31 13:42 maildeliver_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php
    4 lrwxrwxrwx 1 root root 68 May 31 13:42 mailman_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mailman_plugin.inc.php
    4 lrwxrwxrwx 1 root root 70 May 31 13:42 mail_plugin_dkim.inc.php -> /usr/local/ispconfig/server/plugins-available/mail_plugin_dkim.inc.php
    4 lrwxrwxrwx 1 root root 65 May 31 13:42 mail_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mail_plugin.inc.php
    4 lrwxrwxrwx 1 root root 75 May 31 13:42 mysql_clientdb_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mysql_clientdb_plugin.inc.php
    4 lrwxrwxrwx 1 root root 77 May 31 13:42 network_settings_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/network_settings_plugin.inc.php
    4 lrwxrwxrwx 1 root root 75 May 31 13:42 postfix_filter_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/postfix_filter_plugin.inc.php
    4 lrwxrwxrwx 1 root root 75 May 31 13:42 postfix_server_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php
    4 lrwxrwxrwx 1 root root 75 May 31 13:42 shelluser_base_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php
    4 lrwxrwxrwx 1 root root 78 May 31 13:42 shelluser_jailkit_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php
    4 lrwxrwxrwx 1 root root 76 May 31 13:42 software_update_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/software_update_plugin.inc.php
    4 lrwxrwxrwx 1 root root 70 May 31 13:42 webserver_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/webserver_plugin.inc.php
    4 lrwxrwxrwx 1 root root 84 Jul 16 07:36 z_php_fpm_incron_reload_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/z_php_fpm_incron_reload_plugin.inc.php
     
  10. Sterli

    Sterli New Member

    Same here...
    since upgrade to 3.1.14p2 the website has been create into database but the directory isn't created even delete it.

    The red dot not showing after action create or delete any website.

    My results of debug :
    25.08.2019-10:42 - DEBUG - Unable to register function 'spamfilter_users_insert' from plugin 'rspamd_plugin' for event 'spamfilter_users_insert'
    25.08.2019-10:42 - DEBUG - Unable to register function 'spamfilter_users_update' from plugin 'rspamd_plugin' for event 'spamfilter_users_update'
    25.08.2019-10:42 - DEBUG - Unable to register function 'spamfilter_users_delete' from plugin 'rspamd_plugin' for event 'spamfilter_users_delete'
    25.08.2019-10:42 - DEBUG - Unable to register function 'spamfilter_wblist_insert' from plugin 'rspamd_plugin' for event 'spamfilter_wblist_insert'
    25.08.2019-10:42 - DEBUG - Unable to register function 'spamfilter_wblist_update' from plugin 'rspamd_plugin' for event 'spamfilter_wblist_update'
    25.08.2019-10:42 - DEBUG - Unable to register function 'spamfilter_wblist_delete' from plugin 'rspamd_plugin' for event 'spamfilter_wblist_delete'
    25.08.2019-10:42 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    25.08.2019-10:42 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock​

    P.S.
    Im using Ubuntu 16.04 and default PHP 7.0 never update to newer
     
    Last edited: Aug 25, 2019
  11. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    You cannot be on 3.1.14p2 with those error messages. The rspamd plugin is only available in git-stable in will be released in 3.1.15.
    So you seem to have once updated to git-stable and then "downgraded" to 3.1.14p2 which is not supported and will most likely not work.
     
  12. Sterli

    Sterli New Member

    Hi

    I've downgrade again into 3.1.14p2, but still don't work as expected :(
     
  13. ahrasis

    ahrasis Well-Known Member

    He means you need to use git-stable not 3.1.14p2.
     
  14. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Downgraded installations will probably never work as expected.
     
  15. Sterli

    Sterli New Member

    Any solutions of these?
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to go back to git stable. Run ispconfig_update.sh command and choose 'git-stable' as update source.
     
  17. Sterli

    Sterli New Member

    Successfully update to git-stable, but red dot notification doesnt show as usually and site directory not created :(

    Log from debug:
    26.08.2019-17:16 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    26.08.2019-17:16 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to run a database repair on the dbispconfig database with this command:

    mysqlcheck --defaults-file=/etc/mysql/debian.cnf --optimize --auto-repair --silent dbispconfig

    As mentioned in post #2 on this thread, the PHP upgrade you make is likely to break your setup, so it might be necessary that you undo these changes to get a working system again. Having PHP 7.3 as additional PHP is fine, but don't replace the main PHP of a Linux distribution as this will cause all kinds of errors.
     
  19. Sterli

    Sterli New Member

    already tried to repair database as given results :
    dbispconfig.aps_instances Table is already up to date
    dbispconfig.aps_instances_settings Table is already up to date
    dbispconfig.aps_packages Table is already up to date
    dbispconfig.aps_settings Table is already up to date
    dbispconfig.attempts_login Table is already up to date
    dbispconfig.client Table is already up to date
    dbispconfig.client_circle Table is already up to date
    dbispconfig.client_message_template Table is already up to date
    dbispconfig.client_template Table is already up to date
    dbispconfig.client_template_assigned Table is already up to date
    dbispconfig.country Table is already up to date
    dbispconfig.cron Table is already up to date
    dbispconfig.directive_snippets Table is already up to date
    dbispconfig.dns_rr Table is already up to date
    dbispconfig.dns_slave Table is already up to date
    dbispconfig.dns_soa Table is already up to date
    dbispconfig.dns_template Table is already up to date
    dbispconfig.domain Table is already up to date
    dbispconfig.firewall Table is already up to date
    dbispconfig.ftp_traffic Table is already up to date
    dbispconfig.ftp_user Table is already up to date
    dbispconfig.help_faq Table is already up to date
    dbispconfig.help_faq_sections Table is already up to date
    dbispconfig.iptables Table is already up to date
    dbispconfig.mail_access Table is already up to date
    dbispconfig.mail_backup Table is already up to date
    dbispconfig.mail_content_filter Table is already up to date
    dbispconfig.mail_domain Table is already up to date
    dbispconfig.mail_forwarding Table is already up to date
    dbispconfig.mail_get Table is already up to date
    dbispconfig.mail_mailinglist Table is already up to date
    dbispconfig.mail_relay_recipient Table is already up to date
    dbispconfig.mail_traffic Table is already up to date
    dbispconfig.mail_transport Table is already up to date
    dbispconfig.mail_user Table is already up to date
    dbispconfig.mail_user_copy1 Table is already up to date
    dbispconfig.mail_user_filter Table is already up to date
    dbispconfig.monitor_data Table is already up to date
    dbispconfig.openvz_ip Table is already up to date
    dbispconfig.openvz_ostemplate Table is already up to date
    dbispconfig.openvz_template Table is already up to date
    dbispconfig.openvz_traffic Table is already up to date
    dbispconfig.openvz_vm Table is already up to date
    dbispconfig.remote_session Table is already up to date
    dbispconfig.remote_user Table is already up to date
    dbispconfig.server Table is already up to date
    dbispconfig.server_ip Table is already up to date
    dbispconfig.server_ip_map Table is already up to date
    dbispconfig.server_php Table is already up to date
    dbispconfig.shell_user Table is already up to date
    dbispconfig.software_package Table is already up to date
    dbispconfig.software_repo Table is already up to date
    dbispconfig.software_update Table is already up to date
    dbispconfig.software_update_inst Table is already up to date
    dbispconfig.spamfilter_policy Table is already up to date
    dbispconfig.spamfilter_users Table is already up to date
    dbispconfig.spamfilter_wblist Table is already up to date
    dbispconfig.support_message Table is already up to date
    dbispconfig.sys_config Table is already up to date
    dbispconfig.sys_cron Table is already up to date
    dbispconfig.sys_datalog Table is already up to date
    dbispconfig.sys_dbsync Table is already up to date
    dbispconfig.sys_filesync Table is already up to date
    dbispconfig.sys_group Table is already up to date
    dbispconfig.sys_ini Table is already up to date
    dbispconfig.sys_log Table is already up to date
    dbispconfig.sys_remoteaction Table is already up to date
    dbispconfig.sys_session OK
    dbispconfig.sys_theme Table is already up to date
    dbispconfig.sys_user Table is already up to date
    dbispconfig.web_backup Table is already up to date
    dbispconfig.web_database Table is already up to date
    dbispconfig.web_database_user Table is already up to date
    dbispconfig.web_domain Table is already up to date
    dbispconfig.web_folder Table is already up to date
    dbispconfig.web_folder_user Table is already up to date
    dbispconfig.web_traffic Table is already up to date
    dbispconfig.webdav_user Table is already up to date
    dbispconfig.xmpp_domain Table is already up to date
    dbispconfig.xmpp_user Table is already up to date

    all function edit, add or delete not working
    and red dot notification not working too
     
  20. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Please check if the database credentials in both /usr/local/ispconfig/interface/lib/config.inc.php and /usr/local/ispconfig/server/lib/config.inc.php are correct.
    That means, try logging in by using
    mysql -u ispconfig -D dbispconfig -p
    (providing the data from the config file).
     

Share This Page