Hi @arikfr Many thanks for your and the links.
So I have changed the script to run 4.01. Unfortunately upgrade script fetch only until 5.0.1
Also by updating release = response.json()[4] (where 4 seems to be the higher value authorized). It fetches the older version found (5.0.1)
Starting Redash upgrade:
Found version: 5.0.1
Current version: 3.0.0+b3134
Any help, to make it fetch easily the version I’d like? I am not a python dev unfortunately.
please check the release output dump:
[{u’description’: u"See CHANGELOG for the full release notes.\n\n—\n\n* Before doing an upgrade, please make sure you have a backup.\n* If you have any issues, please refer to the troubleshooting section in the upgrade guide.\n* If the upgrade guide doesn’t help, you can ask for help on the forum.\n", u’released_at’: u’2019-10-27T00:00:00.000Z’, u’download_url’: u’’, u’version’: u’8.0.0’, u’docker_image’: u’redash/redash:8.0.0.b32245’, u’backward_compatible’: False, u’id’: 39, u’channel’: u’stable’}, {u’description’: u"Please read the following before upgrading:\n\n1. If you’re using the tarball deployment and not Docker, you might need to manually update some of the dependencies. Compare your current Python dependencies with the ones in the requirements*.txt files.\n\n2. This release adds encryption of your data sources configuration. By default it will use the REDASH_COOKIE_SECRET as encryption key. But we recommend setting a new key for it using the REDASH_SECRET_KEY environment variable. Note that you need to set this before running migrations. Otherwise everything will be encrypted with REDSAH_COOKIE_SECRET.\n\n—\n\n* Before doing an upgrade, please make sure you have a backup.\n* If you have any issues, please refer to the troubleshooting section in the upgrade guide:\n https://redash.io/help/open-source/admin-guide/how-to-upgrade\n* If the upgrade guide doesn’t help, you can ask for help on the forum (http://discuss.redash.io).\n\nFull CHANGELOG for this release: redash/CHANGELOG.md at master · getredash/redash · GitHub", u’released_at’: u’2019-03-17T00:00:00.000Z’, u’download_url’: u’https://s3.amazonaws.com/redash-releases/redash.7.0.0.b17535.tar.gz’, u’version’: u’7.0.0’, u’docker_image’: u’redash/redash:7.0.0.b18042’, u’backward_compatible’: False, u’id’: 37, u’channel’: u’stable’}, {u’description’: u"IMPORTANT: make sure to clear out the Celery queue before upgrading.\n\n* Before doing an upgrade, please make sure you have a backup.\n* If you have any issues, please refer to the troubleshooting section in the upgrade guide:\n https://redash.io/help/open-source/admin-guide/how-to-upgrade\n* If the upgrade guide doesn’t help, you can ask for help on the forum (http://discuss.redash.io).\n\nFull CHANGELOG for this release: redash/CHANGELOG.md at master · getredash/redash · GitHub", u’released_at’: u’2018-12-17T00:00:00.000Z’, u’download_url’: u’https://s3.amazonaws.com/redash-releases/redash.6.0.0.b8536.tar.gz’, u’version’: u’6.0.0’, u’docker_image’: u’redash/redash:6.0.0.b8537’, u’backward_compatible’: False, u’id’: 35, u’channel’: u’stable’}, {u’description’: u"* Before doing an upgrade, please make sure you have a backup.\n* If you have any issues, please refer to the troubleshooting section in the upgrade guide:\n https://redash.io/help/open-source/admin-guide/how-to-upgrade\n* If the upgrade guide doesn’t help, you can ask for help on the forum (http://discuss.redash.io).\n\nFull CHANGELOG for this release: redash/CHANGELOG.md at master · getredash/redash · GitHub", u’released_at’: u’2018-10-18T00:00:00.000Z’, u’download_url’: u’https://s3.amazonaws.com/redash-releases/redash.5.0.2.b5485.tar.gz’, u’version’: u’5.0.2’, u’docker_image’: u’redash/redash:5.0.2.b5486’, u’backward_compatible’: False, u’id’: 33, u’channel’: u’stable’}, {u’description’: u"* Before doing an upgrade, please make sure you have a backup.\n* If you have any issues, please refer to the troubleshooting section in the upgrade guide:\n https://redash.io/help/open-source/admin-guide/how-to-upgrade\n* If the upgrade guide doesn’t help, you can ask for help on the forum (http://discuss.redash.io).\n\nFull CHANGELOG for this release: redash/CHANGELOG.md at master · getredash/redash · GitHub", u’released_at’: u’2018-09-27T00:00:00.000Z’, u’download_url’: u’https://s3.amazonaws.com/redash-releases/redash.5.0.1.b4851.tar.gz’, u’version’: u’5.0.1’, u’docker_image’: u’redash/redash:5.0.1.b4850’, u’backward_compatible’: False, u’id’: 32, u’channel’: u’stable’}]