Open ivankruchkoff opened 6 years ago
Moved from https://github.com/pantheon-systems/terminus/issues/1793
When I execute terminus --version
, I get the following output:
Terminus 1.5.0
[notice] A new Terminus version v1.6.1 is available.
You are currently using version v1.5.0.
You can update Terminus by running `composer update` or using the Terminus installer:
curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update
When I run the command curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update
, I expect terminus to update to version 1.6.1.
When I run curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update
, terminus doesn't update.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3198k 100 3198k 0 0 1847k 0 0:00:01 0:00:01 --:--:-- 1881k
Updating Terminus...
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
terminus --version
, verify that there is a newer version of terminus available.curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update
I'm having the exact same issue as TeslaDethRay
I am having the same issue when I attempt to upgrade from 1.6.1 to 1.9.0. Is there any fix for this?
This has never worked for me or anyone on my team, on mac os, it never works, from update to update. Cannot update to 2.0. There is code in $HOME/.composer/vendor/pantheon-systems/terminus that appears to not get updated. Still trying to figure this out. Please try out your instructions for yourselves and fix your documentation.
I managed to update by editing the composer.json file in $HOME/.composer to use terminus 2 and running update from that directory. However now I get errors for all of my plugins (which are in the .terminus directory, yet another directory) stating that they are not compatible with terminus 2.0 and cannot be loaded, and when I attempt to update the plugins, there is no update available. Kind of a mess, frankly. If not a code/maintenance mess, it is at least a critical lack of documentation based on the experience of my team and others in these threads. Sorry to be harshin' on it but no doubt it wastes a lot of time for people having these issues. I like using terminus otherwise. Oh also -- the github page mentions another installation/update method using brew, which isn't mentioned in the terminus manual.
Starting August 26, 2019, Pantheon will no longer support Terminus versions older than v.1.9. I still cannot upgrade my installation from v.1.7.1. I get the same errors that others have reported above.
I contacted Pantheon support and they directed me to a potential fix that worked for me. It is noted in this document: https://pantheon.io/docs/terminus/updates/#nothing-to-install-or-update
Here are the specific steps I followed, in a terminal window.
rm -rf $HOME/terminus
mkdir $HOME/terminus
cd $HOME/terminus
curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar install
I did not originally have a $HOME/terminus
directory, but after following these steps and basically installing terminus from scratch, I did verify that I am now on version 2.0.0. I hope this works for everyone else too!
Thank you @thatdevgirl - this was what I attempted, several times. But it did not work and never has. The issue is that there are active terminus files in $HOME/.composer and the composer.json that controls the version is located in there. There must be another typeof installation or something that the documentation does not account for?
Interesting. Maybe it only worked for me because I did not have that home ~/terminus
directory? If that's the case, then there must be another type of installation. It would be nice if someone from Pantheon would weigh in here.
Your update instructions don't actually update to v1.6.0
[notice] A new Terminus version v1.6.0 is available. You are currently using version v1.5.0. You can update Terminus by running
composer update
or using the Terminus installer: curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update [deploy@single1 ~]$ curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3198k 100 3198k 0 0 15.6M 0 --:--:-- --:--:-- --:--:-- 32.8M Updating Terminus...Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files [deploy@single1 ~]$ terminus -V Terminus 1.5.0 [notice] A new Terminus version v1.6.0 is available. You are currently using version v1.5.0. You can update Terminus by running
composer update
or using the Terminus installer: curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update