-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template Not Found error on upgrading Re:dash #1200
Comments
Does the |
I have the same error. I started with the GCE image and ran the fabfile upgrade script. |
And |
Sorry @arikfr, I killed it and stopped trying to Re:dash to work. |
Closing due to lack of feedback. |
same error And /opt/redash/current/rd_ui/dist/index.html exists |
If you get this error and the file exists, it might be that it loads wrong config for some reason. I recommend killing all Redash related processes (grep for redash in process list) and the run |
I have tried that but the issue holds |
Hello. I have same problem. My setup: Here are exception from logs:
index.html on its place:
I tried: What can I try else? |
@44px Add this line: |
@arikfr, yes, it helps. Thank you! Maybe it should be added by default to |
thanks @arikfr finally what i need just to add that line on .env |
Issue Summary
Upgrading Re:dash throws TemplateNotFound error
Steps to Reproduce
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask_restful/init.py", line 271, in error_router
return original_handler(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python2.7/dist-packages/flask_login.py", line 792, in decorated_view
return func(_args, *_kwargs)
File "/opt/redash/redash.0.11.0.b2016/redash/handlers/static.py", line 60, in index
client_config=json.dumps(client_config))
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 127, in render_template
return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 851, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 812, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 774, in _load_template
cache_key = self.loader.get_source(self, name)[1]
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 64, in get_source
raise TemplateNotFound(template)
TemplateNotFound: index.html
Technical details:
The text was updated successfully, but these errors were encountered: