Multiple bugs after upgrade to 1.9.4

Hello Guys,

I’m running centos 7 OLS and i made the upgrade from 1.9.2 to 1.9.4 and encountered multiple problems but the one i’m really concerned about is that now i don’t have access to the CP anymore.
does any of you have any clue about that ?

for your sake here are the other problems i faced:
the cron tabs have not been added as already reported (added manually)
the sudoers file has been modified removing all my custom config which make me unable to sudo anymore (solved by recovery).

Thank you in advance for your help

For the login issue, disable MySQL binary logging →

https://blog.hartwork.org/posts/how-to-disable-mysql-binary-logging/

Doesn’t work for me on 2 servers, I can’t even reach the login page on port 8090 after upgrade to 1.9.4. I tried disabling MySQL binary logging to no success. I get error 500 or 503.
Do you have an idea what could be the issue?

@gabrielcossette same error not able to access on port 8090 & all sites showing erro 521 server down.

well for me the sites (wordpress) are still online
@Luke007 i’ll try and update on the result in the meantime i logged the output of the upgrade script and here are things i noticed to fail :
(raw)

No packages marked for update
usermod: group ‘nogroup’ does not exist
usermod: group ‘nogroup’ does not exist
usermod: group ‘nogroup’ does not exist
chmod: cannot access ‘/usr/local/CyberCP/bin’: No such file or directory
chmod: cannot access ‘/usr/local/CyberCP/bin’: No such file or directory
chmod: cannot access ‘/usr/local/CyberCP/bin’: No such file or directory

chmod: cannot access ‘/usr/local/lsws/conf/httpd_config.xml’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/httpd_config.xml’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/httpd_config.xml’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/modsec.conf’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/modsec.conf’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/modsec.conf’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/httpd.conf’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/httpd.conf’: No such file or directory
chmod: cannot access ‘/usr/local/lsws/conf/httpd.conf’: No such file or directory
chmod: cannot access ‘/etc/pure-ftpd/db/mysql.conf’: No such file or directory
chmod: cannot access ‘/etc/pure-ftpd/db/mysql.conf’: No such file or directory
chmod: cannot access ‘/etc/pure-ftpd/db/mysql.conf’: No such file or directory
chmod: cannot access ‘/etc/powerdns/pdns.conf’: No such file or directory
chmod: cannot access ‘/etc/powerdns/pdns.conf’: No such file or directory
chmod: cannot access ‘/etc/powerdns/pdns.conf’: No such file or directory

sed: can’t read /usr/local/lsws/conf/httpd_config.xml: No such file or directory
sed: can’t read /usr/local/lsws/conf/httpd_config.xml: No such file or directory

chmod: cannot access ‘/etc/csf/.cgi’: No such file or directory
failed to change mode of ‘/etc/csf/
.cgi’ from 0000 (---------) to 0000 (---------)
mode of ‘/etc/csf/remove_apf_bfd.sh’ retained as 0700 (rwx------)
mode of ‘/etc/csf/uninstall.sh’ retained as 0700 (rwx------)
chmod: cannot access ‘/etc/csf/.php’: No such file or directory
failed to change mode of ‘/etc/csf/
.php’ from 0000 (---------) to 0000 (---------)
chmod: cannot access ‘/etc/csf/.py’: No such file or directory
failed to change mode of ‘/etc/csf/
.py’ from 0000 (---------) to 0000 (---------)

ERROR: Country Code Lookups setting MM_LICENSE_KEY must be set in /etc/csf/csf.conf to continue using the MaxMind databases
● lfd.service - ConfigServer Firewall & Security - lfd
Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2020-02-11 23:08:57 UTC; 18ms ago
Process: 33984 ExecStart=/usr/sbin/lfd (code=exited, status=0/SUCCESS)
Main PID: 33997 (lfd - starting)
CGroup: /system.slice/lfd.service
└─33997 lfd - startin

Feb 11 23:08:56 wibili systemd[1]: Starting ConfigServer Firewall & Security - lfd…
Feb 11 23:08:57 wibili systemd[1]: Started ConfigServer Firewall & Security - lfd.

…All done.

Changelog: https://download2.configserver.com/csf/changelog.txt
Job for cpssh.service failed because the control process exited with error code. See “systemctl status cpssh.service” and “journalctl -xe” for details.
Job for cpssh.service failed because the control process exited with error code. See “systemctl status cpssh.service” and “journalctl -xe” for details.
Job for cpssh.service failed because the control process exited with error code. See “systemctl status cpssh.service” and “journalctl -xe” for details.
[Tue Feb 11 23:08:58 UTC 2020] Already uptodate!
[Tue Feb 11 23:08:58 UTC 2020] Upgrade success!
sed: can’t read /usr/local/lsws/conf/httpd.conf: No such file or directory
sed: -e expression #1, char 89: unterminated s' command sed: -e expression #1, char 89: unterminated s’ command
sed: -e expression #1, char 89: unterminated s' command sed: -e expression #1, char 89: unterminated s’ command
/bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: command="/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/findBWUsage.py"; job=“0 * * * * $command >/dev/null 2>&1”; cat <(grep -Fiv “$command” <(crontab -l)) <(echo “$job”) | crontab -’
/bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: command="/usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py hourlyCleanup"; job=“0 * * * * $command >/dev/null 2>&1”; cat <(grep -Fiv “$command” <(crontab -l)) <(echo “$job”) | crontab -’
/bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: command="/usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py monthlyCleanup"; job=“0 0 1 * * $command >/dev/null 2>&1”; cat <(grep -Fiv “$command” <(crontab -l)) <(echo “$job”) | crontab -’
/bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: command="/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/upgradeCritical.py"; job=“0 2 * * * $command >/dev/null 2>&1”; cat <(grep -Fiv “$command” <(crontab -l)) <(echo “$job”) | crontab -’
/bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: command="/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/renew.py"; job=“0 2 * * * $command >/dev/null 2>&1”; cat <(grep -Fiv “$command” <(crontab -l)) <(echo “$job”) | crontab -’

[02.11.2020_23-08-46] chown core code failed.

[02.11.2020_23-08-57] #########################################################################

[02.11.2020_23-08-57] fix csf if there failed.

[02.11.2020_23-08-57] #########################################################################

@gabrielcossette same when i say i cannot reach CP (error 503)

I’ll try to have a look in the upgrade script later on but for sure it needs some changes

FYI, bug about error 503 has been fixed. Just upgrade again.

@gabrielcossette Thanks man i confirm i access the control panel after q new run of the upgrade script