SUMO should return a 500 status code when it can't access config files.

RESOLVED WONTFIX

Status

support.mozilla.org
General
RESOLVED WONTFIX
8 years ago
7 years ago

People

(Reporter: justdave, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

During the netapp outage today, the SUMO site was displaying the following:

-----8<-----
Tikiwiki is not properly set up:

The directory '/data/www/support.mozilla.com/webroot/dump/' does not exist.
The directory '/data/www/support.mozilla.com/webroot/img/wiki/' does not exist.
The directory '/data/www/support.mozilla.com/webroot/img/wiki_up/' does not exist.

You may either chmod the directories above manually to 777, or run one of the sets of commands below.
Proceed to the Tiki installer after you run the commands below.

If you cannot become root, and are NOT part of the group nobody (or the group account the web server is running under):
    $ bash
    $ cd /data/www/support.mozilla.com/webroot
    $ chmod +x setup.sh
    $ ./setup.sh yourlogin yourgroup 02777
    Tip: You can find your group using the command 'id'.

If you cannot become root, but are a member of the group nobody (or the group account the web server is running under):
    $ bash
    $ cd /data/www/support.mozilla.com/webroot
    $ chmod +x setup.sh
    $ ./setup.sh mylogin nobody (or the group account the web server is running under)

If you can become root:
    $ bash
    $ cd /data/www/support.mozilla.com/webroot
    $ chmod +x setup.sh
    $ su -c './setup.sh nobody (or the user account the web server is running under)'

If you have problems accessing a directory, check the open_basedir entry in
/etc/php.ini or httpd.conf.

Once you have executed these commands, this message will disappear!

Note: If you cannot become root, you will not be able to delete certain
files created by apache, and will need to ask your system administrator
to delete them for you if needed.

Consult the tikiwiki.org installation guide if you need more help.

Proceed to the Tiki installer if you've completed the steps above.
-----8<-----

Such error messages should return a 500 status code in addition to the error as part of the entity body, which would allow the load balancer to know it's broken and take it out of the pool (and in this case fail over to the outage page).
Dave, how urgent is this? Can it wait for our new platform?
yeah, it can wait.  It's a user-facing issue, but the site isn't down all that often... :)
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
I'd say this is wontfix (or maybe worksforme?) rather than incomplete.  It was a problem with Tiki an Tiki went away. :)  (incomplete implies there isn't enough information in the bug to solve the problem)
Resolution: INCOMPLETE → WONTFIX
You need to log in before you can comment on or make changes to this bug.