I would suggest moving your entire site directory to some place safe so you 
have an exact copy and start from a fresh directory. Also make a backup of your 
database so you can restore that and the website files to the exact state as 
when you started messing around, just in case.

In your new clean htdocs directory, check out the version you want from SVN. 
I'd recommend the 0.7 Developer Preview, there has been breakage going on in 
trunk lately that might make it more difficult for you:

        svn co http://svn.habariproject.org/habari/tags/0.7-dp1/htdocs .

Substitute the . at the end with the path to your website's htdocs directory, 
assuming you're not already in it.

Then you can install just like you normally would. Since you don't have a 
config file the installer will start up and as you for your database info. 
After you run the installer it should realize you've got an existing instal and 
just kick you into it.

Now's the tricky part... You'll want to move any files from your old user 
directory into the new 0.7-dp1 user directory. I wouldn't include plugins in 
that, they'll just break anyway. Go through each plugin you need and check the 
plugin out of the -extras SVN (assuming it's available there). For the most 
part you can usually stick with the trunk version of a plugin, I'm not sure 
that everyone is reliably tagging 0.7-compatible versions when they make 
updates:

        svn co http://svn.habariproject.org/habari-extras/plugins/foo/trunk 
user/plugins/foo

Again, assuming you're in the base htdocs directory, substitute the real path 
for "user/plugins/foo".

Then log in to your newly-upgraded 0.7 site and activate the new plugins. 
Hopefully they'll all upgrade cleanly, but double-check any configuration 
options for plugins that have them to make sure (and open tickets for any that 
you have a problem with! ;)).

And let us know if I've lost you or you run into a problem! :)

On Nov 12, 2010, at 3:46 AM, Khaled Abou Alfa wrote:

> Thanks Alex,
> 
> You've answered the last part of my question ;) - all good stuff and I'll 
> include it all in the walk through I write up, so hopefully you'll be able to 
> guide me through the first part.
> 
> Following the installation requirements for SSH installation 
> (http://wiki.habariproject.org/en/Installation#SVN_Checkout), my issue here 
> is that I'll navigate to a directory with an existing installation. Should I 
> delete this (but keeping my user file) and then checkout from SVN? Do I then 
> move my theme and images etc over manually? Will that cause any issues when 
> upgrading?
> 
> The question then is afterwards, how do I check in the plugins directly from 
> the habari extra repository (I remember being able to do this as well to get 
> the latest plugins)?
> 
> Thanks for the help Alex,
> 
> -----------------------------------------
> Khaled Abou Alfa
> 
> 
> On Fri, Nov 12, 2010 at 10:20 AM, Alexander <[email protected]> wrote:
> Hey Khaled,
> 
> there is an upgrade guide at:
> http://wiki.habariproject.org/en/Upgrading
> 
> I think it covers pretty much everything much better than I could ever
> describe it.
> 
> Assuming you know how to check out a svn repository it's actually very
> simple to get a specific tag/branch. Just check out the directory
> corresponding to your desired version.
> 
> Branches are in:
> http://svn.habariproject.org/habari/branches
> 
> Tags are in:
> http://svn.habariproject.org/habari/tags
> 
> and the latest version (trunk) is in:
> http://svn.habariproject.org/habari/trunk
> 
> All but trunk have subdirectories with the different versions. So if
> you want one specific version you have to specify that, otherwise svn
> will just checkout all the existing branches/tags.
> 
> For example:
> svn co http://svn.habariproject.org/habari/branches/tags_as_terms
> will get you the "tags as terms" branch.
> 
> I'm not sure about downgrading your habari install. I always make a
> full DB and file system backup before up/downgrading in case anything
> goes wrong, so I never worried about that.
> 
> Hope this helps you a bit,
> Alex
> 
> On 12 Nov., 08:26, Khaled Abou Alfa <[email protected]> wrote:
> > Hey all,
> >
> > It’s been a year since I’ve updated Habari (still running version 0.6.1
> > without any major problems). Thing is several plugins have stopped working
> > (for some reason – notably the twitter one) and obviously I can’t start
> > using any of the new plugins either.
> >
> > *I did this years ago and completely forgotten how to do it, but was
> > wondering, does anyone have a step by step guide to move an
> > existing habari installation to one that is checked out via SVN? *
> >
> > A couple of things that I would also like to know is how you check out the
> > developer tag version as well (or any tag/branch for that matter). Final
> > point, I also remember there was a command to revert back to an older
> > version if an update broke things (that command would be extremely useful as
> > well).
> >
> > If there isn't a guide alaready, can someone just give me the broad strokes
> > (just a bullet point list would be nice), then I can flesh it out, add some
> > screenshots and put it on the wiki, I’m sure others will find it very useful
> > as well.
> >
> > Thanks.
> 
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/habari-users
> 
> 
> -- 
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/habari-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to