-
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
Cannot get started #7244
Comments
Oh and I did try changing the port. I did notice the localhost:6379 but thats not the number I have. |
You need to set up redis and the database, e.g. using docker compose. |
Thanks for the reply, I did this a few days ago, I forgot to update this post. I did install redis after countless hours of trying to figure this out. I used AI to help. There's nothing on the documentation about redis, that I've found anyway. After installing redis I still cannot connect. Redis log tells me it's ready to connect. So I don't know what to do. |
I suspect this is a (near?) dupe of the problem in #7072 |
Issue Summary
I am getting 500 Internal Server Error after running Redash. I have the package installed and I choose my port number and then I get an error page. Any help would be nice. I'm just trying to find and easier way to get reports to the staff.
This is the error in docker
I'm too new to docker to understand how to even fix this.
2024-12-06 17:36:12 [2024-12-06 23:36:12 +0000] [1] [INFO] Starting gunicorn 19.7.1
2024-12-06 17:36:12 [2024-12-06 23:36:12 +0000] [1] [INFO] Listening at: http://0.0.0.0:5000 (1)
2024-12-06 17:36:12 [2024-12-06 23:36:12 +0000] [1] [INFO] Using worker: sync
2024-12-06 17:36:12 [2024-12-06 23:36:12 +0000] [10] [INFO] Booting worker with pid: 10
2024-12-06 17:36:12 [2024-12-06 23:36:12 +0000] [12] [INFO] Booting worker with pid: 12
2024-12-06 17:36:13 [2024-12-06 23:36:13 +0000] [14] [INFO] Booting worker with pid: 14
2024-12-06 17:36:13 [2024-12-06 23:36:13 +0000] [16] [INFO] Booting worker with pid: 16
2024-12-06 17:36:32 [2024-12-06 23:36:32,612] ERROR in app: Exception on / [GET]
2024-12-06 17:36:32 Traceback (most recent call last):
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
2024-12-06 17:36:32 response = self.full_dispatch_request()
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1607, in full_dispatch_request
2024-12-06 17:36:32 self.try_trigger_before_first_request_functions()
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1654, in try_trigger_before_first_request_functions
2024-12-06 17:36:32 func()
2024-12-06 17:36:32 File "/app/redash/version_check.py", line 85, in reset_new_version_status
2024-12-06 17:36:32 latest_version = get_latest_version()
2024-12-06 17:36:32 File "/app/redash/version_check.py", line 91, in get_latest_version
2024-12-06 17:36:32 return redis_connection.get(REDIS_KEY)
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 1264, in get
2024-12-06 17:36:32 return self.execute_command('GET', name)
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 772, in execute_command
2024-12-06 17:36:32 connection = pool.get_connection(command_name, **options)
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 994, in get_connection
2024-12-06 17:36:32 connection.connect()
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 497, in connect
2024-12-06 17:36:32 raise ConnectionError(self._error_message(e))
2024-12-06 17:36:32 ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
2024-12-06 17:36:32 [2024-12-06 23:36:32,767] ERROR in app: Exception on /favicon.ico [GET]
2024-12-06 17:36:32 Traceback (most recent call last):
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
2024-12-06 17:36:32 response = self.full_dispatch_request()
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1607, in full_dispatch_request
2024-12-06 17:36:32 self.try_trigger_before_first_request_functions()
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1654, in try_trigger_before_first_request_functions
2024-12-06 17:36:32 func()
2024-12-06 17:36:32 File "/app/redash/version_check.py", line 85, in reset_new_version_status
2024-12-06 17:36:32 latest_version = get_latest_version()
2024-12-06 17:36:32 File "/app/redash/version_check.py", line 91, in get_latest_version
2024-12-06 17:36:32 return redis_connection.get(REDIS_KEY)
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 1264, in get
2024-12-06 17:36:32 return self.execute_command('GET', name)
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 772, in execute_command
2024-12-06 17:36:32 connection = pool.get_connection(command_name, **options)
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 994, in get_connection
2024-12-06 17:36:32 connection.connect()
2024-12-06 17:36:32 File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 497, in connect
2024-12-06 17:36:32 raise ConnectionError(self._error_message(e))
2024-12-06 17:36:32 ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
Steps to Reproduce
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:
The text was updated successfully, but these errors were encountered: