WebFaction
Community site: login faq
0
2

I have an OSQA-driven website that used (with a database change) the installation script here:

https://wiki.webfaction.com/wiki/OSQATrunkInstall

I'm in the process of patching the applications in my account because something was compromised.

Since you use OSQA for this community Q&A board, can you share how you guys update OSQA to keep it current, please?

Much appreciated!

asked 18 Jun '11, 16:40

mbhunter's gravatar image

mbhunter
746
accept rate: 0%

edited 18 Jun '11, 16:41


I set up our OSQA installation here at WebFaction several months ago - it hasn't been updated since it was installed, so I don't have a proven procedure for upgrading just yet.

When I do update it (probably soon), I imagine it will go something like this:

  1. Identify all of our local customizations (thankfully, there are few).
  2. Make a good backup of everything (files and database).
  3. Install South.
  4. Put the site in maintenance mode (whitelisting my IP first).
  5. Run "svn update" in our OSQA directory (or perhaps replace the checkout with a stable release).
  6. Run "python manage.py migrate forum" to update our DB.
  7. Put our local customizations back into place.
  8. Restart Apache.
  9. Check that everything's working and fix what's broken.
  10. Take the site out of maintenance mode.

That should do it - good luck!

permanent link

answered 18 Jun '11, 17:07

seanf's gravatar image

seanf ♦♦
11.8k21333
accept rate: 37%

edited 18 Jun '11, 18:00

Thanks for the response. How would updating Django fit into this? The script I linked to above uses 1.2.4; the current version offered by WF is 1.3.

(18 Jun '11, 17:22) mbhunter mbhunter's gravatar image

If you want to upgrade Django at the same time, that shouldn't present a problem.

Instructions for upgrading your Django libraries are available in our docs: Upgrading your Django Libraries

(18 Jun '11, 17:27) seanf ♦♦ seanf's gravatar image

Thanks. Have you seen any holes/problems with your current installation? (Are you using the same one I am -- from the script?)

(18 Jun '11, 17:37) mbhunter mbhunter's gravatar image

We haven't had any problems with this OSQA installation. It wasn't installed from the script, but I think the end product is similar.

(18 Jun '11, 17:42) seanf ♦♦ seanf's gravatar image

@seanf - Your post is almost 3 years old. Does your process still install OSQA the same way today? Thank you in advance.

(01 May '14, 00:30) Cape COd Hunny Cape%20COd%20Hunny's gravatar image

We do have a script located here: https://wiki.webfaction.com/wiki/InstallScripts

The code can be viewed for further details, if needed.

(01 May '14, 02:11) NickR ♦♦ NickR's gravatar image
showing 5 of 6 show 1 more comments
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×43
×37

question asked: 18 Jun '11, 16:40

question was seen: 3,270 times

last updated: 01 May '14, 02:11

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM