|
I'm doing a new OSQA installation on WebFaction (using the OSQA Install Script) and I'm getting the following error when I browse to the URL: 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I've had a look at the Apache logs,
It would appear that there's some database issue but the password is correct in settings_local.py. The really strange thing is that - it was working a few hours ago but I deleted the server and started over (repeating the same steps) and now it's spitting out this error message! Apache port is correct in settings_local.py ('listen' in httpd.conf) - I don't know what else to check? PostgreSQL database is working - settings are correct. I can access it via phpPgAdmin so I assume it must be OK. Any ideas? What am I missing here? Many thanks in advance. |
|
I'd guess it's something to do with having uninstalled and then reinstalled. I'd be tempted to purge the lot if you can, if you've only put OSQA onto this webfaction account, and haven't set up anything else there: go to your account panel, delete all apps; go into SSH, empty your webapps directory (don't delete webapps directory itself - just remove everything in it); go to phpPgAdmin, delete the OSQA databases; then start afresh. And check out this recent question here too: http://meta.osqa.net/questions/7883/what-is-the-best-step-by-step-install-guide-for-osqa-on-webfaction Giving that a try now. Have tried doing it a few times; I have a feeling it might be something to do with PostgresSQL. I get rid of the SQL database but I wonder if it might not be deleting properly? Grrrr.
(13 Apr '11, 12:19)
James Spittal
Yup, I think you'll have to try with a fresh database. Remove the old one completely and recreate it.
(13 Apr '11, 12:30)
Jordan ♦♦
|
|
Success! Hoorah! In the end, the fix I used was using a different application name (rather than 'osqa', I used something different.) Don't ask me why this fixed the problem, but it did! OK. Now I'm having some trouble using the SX Importer. Will post a new question about that.
(13 Apr '11, 12:41)
James Spittal
|
It looks like incorrect installation. Are you sure you've went through this steps?
The installation is simply the install script for OSQA on WebFaction from here: https://wiki.webfaction.com/wiki/InstallScripts
It worked last time I ran it? I tried running both those commands: