Every time i need to upgrade to a newer version of a package (either tyk-gateway or tyk-dashboard or both like this new one) i face the same problem. Having gateway 2.2, dashboard 1.2 and pump 0.3, i had to upgrade both 3 packages.
Before I start the upgrade process, I stop all the tyk services.
Next, I update the packages with:
sudo yum update tyk-package
and run the setup.sh to produce the new configuration file for each packet. Then I edit the new conf file with proper values and try to start the service.
sudo service tyk-package start
Every time i get the 'service unknown' error.
So every time i have to reinstall the package:
sudo yum reinstall tyk-package
and run again the setup.sh script to recreate the conf file, then edit it and start again the corresponding service. Then everything runs smoothly.
Is it somethething i am doing wrong in the upgrading process?