• Support
  • An error occurred while the panel was running invalid literal for int base 10

Help me paleasse:

When logging in, the normal login and password panel appears, but when entering the password and trying to log in, this error appears.
NOTE: Today I changed my internet provider. Could it be related to security?
I've tried restoring a backup from a few days ago and nothing... I even tried BT 16 and nothing...

ERROR:

An error occurred while the panel was runningļ¼
ValueError: invalid literal for int() with base 10: ''
REQUEST_DATE: 2024-08-09 13:13:14
VERSION: CentOS 7.9.2009 x86_64(Py3.12.3) - 7.0.7
REMOTE_ADDR: 2804:1b3:60c1:2783:d935:7716:a203:742
REQUEST_URI: GET /?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 544, in index_new
100])], data['pro_end'], data['ltd_end'] = get_pd()
^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2539, in get_pd
return public.get_pd()
^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 3899, in get_pd
if not os.path.exists(tmp_f) or not os.path.exists(p_token_time_f) or int(readFile(p_token_time_f).strip()) + 86400 <= cur_time:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''


    Filesystem Size Used Avail Use% Mounted on
    devtmpfs 906M 0 906M 0% /dev
    tmpfs 916M 452K 916M 1% /dev/shm
    tmpfs 916M 8.8M 908M 1% /run
    tmpfs 916M 0 916M 0% /sys/fs/cgroup
    /dev/vda2 57G 34G 21G 62% /
    /dev/vda1 260M 12M 249M 5% /boot/efi
    tmpfs 184M 0 184M 0% /run/user/1003
    tmpfs 184M 0 184M 0% /run/user/0
    Filesystem Inodes IUsed IFree IUse% Mounted on
    devtmpfs 231754 367 231387 1% /dev
    tmpfs 234464 13 234451 1% /dev/shm
    tmpfs 234464 544 233920 1% /run
    tmpfs 234464 16 234448 1% /sys/fs/cgroup
    /dev/vda2 15250112 457718 14792394 4% /
    /dev/vda1 0 0 0 - /boot/efi
    tmpfs 234464 1 234463 1% /run/user/1003
    tmpfs 234464 1 234463 1% /run/user/0