The following changes are not yet populated to all servers since update 3.2.11

Discussion in 'General' started by kinai, Sep 13, 2023.

  1. bloodmn

    bloodmn New Member

    Thank you! The number is just increasing when I make a task in the ispconfig UI. I can make new email accounts, websites, etc. or modify/delete them. Except the clients. This counter and the client handling doesn't work.

    "till" wrote that I should check the client_module.inc.php. I did it, it's OK, and nothing happened.
    I did not modified anything. Just made an update of ispconfig. Unfortunately something went wrong with it. Apache stopped to work. Cleaning its config solved this problem. But I lost the ispconfig UI. Then I started to install manually the ispconfig. It went good, got back the database too, but I've got this bug.
    No, I did not modified php config files.
    I have root access to this server so I can do everything.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the commands:

    ls -la /usr/local/ispconfig/server/mods-enabled/
    ls -la /usr/local/ispconfig/server/mods-available/
     
  3. bloodmn

    bloodmn New Member

    Code:
    root@server:~# ls -la /usr/local/ispconfig/server/mods-enabled/
    total 40
    drwxr-x---  2 root root 4096 Sep  6  2022 .
    drwxr-x--- 13 root root 4096 Sep  2 03:00 ..
    -rwxr-x---  1 root root  142 Dec  8  2019 client_module.inc.php
    -rwxr-x---  1 root root  138 Dec  8  2019 cron_module.inc.php
    -rwxr-x---  1 root root  146 Dec  8  2019 database_module.inc.php
    -rwxr-x---  1 root root   45 Sep 19 11:59 empty.dir
    -rwxr-x---  1 root root  138 Dec  8  2019 mail_module.inc.php
    -rwxr-x---  1 root root  152 Dec  8  2019 rescue_core_module.inc.php
    -rwxr-x---  1 root root  142 Dec  8  2019 server_module.inc.php
    -rwxr-x---  1 root root  136 Dec  8  2019 web_module.inc.php
    root@server:~#
    
    Code:
    root@server:~# ls -la /usr/local/ispconfig/server/mods-available/
    total 108
    drwxr-x---  2 root root  4096 Sep  6  2022 .
    drwxr-x--- 13 root root  4096 Sep  2 03:00 ..
    -rwxr-x---  1 root root  3159 Sep 20 17:15 client_module.inc.php
    -rwxr-x---  1 root root  3178 Sep 19 11:59 cron_module.inc.php
    -rwxr-x---  1 root root  3804 Sep 19 11:59 database_module.inc.php
    -rwxr-x---  1 root root  6376 Sep 19 11:59 dns_module.inc.php
    -rwxr-x---  1 root root  8237 Sep 19 11:59 mail_module.inc.php
    -rwxr-x---  1 root root  1827 Sep 19 11:59 monitor_core_module.inc.php
    -rwxr-x---  1 root root  8152 Sep 19 11:59 remoteaction_core_module.inc.php
    -rwxr-x---  1 root root 14777 Sep 19 11:59 rescue_core_module.inc.php
    -rwxr-x---  1 root root  4268 Sep 19 11:59 server_module.inc.php
    -rwxr-x---  1 root root  4121 Sep 19 11:59 vm_module.inc.php
    -rwxr-x---  1 root root 12715 Sep 19 11:59 web_module.inc.php
    -rwxr-x---  1 root root  4736 Sep 19 11:59 xmpp_module.inc.php
    root@server:~#
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess what you did with "Then I started to install manually the ispconfig." messed up things badly. Always use ISPConfig installer and updater as the updater can even restore broken setups as long as a few basic things like the ISPConfig config file and folder still exist. and even in case of a fatal issue, use the backup that gets created during update to restore it and do not try to set up ISPConfig manually. The problem is that you seem to have manually copied over files to directories where only symlinks shall exist. What you did must break the installation and will break the system in case you try to update it in future, so you must fix that. The mods-enabled and plugins-enabed folders contain only symlinks to the plugins in the mods-available and plugins-available folders.

    Code:
    root@server1:~# ls -la /usr/local/ispconfig/server/mods-enabled/
    total 44
    drwxr-x---  2 root root 4096 Sep 22 12:44 .
    drwxr-x--- 13 root root 4096 Sep 22 12:44 ..
    lrwxrwxrwx  1 root root   64 Sep 22 12:44 client_module.inc.php -> /usr/local/ispconfig/server/mods-available/client_module.inc.php
    lrwxrwxrwx  1 root root   62 Sep 22 12:44 cron_module.inc.php -> /usr/local/ispconfig/server/mods-available/cron_module.inc.php
    lrwxrwxrwx  1 root root   66 Sep 22 12:44 database_module.inc.php -> /usr/local/ispconfig/server/mods-available/database_module.inc.php
    lrwxrwxrwx  1 root root   61 Sep 22 12:44 dns_module.inc.php -> /usr/local/ispconfig/server/mods-available/dns_module.inc.php
    -rwxr-x---  1 root root   45 Sep 22 12:44 empty.dir
    lrwxrwxrwx  1 root root   62 Sep 22 12:44 mail_module.inc.php -> /usr/local/ispconfig/server/mods-available/mail_module.inc.php
    lrwxrwxrwx  1 root root   69 Sep 22 12:44 rescue_core_module.inc.php -> /usr/local/ispconfig/server/mods-available/rescue_core_module.inc.php
    lrwxrwxrwx  1 root root   64 Sep 22 12:44 server_module.inc.php -> /usr/local/ispconfig/server/mods-available/server_module.inc.php
    lrwxrwxrwx  1 root root   61 Sep 22 12:44 web_module.inc.php -> /usr/local/ispconfig/server/mods-available/web_module.inc.php
    root@server1:~# ls -la /usr/local/ispconfig/server/plugins-enabled/
    total 112
    drwxr-x---  2 root root 4096 Sep 22 12:44 .
    drwxr-x--- 13 root root 4096 Sep 22 12:44 ..
    lrwxrwxrwx  1 root root   71 Sep 22 12:44 apps_vhost_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/apps_vhost_plugin.inc.php
    lrwxrwxrwx  1 root root   64 Sep 22 12:44 aps_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/aps_plugin.inc.php
    lrwxrwxrwx  1 root root   67 Sep 22 12:44 backup_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php
    lrwxrwxrwx  1 root root   65 Sep 22 12:44 bind_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php
    lrwxrwxrwx  1 root root   73 Sep 22 12:44 cron_jailkit_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php
    lrwxrwxrwx  1 root root   65 Sep 22 12:44 cron_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/cron_plugin.inc.php
    -rwxr-x---  1 root root   45 Sep 22 12:44 empty.dir
    lrwxrwxrwx  1 root root   69 Sep 22 12:44 firewall_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php
    lrwxrwxrwx  1 root root   73 Sep 22 12:44 ftpuser_base_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/ftpuser_base_plugin.inc.php
    lrwxrwxrwx  1 root root   68 Sep 22 12:44 getmail_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/getmail_plugin.inc.php
    lrwxrwxrwx  1 root root   72 Sep 22 12:44 maildeliver_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php
    lrwxrwxrwx  1 root root   68 Sep 22 12:44 mailman_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mailman_plugin.inc.php
    lrwxrwxrwx  1 root root   70 Sep 22 12:44 mail_plugin_dkim.inc.php -> /usr/local/ispconfig/server/plugins-available/mail_plugin_dkim.inc.php
    lrwxrwxrwx  1 root root   65 Sep 22 12:44 mail_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mail_plugin.inc.php
    lrwxrwxrwx  1 root root   75 Sep 22 12:44 mysql_clientdb_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mysql_clientdb_plugin.inc.php
    lrwxrwxrwx  1 root root   77 Sep 22 12:44 network_settings_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/network_settings_plugin.inc.php
    lrwxrwxrwx  1 root root   66 Sep 22 12:44 nginx_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php
    lrwxrwxrwx  1 root root   75 Sep 22 12:44 postfix_filter_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/postfix_filter_plugin.inc.php
    lrwxrwxrwx  1 root root   75 Sep 22 12:44 postfix_server_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php
    lrwxrwxrwx  1 root root   67 Sep 22 12:44 rspamd_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/rspamd_plugin.inc.php
    lrwxrwxrwx  1 root root   76 Sep 22 12:44 server_services_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/server_services_plugin.inc.php
    lrwxrwxrwx  1 root root   75 Sep 22 12:44 shelluser_base_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php
    lrwxrwxrwx  1 root root   78 Sep 22 12:44 shelluser_jailkit_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php
    lrwxrwxrwx  1 root root   76 Sep 22 12:44 software_update_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/software_update_plugin.inc.php
    lrwxrwxrwx  1 root root   70 Sep 22 12:44 webserver_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/webserver_plugin.inc.php
    lrwxrwxrwx  1 root root   84 Sep 22 12:44 z_php_fpm_incron_reload_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/z_php_fpm_incron_reload_plugin.inc.php
    root@server1:~#
    Which plugins and modules have to be enabled depends on the system config, the above one is from a Nginx server that runs all services.
     
    Last edited: Sep 22, 2023
    bloodmn likes this.
  5. bloodmn

    bloodmn New Member

    Thanks!

    Of course I used the ispconfig installer! Downloaded and started it. Because the old ispconfig was broken.
    I can start update if needed it can be forced too. The system is OK with it.
    But you're right; I have another good working server that gives this output:
    Code:
    root@server:~# ls -la /usr/local/ispconfig/server/mods-enabled/
    total 44
    drwxr-x---  2 root root 4096 Aug 16 21:47 .
    drwxr-x--- 13 root root 4096 Aug 16 21:47 ..
    lrwxrwxrwx  1 root root   64 Aug 16 21:47 client_module.inc.php -> /usr/local/ispconfig/server/mods-available/client_module.inc.php
    lrwxrwxrwx  1 root root   62 Aug 16 21:47 cron_module.inc.php -> /usr/local/ispconfig/server/mods-available/cron_module.inc.php
    lrwxrwxrwx  1 root root   66 Aug 16 21:47 database_module.inc.php -> /usr/local/ispconfig/server/mods-available/database_module.inc.php
    lrwxrwxrwx  1 root root   61 Aug 16 21:47 dns_module.inc.php -> /usr/local/ispconfig/server/mods-available/dns_module.inc.php
    -rwxr-x---  1 root root   45 Aug 18 23:46 empty.dir
    lrwxrwxrwx  1 root root   62 Aug 16 21:47 mail_module.inc.php -> /usr/local/ispconfig/server/mods-available/mail_module.inc.php
    lrwxrwxrwx  1 root root   69 Aug 16 21:47 rescue_core_module.inc.php -> /usr/local/ispconfig/server/mods-available/rescue_core_module.inc.php
    lrwxrwxrwx  1 root root   64 Aug 16 21:47 server_module.inc.php -> /usr/local/ispconfig/server/mods-available/server_module.inc.php
    lrwxrwxrwx  1 root root   61 Aug 16 21:47 web_module.inc.php -> /usr/local/ispconfig/server/mods-available/web_module.inc.php
    root@server:~#
    
    Do you think if I can try to change the list of those files to symlinks pointing to the "mods-available" folder?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    yes. You must do that to fix the issue and check plugins-available folder as well.
     
    bloodmn likes this.
  7. bloodmn

    bloodmn New Member

    Hey Till! Thank you so much! It seems this is working good now! Now, after reboot I can manage the clients too and the counter counts back when I start tasks. I'm messing with it months ago... so thank you again!
     
    till likes this.

Share This Page