Redash_supervisord: command not found


#1

Running an upgrade from 1.0.3 to 2.0.0, the upgrade script returns an error after running…

root@redash-dev:~# cd /opt/redash/current
root@redash-dev:/opt/redash/current# sudo bin/upgrade
Starting Redash upgrade:
Found version: 2.0.0
Current version: 1.0.3+b2850
* Before doing an upgrade, please make sure you have a backup.
* If you have any issues, please refer to the troubleshooting section in the upgrade guide:
  https://redash.io/help-onpremise/maintenance/how-to-upgrade-redash.html
* If the upgrade guide doesn't help, you can ask for help on the forum (https://discuss.redash.io).

Full CHANGELOG for this release: https://github.com/getredash/redash/blob/master/CHANGELOG.md#v200---2017-08-08
Continue with upgrade? (y/n): y
Downloading release tarball...
Unpacking to: redash.2.0.0.b2990...
Changing ownership to redash...
Linking .env file...
Installing new Python packages (if needed)...
Running migrations (if needed)...
Linking to current version...
Restarting...
Failed running: sudo /etc/init.d/redash_supervisord restart
Exit status: 1
Output:
sudo: /etc/init.d/redash_supervisord: command not found

This was run on an AMI that came from the Amazon Marketplace, Ubuntu 16.04.3 LTS.

I was able to restart supervisor manually, but just wanted to point this out…

$ sudo service supervisor restart