Page 1 of 1

Login issue - version mismatch

Posted: Fri 15. Jul 2022, 12:41
by rmprdmn
I'm sure the cause of the problem is within KeyHelp
(Problems not related to KeyHelp belong in the Offtopic forum)


Server operating system + version
(e.g. Ubuntu 20.04)


Server virtualization technology used
Unknown

KeyHelp version + build number
22.1 but login page shows "Version mismatch"


Problem description / error messages
Tried to login to control panel but got Version mismatch.
Tried to run update through the terminal - now I have error "Forbidden You don't have permission to access this resource."

Expected result


Actual result


Steps to reproduce


Additional information
(e.g. recent changes to the server, excerpts from log files (/var/log/*, /var/log/keyhelp/php-error.log, etc.))

Re: Login issue - version mismatch

Posted: Fri 15. Jul 2022, 12:53
by Alexander
Hello,


please execute the following command

Code: Select all

keyhelp-toolbox

and provide the output of the menu item "7) Show system information",

as well as the latest contents of:

Code: Select all

/var/log/keyhelp/cronjob/panel-update.log
/var/log/keyhelp/php-error.log

Re: Login issue - version mismatch

Posted: Fri 15. Jul 2022, 13:06
by rmprdmn

Code: Select all

CPU                     : Intel Xeon Processor (Skylake, IBRS) (amd64) / Cores 1
System virtualization   : KVM
Server time             : 13:59:08 - July 15, 2022
Uptime                  : Days 0 / Hours 0 / Minutes 52

Server utilization
CPU load                : 1.00 % (0.01 / 0 / 0)
Process count           : 124
Emails in queue         : 0
Disk space              : Free:  1.49 GiB     Used: 12.36 GiB     Total: 14.61 GiB
Memory                  : Free: 469.78 MiB     Used: 482.20 MiB     Total: 951.98 MiB
Swap space              : Free: 847.00 MiB     Used: 177.00 MiB     Total: 1024.00 MiB

Applications
Operating system        : Ubuntu 20.04 (64-bit)
KeyHelp                 : 22.0.1 (DB), 22.1 (File), 2687 (Build)
Kernel                  : Kernel 5.4.0-122-generic
Web server              : Apache 2.4.41
DNS server              : BIND 9.16.1
PHP                     : PHP 7.4.3
Database server         : MariaDB 10.3.34
FTP server              : ProFTPD 1.3.6c
Mail transfer agent     : Postfix 3.4.13
Mail delivery agent     : Dovecot 2.3.7.2
MTA content filter      : Amavisd-new 2.11.0
Spam filter             : SpamAssassin 3.4.4
Virus scanner           : ClamAV 0.103.6
Database administration : phpMyAdmin 5.2.0
Webmail                 : Roundcube 1.5.3
Cryptography            : OpenSSL 1.1.1f
Data transfer           : curl 7.68.0
Backup software         : Restic 0.13.1
Backup data transfer    : Rclone 1.58.1

Pending package manager updates
Update count            : 0
Security update count   : 0

Only have panel-update.log.

P.S. Sorry for asking for help but could not find resolution for the similar issue.

Re: Login issue - version mismatch  [SOLVED]

Posted: Fri 15. Jul 2022, 14:05
by Alexander
Hello,

It seems that the database connection was interrupted during the update. This is usually not a problem, as KeyHelp has some self-healing features ;). Normally this would be fixed with the next automatic update run of the control panel, which is done every day at 03:xx.

Unfortunately, due to changes in the panel upgrade routine with 22.1 and because there was a smaller update 22.0.1, the auto-healing feature could not work as expected with this particular update.

---

EDIT:
I have now re-implemented the self-healing features into version 22.1. So if a server suffers from the same problem, it should now heal itself with the next panel update, which should run on Saturday morning.


The issue was fixed on rmprdmn server.