Hi Leute,
ich versuche Telerising automatisch bei reboot zu staten und habe in meinem Raspi mit laufendem Raspbian den Aufruf durch den Crontab:
@reboot /media/link/telerising/api /dev/null 2>&1
Aber das geht dann nicht. Da tritt dann dieser Fehler auf:
Code
192.168.130.28 - - [14/Jun/2023 18:06:15] "GET / HTTP/1.1" 302 -
192.168.130.28 - - [14/Jun/2023 18:06:15] "GET /login HTTP/1.1" 302 -
[2023-06-14 18:06:15,772] ERROR in app: Exception on /signup [GET]
Traceback (most recent call last):
File "/media/link/telerising/flask/app.py", line 2190, in wsgi_app
File "/media/link/telerising/flask/app.py", line 1486, in full_dispatch_request
File "/media/link/telerising/flask/app.py", line 0, in handle_user_exception
File "/media/link/telerising/flask/app.py", line 1484, in full_dispatch_request
File "/media/link/telerising/flask/app.py", line 1469, in dispatch_request
File "/media/link/telerising/app/routes/views.py", line 48, in signup
File "/media/link/telerising/flask/templating.py", line 150, in render_template
File "/media/link/telerising/jinja2/environment.py", line 1081, in get_or_select_template
File "/media/link/telerising/jinja2/environment.py", line 1010, in get_template
File "/media/link/telerising/jinja2/environment.py", line 969, in _load_template
File "/media/link/telerising/jinja2/loaders.py", line 126, in load
File "/media/link/telerising/flask/templating.py", line 64, in get_source
File "/media/link/telerising/flask/templating.py", line 98, in _get_source_fast
jinja2.exceptions.TemplateNotFound: signup.html
192.168.130.28 - - [14/Jun/2023 18:06:15] "GET /signup HTTP/1.1" 500 -
192.168.130.28 - - [14/Jun/2023 18:06:16] "GET / HTTP/1.1" 302 -
192.168.130.28 - - [14/Jun/2023 18:06:16] "GET /login HTTP/1.1" 302 -
[2023-06-14 18:06:16,514] ERROR in app: Exception on /signup [GET]
Traceback (most recent call last):
File "/media/link/telerising/flask/app.py", line 2190, in wsgi_app
File "/media/link/telerising/flask/app.py", line 1486, in full_dispatch_request
File "/media/link/telerising/flask/app.py", line 0, in handle_user_exception
File "/media/link/telerising/flask/app.py", line 1484, in full_dispatch_request
File "/media/link/telerising/flask/app.py", line 1469, in dispatch_request
File "/media/link/telerising/app/routes/views.py", line 48, in signup
File "/media/link/telerising/flask/templating.py", line 150, in render_template
File "/media/link/telerising/jinja2/environment.py", line 1081, in get_or_select_template
File "/media/link/telerising/jinja2/environment.py", line 1010, in get_template
File "/media/link/telerising/jinja2/environment.py", line 969, in _load_template
File "/media/link/telerising/jinja2/loaders.py", line 126, in load
File "/media/link/telerising/flask/templating.py", line 64, in get_source
File "/media/link/telerising/flask/templating.py", line 98, in _get_source_fast
jinja2.exceptions.TemplateNotFound: signup.html
192.168.130.28 - - [14/Jun/2023 18:06:16] "GET /signup HTTP/1.1" 500 -
[2023-06-14 18:06:17,976] ERROR in app: Exception on /signup [GET]
Traceback (most recent call last):
File "/media/link/telerising/flask/app.py", line 2190, in wsgi_app
File "/media/link/telerising/flask/app.py", line 1486, in full_dispatch_request
File "/media/link/telerising/flask/app.py", line 0, in handle_user_exception
File "/media/link/telerising/flask/app.py", line 1484, in full_dispatch_request
File "/media/link/telerising/flask/app.py", line 1469, in dispatch_request
File "/media/link/telerising/app/routes/views.py", line 48, in signup
File "/media/link/telerising/flask/templating.py", line 150, in render_template
File "/media/link/telerising/jinja2/environment.py", line 1081, in get_or_select_template
File "/media/link/telerising/jinja2/environment.py", line 1010, in get_template
File "/media/link/telerising/jinja2/environment.py", line 969, in _load_template
File "/media/link/telerising/jinja2/loaders.py", line 126, in load
File "/media/link/telerising/flask/templating.py", line 64, in get_source
File "/media/link/telerising/flask/templating.py", line 98, in _get_source_fast
jinja2.exceptions.TemplateNotFound: signup.html
Alles anzeigen
Ich weiß, dass der Telerising erfinder sagte: Starte mal die api aus dem Verzeichnis. Man muss das also aus dem Verzeichnis aus starten, da es sonst nicht geht.
Aber ich meine, dass ich das mal hinbekommen habe..!?
Heiße Ideen?
LG