Cannot login to Hestia with 500 error

Setting up hestia-nginx (1.19.3) …
Job for hestia.service failed because the control process exited with error code.
See “systemctl status hestia.service” and “journalctl -xe” for details.
invoke-rc.d: initscript hestia, action “start” failed.
● hestia.service - LSB: starts the hestia control panel
Loaded: loaded (/etc/init.d/hestia; generated)
Active: failed (Result: exit-code) since Mon 2020-11-02 16:18:57 UTC; 17ms ago
Docs: man:systemd-sysv-generator(8)
Process: 567850 ExecStart=/etc/init.d/hestia start (code=exited, status=1/FAILURE)
Tasks: 2 (limit: 19660)
Memory: 12.1M
CGroup: /system.slice/hestia.service
├─2434162 nginx: master process /usr/local/hestia/nginx/sbin/hestia-nginx
└─2434164 nginx: worker process

Nov 02 16:18:55 vps2.boursinos.gr hestia[567850]: * Starting hestia-nginx hestia-nginx
Nov 02 16:18:55 vps2.boursinos.gr hestia[567853]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already in use)
Nov 02 16:18:55 vps2.boursinos.gr hestia[567853]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already in use)
Nov 02 16:18:56 vps2.boursinos.gr hestia[567853]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already in use)
Nov 02 16:18:56 vps2.boursinos.gr hestia[567853]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already in use)
Nov 02 16:18:57 vps2.boursinos.gr hestia[567853]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already in use)
Nov 02 16:18:57 vps2.boursinos.gr hestia[567853]: nginx: [emerg] still could not bind()
Nov 02 16:18:57 vps2.boursinos.gr systemd[1]: hestia.service: Control process exited, code=exited, status=1/FAILURE
Nov 02 16:18:57 vps2.boursinos.gr systemd[1]: hestia.service: Failed with result ‘exit-code’.
Nov 02 16:18:57 vps2.boursinos.gr systemd[1]: Failed to start LSB: starts the hestia control panel.
dpkg: error processing package hestia-nginx (–configure):
installed hestia-nginx package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
hestia-php
hestia-nginx

try

systemctl restart hestia
apt-get install --reinstall hestia-nginx
apt-get install --reinstall hestia-php

Is this out of the hestia installation? If yes, you have already something listening on the same port, please use a CLEAN server!

You can also check which service currently using port 8083 on your server (default port for HestiaCP usage) by running comand in shell/ssh:
netstat -tulnp | grep 8083
And after simply uninstall/stop it and running HestiCP setup again (most likely you will proceed with uninstall such one software completely)

The problem can be solved by using the command

sudo apt-get update
sudo apt upgrade