launched my django restframework project on aapanel, but when the server is restarted or when the autostart button is pressed, it gives an error, you have to start the project manually.
please help me how to solve
Sorry, something went wrong:
Traceback (most recent call last):
File "class/panelPlugin.py", line 2160, in a
return eval(execStr)
File "", line 1, in
File "/www/server/panel/plugin/pythonmamager/pythonmamager_main.py", line 553, in edit_auto_start
self.set_auto_start()
File "/www/server/panel/plugin/pythonmamager/pythonmamager_main.py", line 569, in set_auto_start
if not re.search("pythonmamager_main.py",rc_local):
File "/www/server/panel/pyenv/lib/python3.7/re.py", line 185, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object