500 internal error with succesful deployment

hi! I would be please if someone can someone help me with the same error “server error 500” the website is called: “bionanoteclab". It’s small flask app for my research group.
I don’t know where the problem because in the logs said:

[2023-02-12 23:41:32 +0000] [55] [INFO] Booting worker with pid: 55

its was a problem with the name of the folder that store de templates. Reading the full log let me to the root of the problem:

File “/opt/render/project/src/.venv/lib/python3.7/site-packages/flask/templating.py”, line 98, in _get_source_fast
Feb 12 10:01:09 PM raise TemplateNotFound(template)
Feb 12 10:01:09 PM jinja2.exceptions.TemplateNotFound: home.html
Feb 12 10:01:09 PM 127.0.0.1 - - [13/Feb/2023:01:01:09 +0000] “GET / HTTP/1.1” 500 265 “-” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0”

I couldn’t solve the problem yet but I don’t know if it’s a problem with my code or with my render setting

I tried a clear build cache and deploy and work just find. I hope my mistake could help someone else

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.