update from gitorious if not installed by cloning repo?

edited March 2012 in General
I installed by uploading the tarball, etc., not by cloning the gitorious repo, but, I have a friendica instance that I did via github, and updating it is so easy.
So, I think I'd like to use the https://gitorious.org/StatusNet, so I can just pull updates.
Is this doable?
I imagine I should backup my config.php and the custom theme I wrote, but what if I do that, copy them somewhere else on the machine, wipe my whole status directory (rm -rf) and then clone the gitorious repo, then replace my config.php and re-add my theme in there.
Oh, plus I'd have to do the same with lib/primarynav.php, because I added custom links.
I imagine the site would then repopulate itself from the db, since that wouldn't be touched by this process, yes?

TL;DR: Would this work? Back up anything I changed, delete installation, rebuild by cloning gitorious repo, replace my customizations and config.php

Comments

  • That should work. You may have to run an upgrade on the database. Have you already tried this?

    // Paul
  • I did just as mentioned.
    I backed up my config.php, my custom theme, primarynav.php (which I had also customized), wiped the installation (not the db), cloned the gitorious repo in that dir, replaced my config.php, theme, primarynav.php, and all is good.
  • That's what I'm planning to do tomorrow. I won't have to be concerned about backing up anything except config.php
  • Worked like a charm. I made sure permissions were still what they had been, then immediately ran /scripts/checkschema.php and started the daemons.

    Looks like I will need to run the avatar-retrieval script, but otherwise, everything is good.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID