KasperskyLab/TinyCheck

500 Internal server error

atatat123 opened this issue · 0 comments

Heya,

I would really like to try this out on my rasberry pi zero w but...
Whenever i try to connect to the backend/frontend i keep getting a 500 error. I tried reinstalling but that didnt work. When i check the daemon.log i see multiple /jinja2 errors: TemplateNotFound :Index.html.

When i check the main.py i see this:

app = Flask(name, template_folder="../../app/backend/dist")
There is no /Dist?

And
def main():
"""
Return the index.html generated by Vue
"""
return render_template("index.html")

But i guess that doesnt happen(?)
Can anyone help me out?

Thanks in advance!


Closed, read about the closed issue with pi zero. Will try to do the npm install and check if it works. otherwise upgrading to other pi.