500 error after loggin into the control panel
Normal funcionions untill this morning. Loads login. page reloads error 500
my log:
raise value
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "/www/server/panel/BTPanel/init.py", line 575, in files
return publicObject(filesObject,defs,None,pdata)
File "/www/server/panel/BTPanel/init.py", line 1149, in publicObject
result = p.run(toObject,defs,get)
File "/www/server/panel/BTPanel/init.py", line 1315, in run
return public.GetJson(eval(fun)),json_header
File "<string>", line 1, in <module>
File "/www/server/panel/class/files.py", line 2108, in get_path_premissions
exist_tbs = self._get_permissions_tb_name(get_all_tb=True)
File "/www/server/panel/class/files.py", line 1908, in get_permissions_tb_name
data = self.operate_db(sql).fetchall()
File "/www/server/panel/class/files.py", line 1873, in _operate_db
return c.execute(sql_data)
sqlite3.OperationalError: no such table: index_tb
[2020-03-23 21:38:54,581] ERROR in app: Exception on /files [POST]
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in call
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/compat.py", line 39, in reraise
raise value
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "/www/server/panel/BTPanel/init.py", line 575, in files
return publicObject(filesObject,defs,None,pdata)
File "/www/server/panel/BTPanel/init.py", line 1149, in publicObject
result = p.run(toObject,defs,get)
File "/www/server/panel/BTPanel/init.py", line 1315, in run
return public.GetJson(eval(fun)),json_header
File "<string>", line 1, in <module>
File "/www/server/panel/class/files.py", line 2108, in get_path_premissions
exist_tbs = self.get_permissions_tb_name(get_all_tb=True)
File "/www/server/panel/class/files.py", line 1908, in get_permissions_tb_name
data = self.operate_db(sql).fetchall()
File "/www/server/panel/class/files.py", line 1873, in _operate_db
return c.execute(sql_data)
sqlite3.OperationalError: no such table: index_tb
[2020-03-25 21:44:53,894] ERROR in app: Exception on /files [POST]
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in call
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/compat.py", line 39, in reraise
raise value
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "/www/server/panel/BTPanel/init.py", line 575, in files
return publicObject(filesObject,defs,None,pdata)
File "/www/server/panel/BTPanel/init.py", line 1149, in publicObject
result = p.run(toObject,defs,get)
File "/www/server/panel/BTPanel/init.py", line 1315, in run
return public.GetJson(eval(fun)),json_header
File "<string>", line 1, in <module>
File "/www/server/panel/class/files.py", line 2108, in get_path_premissions
exist_tbs = self.get_permissions_tb_name(get_all_tb=True)
File "/www/server/panel/class/files.py", line 1908, in get_permissions_tb_name
data = self.operate_db(sql).fetchall()
File "/www/server/panel/class/files.py", line 1873, in _operate_db
return c.execute(sql_data)
sqlite3.OperationalError: no such table: index_tb
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 3.06521 s, 701 MB/s
mkswap: /www/swap: insecure permissions 0666, 0600 suggested.
Setting up swapspace version 1, size = 2 GiB (2147479552 bytes)
no label, UUID=b75109b3-17b3-4d05-9bd6-84dae6b48d6d
swapon: /www/swap: insecure permissions 0666, 0600 suggested.
Thank you for any information
Have a great day