Error 1054 after upgrade

I used the method mentioned in Wiki to upgrade the panel, but when I tried to log-in I got
1054, “Unknown column ‘loginSystem_administrator.userAccountsLimit’ in ‘field list’”

It appears that the CP version is outdated in the upgrade.py script. Manually change the version to 1.5.1 will solve the problem.

I have the same issue. How do you manually change that ? Can you write here what to do ? thanks

Nvm i edited the upgrade.py file with nano and changed the CyberPanel.1.4.tar.gz to CyberPanel.1.5.1.tar.gz then i saved the file and ran the upgrade again and it worked.