We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

[SOLVED] Upgrading with eecms over SSH to a specific 5.x version

How Do I?

Henry the II (and a 1/2)'s avatar
Henry the II (and a 1/2)
9 posts
4 years ago
Henry the II (and a 1/2)'s avatar Henry the II (and a 1/2)

The situation:

  • I have a site on 5.4.0.
  • I’ve been so far updating over SSH with eecms, which, as far as I can tell, always update to the latest version (which would be 6-something).
  • I am not ready at this point to update to 6.x – a LOT of work was put into the (legacy) frontend member templates, and the 6.x documentation to replicate many of the features of the legacy templates is next to inexistent (private messages? ignoring/blocking members? etc…)

I could still update manually, so it’s not a big deal, but as time is not free, and the eecms updates have worked quickly and (mostly) painlessly in the past, the question is: can I set eecms to update only to the last revision of the 5.x branch?

       
Andy McCormick's avatar
Andy McCormick
183 posts
4 years ago
Andy McCormick's avatar Andy McCormick

can you clarify the steps you’ve been taking to update “over SSH”? SSH is really just the protocol your using to connect to the host. Are you uploading the files through rsync or sftp and SSH and then going to the site to run the upgrader or maybe logging in to the host and then using CLI?

If you just want to quickly get to the latest version of 5 (5.4.2), then you can log in to the CP and use the 1-click updater. It will require you to update to 5.4.2 first, then won’t let you go to 6.x unless you authorize.

       
Henry the II (and a 1/2)'s avatar
Henry the II (and a 1/2)
9 posts
4 years ago
Henry the II (and a 1/2)'s avatar Henry the II (and a 1/2)

Allow me to quote myself:

> updating over SSH with eecms

eecms being the binary used to upgrade, to wit:

system/ee/eecms upgrade -v

Which then gives me a reasonably detailed output of what’s happening, as it happens–unlike most 1-click thingies in the world.

(And yes, “over SSH” really means “by way of an SSH connection to the host”.)

       
Henry the II (and a 1/2)'s avatar
Henry the II (and a 1/2)
9 posts
4 years ago
Henry the II (and a 1/2)'s avatar Henry the II (and a 1/2)

Never mind, I found the answer by trying it on a test server.

       
Andy McCormick's avatar
Andy McCormick
183 posts
4 years ago
Andy McCormick's avatar Andy McCormick

sorry about that, not enough coffee yet for Monday morning. lol

Just for others who might come here, as you probably discovered the eecms tool follows the 1-click upgrader functionality in requiring the user to update to the latest version of 5 first (currently 5.4.2).

Also note that in v6, the eecms tool has been superseded by the new CLI tool which has more options available in the update process.

  • Updating with the new CLI: https://docs.expressionengine.com/latest/installation/updating.html#updating-via-eecli
  • Introduction to the new CLI: https://docs.expressionengine.com/latest/cli/intro.html.

We also announced recently that the CLI will be updated to include add-on and migrations generators in 6.1.

       
Henry the II (and a 1/2)'s avatar
Henry the II (and a 1/2)
9 posts
4 years ago
Henry the II (and a 1/2)'s avatar Henry the II (and a 1/2)

No worries, and thank you for the updated info, re 6.x.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.