Upgrade error using script

[03.07.2025_14-12-20] #########################################################################

[03.07.2025_14-12-20] verify certificate successful.

[03.07.2025_14-12-20] #########################################################################

Hit:1 http://asi-fs-n.contabo.net/ubuntu focal InRelease
Hit:2 http://asi-fs-n.contabo.net/ubuntu focal-updates InRelease
Hit:3 http://asi-fs-n.contabo.net/ubuntu focal-backports InRelease
Hit:4 Index of /ubuntu focal-security InRelease
Get:6 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu focal InRelease [7,767 B]
Get:7 https://dlm.mariadb.com/repo/maxscale/latest/apt focal InRelease [11.6 kB]
Ign:8 Index of /debian/ focal InRelease
Hit:5 Tools/ubuntu/ - MariaDB focal InRelease
Hit:9 Index of /ubuntu/20.04/slot-1/ focal InRelease
Hit:10 Index of /debian/ focal Release
Hit:11 Index of /ubuntu/20.04/slot-2/ focal InRelease
Hit:12 Index of /ubuntu/20.04/slot-3/ focal InRelease
Hit:13 Index of /ubuntu/20.04/slot-4/ focal InRelease
Hit:14 Index of /ubuntu/20.04/slot-5/ focal InRelease
Hit:15 Index of /apps/ubuntu/ focal-apps-security InRelease
Hit:16 Index of /ubuntu/20.04/slot-6/ focal InRelease
Hit:17 Index of /ubuntu/20.04/slot-7/ focal InRelease
Hit:18 Index of /ubuntu/20.04/slot-8/ focal InRelease
Hit:19 Index of /apps/ubuntu/ focal-apps-updates InRelease
Hit:20 Index of /imunify360/ubuntu/20.04/ focal InRelease
Hit:21 Index of /infra/ubuntu/ focal-infra-security InRelease
Hit:22 Index of /infra/ubuntu/ focal-infra-updates InRelease
Fetched 19.4 kB in 5s (4,294 B/s)
Reading package lists… Done

[03.07.2025_14-12-29] #########################################################################

[03.07.2025_14-12-29] Install Restic successful.

[03.07.2025_14-12-29] #########################################################################

Reading package lists… Done
Building dependency tree
Reading state information… Done
restic is already the newest version (0.9.6+ds-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[03.07.2025_14-12-30] #########################################################################

[03.07.2025_14-12-30] Install Restic successful.

[03.07.2025_14-12-30] #########################################################################

writing restic to /usr/bin/restic
find latest release of restic at GitHub
restic is up to date

[03.07.2025_14-12-31] #########################################################################

[03.07.2025_14-12-31] Install Restic successful.

[03.07.2025_14-12-31] #########################################################################

Traceback (most recent call last):
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 219, in ensure_connection
self.connect()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 200, in connect
self.connection = self.get_new_connection(conn_params)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/mysql/base.py”, line 234, in get_new_connection
return Database.connect(**conn_params)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/MySQLdb/init.py”, line 130, in Connect
return Connection(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/MySQLdb/connections.py”, line 185, in init
super().init(*args, **kwargs2)
MySQLdb._exceptions.OperationalError: (1045, “Access denied for user ‘cyberpanel’@‘localhost’ (using password: YES)”)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “upgrade.py”, line 3994, in
main()
File “upgrade.py”, line 3990, in main
Upgrade.upgrade(args.branch)
File “upgrade.py”, line 3508, in upgrade
Upgrade.UpdateConfigOfCustomACL()
File “upgrade.py”, line 3065, in UpdateConfigOfCustomACL
for acl in ACL.objects.all():
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/models/query.py”, line 287, in iter
self._fetch_all()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/models/query.py”, line 1308, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/models/query.py”, line 53, in iter
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/models/sql/compiler.py”, line 1154, in execute_sql
cursor = self.connection.cursor()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 259, in cursor
return self._cursor()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 235, in _cursor
self.ensure_connection()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 219, in ensure_connection
self.connect()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/utils.py”, line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 219, in ensure_connection
self.connect()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 200, in connect
self.connection = self.get_new_connection(conn_params)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/mysql/base.py”, line 234, in get_new_connection
return Database.connect(**conn_params)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/MySQLdb/init.py”, line 130, in Connect
return Connection(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/MySQLdb/connections.py”, line 185, in init
super().init(*args, **kwargs2)
django.db.utils.OperationalError: (1045, “Access denied for user ‘cyberpanel’@‘localhost’ (using password: YES)”)
above command failed…
root@web:~# [03.07.2025_14-12-31] Install Restic successful.
ams)
File "/usr/local/CyberPanelTemp/lib/python[03.07.2025_14-12-31]: command not found

File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 259, in cursor
return self._cursor()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 235, in _cursor
self.ensure_connection()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 219, in ensure_connection
self.connect()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/utils.py”, line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 219, in ensure_connection
self.connect()
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 200, in connect
self.connection = self.get_new_connection(conn_params)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/django/db/backends/mysql/base.py”, line 234, in get_new_connection
return Database.connect(**conn_params)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/MySQLdb/init.py”, line 130, in Connect
return Connection(*args, **kwargs)
File “/usr/local/CyberPanelTemp/lib/python3.8/site-packages/MySQLdb/connections.py”, line 185, in init
super().init(*args, **kwargs2)
django.db.utils.OperationalError: (1045, “Access denied for user ‘cyberpanel’@‘localhost’ (using password: YES)”)
above command failed…

Não é possível aceder a este website

web.blast4speed.net recusou estabelecer ligação.

Experimente:

ERR_CONNECTION_REFUSED

Webpage from cyberpanel dont work

django.db.utils.OperationalError: (1045, “Access denied for user ‘cyberpanel’@‘localhost’ (using password: YES)”)

I found alone the solution:

bad support!!!

You need to update the password for cyberpanel user.
Extract your current database password from:

/etc/cyberpanel/mysqlPassword

Use the password to login using below command:

mysql --host=127.0.0.1 --port=3306 -u root -p

Update Password in:
Settings file is located at: /usr/local/CyberCP/CyberCP/settings.py

have you reached our support at [email protected]