X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=UPGRADE;h=c175ee4f878c91cee8797d56dff9134f8e1bca7c;hb=24910f2363b128853a3f610a220dfc66222f6fdc;hp=3a1dd8a9b9a3b324ababe0256476790c57992b29;hpb=95d415257a43d5d4338ce22089463c1820b6bf8b;p=quix0rs-gnu-social.git diff --git a/UPGRADE b/UPGRADE index 3a1dd8a9b9..c175ee4f87 100644 --- a/UPGRADE +++ b/UPGRADE @@ -11,6 +11,9 @@ and follow this procedure: 0. Backup your data. The StatusNet upgrade discussions below have some guidelines to back up the database and files (mysqldump and rsync). + MAKE SURE YOU ARE THE SAME USER THAT RUNS THE PHP FILES WHILE PERFORMING + THE COMMANDS BELOW (I usually prepend the commands with 'sudo -u social') + 1. Stop your queue daemons (you can run this command even if you do not use the queue daemons): $ bash scripts/stopdaemons.sh @@ -75,14 +78,13 @@ variant of this command (you will be prompted for the database password): will be the local files such as avatars, config and files: avatar/* - background/* file/* local/* .htaccess config.php This command will point you in the right direction on how to do it: - $ rsync -avP statusnet/{.htaccess,avatar,background,file,local,config.php} gnusocial/ + $ rsync -avP statusnet/{.htaccess,avatar,file,local,config.php} gnusocial/ 4. Replace your old StatusNet directory with the new GNU social directory in your webserver root.