Skip to content

Internal Server Error #6

Description

@gotzlotz

Getting an error when I try to access it through a browser.

{"message":"Internal Server Error","status":"error"}

Here's what the logs say

return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/server.py", line 160, in index
return render_template("index.html")
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 150, in render_template
template = app.jinja_env.get_or_select_template(template_name_or_list)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1087, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1016, in get_template
return self._load_template(name, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 975, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/usr/local/lib/python3.9/dist-packages/jinja2/loaders.py", line 126, in load
source, filename, uptodate = self.get_source(environment, name)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 66, in get_source
return self._get_source_fast(environment, template)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 100, in _get_source_fast
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: index.html
Unhandled server error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/server.py", line 160, in index
return render_template("index.html")
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 150, in render_template
template = app.jinja_env.get_or_select_template(template_name_or_list)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1087, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1016, in get_template
return self._load_template(name, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 975, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/usr/local/lib/python3.9/dist-packages/jinja2/loaders.py", line 126, in load
source, filename, uptodate = self.get_source(environment, name)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 66, in get_source
return self._get_source_fast(environment, template)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 100, in _get_source_fast
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: index.html
[2026-02-22 00:22:06 +0000] [1] [INFO] Handling signal: term
[2026-02-22 00:22:06 +0000] [10] [INFO] Worker exiting (pid: 10)
[2026-02-22 00:22:06 +0000] [9] [INFO] Worker exiting (pid: 9)
[2026-02-22 00:22:06 +0000] [1] [INFO] Shutting down: Master
[truefan] Starting...
[truefan] Checking for sensors...
[truefan] hwmon devices found.
[truefan] Launching with gunicorn...
[2026-02-22 00:22:07 +0000] [1] [INFO] Starting gunicorn 23.0.0
[2026-02-22 00:22:07 +0000] [1] [INFO] Listening at: http://0.0.0.0:5002 (1)
[2026-02-22 00:22:07 +0000] [1] [INFO] Using worker: sync
[2026-02-22 00:22:07 +0000] [9] [INFO] Booting worker with pid: 9
[2026-02-22 00:22:07 +0000] [10] [INFO] Booting worker with pid: 10
Unhandled server error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/server.py", line 160, in index
return render_template("index.html")
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 150, in render_template
template = app.jinja_env.get_or_select_template(template_name_or_list)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1087, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1016, in get_template
return self._load_template(name, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 975, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/usr/local/lib/python3.9/dist-packages/jinja2/loaders.py", line 126, in load
source, filename, uptodate = self.get_source(environment, name)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 66, in get_source
return self._get_source_fast(environment, template)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 100, in _get_source_fast
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: index.html
Unhandled server error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/server.py", line 160, in index
return render_template("index.html")
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 150, in render_template
template = app.jinja_env.get_or_select_template(template_name_or_list)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1087, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 1016, in get_template
return self._load_template(name, globals)
File "/usr/local/lib/python3.9/dist-packages/jinja2/environment.py", line 975, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/usr/local/lib/python3.9/dist-packages/jinja2/loaders.py", line 126, in load
source, filename, uptodate = self.get_source(environment, name)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 66, in get_source
return self._get_source_fast(environment, template)
File "/usr/local/lib/python3.9/dist-packages/flask/templating.py", line 100, in _get_source_fast
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions