[solved see last post] update from 3.1.15p3 to 3.2.5 (secondary server) not updated in monitor page

Discussion in 'Installation/Configuration' started by Chris_UK, Jul 26, 2021.

  1. Chris_UK

    Chris_UK Active Member HowtoForge Supporter

    As the title says, the version number has not updates.

    What ive done to investigate / attempt remedy:
    • checked the version is actually 3.2.5 in the secondary config files - it is.
    • Checked cron log on secondary - cron finishes without error
    • Turned on debug for the secondary - can't see any obvious issues, no mysql related lines.
    • tested a remote mysql session from secondary to primary using the secondary credentials - connection succeeded
    • Checked for a lock file in /usr/local/ispconfig/server/temp - no lock file
    • run both manual update as described on release notes and ispconfig_update.sh --f
      Both times i said yes to the reconfigure credentials question - no change
    • set the monitor page to refresh 5 mins and waited - 20 minutes no change.
    I am at a loss as to what's causing it. But i'm also a little concerned that something else might not be working that im not yet aware of.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check root crontab on the secondary server to ensure server.sh and cron.sh ceonjobs are both there and not commented out.
    Run a repair and optimize on all tables of the dbispconfig database on the master, maybe a table is corrupted.
    If that's ok, run server.sh cronjob withd ebug mode on and post what you get on the screen.
     
  3. Chris_UK

    Chris_UK Active Member HowtoForge Supporter

    Thanks for your reply,
    both lines in cron there and uncommented.
    Repaired and optimised
    It might be worth noting I added a server that went along fine just last night and shows the correct version, its just this upgraded one. Others that were upgraded went just fine.

    Debug Log
    Code:
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by ac>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Found 2 changes, starting update process.
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Replicated from master: REPLACE INTO `server` (`server_id`,`sys_userid`,`sys_groupi>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'server_ip' from plugin 'apache2_plugin' raised by event 'server_u>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Writing the conf file: /etc/apache2/sites-available/ispconfig.conf
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_u>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'se>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Network configuration disabled in server settings.
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'serv>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - safe_exec cmd: which 'dovecot' 2> /dev/null - return code: 0
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'server_update' from plugin 'rspamd_plugin' raised by event 'serve>
    Mon Jul 26 13:43:01 BST 2021 chgrp: invalid group: ‘_rspamd’
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'server_services_plugin' raised by event 'ser>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'server_update' from plugin 'webserver_plugin' raised by event 'se>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Processed datalog_id 1412
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Replicated from master: REPLACE INTO `server` (`server_id`,`sys_userid`,`sys_groupi>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'server_ip' from plugin 'apache2_plugin' raised by event 'server_u>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Writing the conf file: /etc/apache2/sites-available/ispconfig.conf
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_u>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'se>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Network configuration disabled in server settings.
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'serv>
    Mon Jul 26 13:43:01 BST 2021 26.07.2021-13:43 - DEBUG - safe_exec cmd: which 'dovecot' 2> /dev/null - return code: 0
    Mon Jul 26 13:43:03 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'server_update' from plugin 'rspamd_plugin' raised by event 'serve>
    Mon Jul 26 13:43:03 BST 2021 chgrp: invalid group: ‘_rspamd’
    Mon Jul 26 13:43:03 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'update' from plugin 'server_services_plugin' raised by event 'ser>
    Mon Jul 26 13:43:03 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'server_update' from plugin 'webserver_plugin' raised by event 'se>
    Mon Jul 26 13:43:03 BST 2021 26.07.2021-13:43 - DEBUG - Processed datalog_id 1413
    Mon Jul 26 13:43:03 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
    Mon Jul 26 13:43:03 BST 2021 26.07.2021-13:43 - DEBUG - Restarting httpd: systemctl restart apache2.service
    Mon Jul 26 13:43:03 BST 2021 26.07.2021-13:43 - DEBUG - Calling function 'restartPostfix' from module 'mail_module'.
    Mon Jul 26 13:43:05 BST 2021 26.07.2021-13:43 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    Mon Jul 26 13:43:05 BST 2021 finished server.php.
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so it seems to be able to connect correctly, strange. Please try this on the slave server:


    /usr/bin/php /usr/local/ispconfig/server/php cron_debug.php --cronjob=100-monitor_ispconfig_version.inc.php

    This forces a run of the ispconfig cron plugin that writes the version details into the master database.
     
  5. Chris_UK

    Chris_UK Active Member HowtoForge Supporter

    xxx@xxx:~$ sudo -s
    [sudo] password for xxx:
    root@xxx:/home/xxx# /usr/bin/php /usr/local/ispconfig/server/php cron_debug.php --cronjob=100-monitor_ispconfig_version.inc.php
    Could not open input file: /usr/local/ispconfig/server/php

    I mean, I know why it couldn't open the input file, it doesnt (and i believe never did) exist. This is Version 3.2.5 installed 2 days ago. Is there a bug in the file, theres no output of a line number to go hunting.

    No wait I got it. its not server/php cron its server/cron...

    Anyway. we have a winner, update successful, shame im about to nuke this server if i cant figure out why my ssl certs are all screwy. Anyway thats another post that I might make, Im going to give it another hours tinkering and if its not fixed its not getting fixed and il just reinstall.
     

Share This Page