Im struggling too with the upgrade from 5.0.2 to 6.0. It’s probably some rookie mistake but im a bit stumped. Im not using a docker and 5.0.2 was working perfectly. After I did the sudo bin/upgrade I get the floowing when I try and login:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
I had this error before, I think, when there was an error in my .env file relating to the database. I haven’t changed the .env file and postgres is still running. Is the db still the same in 6? This is the db line in my .env file.
export REDASH_DATABASE_URL=“postgresql:///redash”
How do i go about locating/fixing the error? Can I just point the current directory link back to the old version to roll it back?
So I tried this upgrade again on my old VM and the same result.
When you first go in after the upgrade it looks fine - except that there are no datasources, dahsboard, users, or queries. You get the spinning circle. Refreshing the page does nothing but when you logout you cant login again…and you get the Internal Server Error message.
I got the same issue, after upgrading from V5 to V6 i was unable to login with the same Internal Server message error.
On redash log i got this message:
“Redis transport requires redis-py versions 3.2.0 or later. You have 2.10.5”
After update the redis-py to 3.2.0 (with pip install redis==3.2.0) i was able to login but now all queries doesnt work anymore.
On screen i got a “'Error running query: an unknown error occurred. Please try again later.” and on logs this message “AttributeError: ‘float’ object has no attribute ‘iteritems’”
I have the same issue. I upgraded from v3 to v4, then v4 to v6. Was unable to login due to the redis-py version error reported by @CH_TN. After running the pip install I was able to login, then started getting the “AttributeError: ‘float’ object has no attribute ‘iteritems’”
its a depenedency issue.
Install redis-py, celery and kombu version from hand, then it works again.
Without beeing an python/django expert, I did the following:
sudo pip install kombu==4.2.0
sudo pip install celery==4.1.1
sudo pip install redis==2.10.6
I ran into this issue as well. Manually installing kombu, celery and redis did not help!
Same issue as @CH_TN and @jfryer_runoranj.com.
Upgrade(v4 to v5 to v6) was completed but not able to execute any queries. The celery.log and api_error.log contains this error line which is happening on redis scripts.
“AttributeError: ‘float’ object has no attribute ‘iteritems’”