From fd53bb404f57c63a3fae559eead0dfa93663ba25 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 27 Feb 2015 15:07:24 +0100 Subject: [PATCH] ssh key based easy upgrade method documentation --- UPGRADE | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/UPGRADE b/UPGRADE index e7b29c34dd..d2cd365e55 100644 --- a/UPGRADE +++ b/UPGRADE @@ -35,6 +35,16 @@ and follow this procedure: 5. Report any issues at https://bugz.foocorp.net/ (tag GNU social) +If you are using ssh keys to log in to your server, you can make this +procedure pretty painless (assuming you have automated backups already). +Make sure you "cd" into the correct directory (in this case "htdocs") +and use the correct login@hostname combo: + $ ssh social@domain.example 'cd htdocs + && bash scripts/stopdaemons.sh + && git pull + && time php scripts/upgrade.php + && bash scripts/startdaemons.sh' + StatusNet 1.1.x to GNU social 1.2.x ----------------------------------- -- 2.39.5