-
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
Redash db migration for v25.1.0 fails #7290
Comments
Hi @artemsafiyulin , I achieve the same migration this week with success :-) . |
Yes, my 10.1.0 instance still work with How it works for you with latest image? And maybe there is some information about compatibility versions or about recommended version for PG and also fro another components (nginx/redis) |
Me neither, but I have in mind that 9.6 has been EOL for a long time
It works really fine. But as we mainly use PostgreSQL datasource I can't tell you for other datasources.
You're right ! I checked those version in this file : https://github.com/getredash/setup/blob/master/data/compose.yaml -> redis:7-alpine Disclaimer : I am a simple user, maybe redash gurus will have better recommanditions. |
Looks like you have some non-UTF8 characters, which cannot be translated to JSON. Try connecting to the database erase this escape sequence docker compose exec postgres psql -U postgres UPDATE visualizations
SET options = replace(options::text, '\u0000', '')::json
WHERE strpos(options::text, '\u0000') > 0; |
Issue Summary
The database migration command
docker-compose run --rm server manage db upgrade
for upgrading to 25.1.0 version fails on "change type of json fields from varchar to json" stepSteps to Reproduce
docker-compose down
docker-compose run --rm server manage db upgrade
result:
I try to upgrade from redash/redash:10.1.0.b50633
Technical details:
The text was updated successfully, but these errors were encountered: