Site users locked out of Published, Visible site

Description

Note:

this condition occurred after our Oracle database went into heavy swapping and became unstable. The database did not crash.

I am recording it as an incident only, with a cataloging of symptoms in the UI and database and our course of resolution.

This was discussed in the sakai-dev list in an email thread titled "users suddenly missing all their sites/tabs." that unfortunate title was due to the first bug reports coming in from the Instructor and TAs, for whom this was the only Site they were using. A fine introduction to Sakai, btw.

=====

A Sakai site became unavailable to members.

The user symptoms were:

1) disappearance from all members Tabs
2) disappearance from all members Membership My Sites list.
3) was not present on members 'hidden Tabs" list

Additional UI symptoms:

1) the Site is available to Administrators via WorksiteSetup and Sites tools
2) therein the Site was listed as Published, Joinable
3) All the Site members and their Roles were visible
4) the Site Realm was available
5 ) the Site was listed in the Joinable Sites list. Joining the site had no effect other than listing the new member in the above tools - the Site was not visible to the new members as described in the first set of symptoms.

Database symptoms:

SAKAI_SITE has an entry for the site
SAKAI_REALM has a Realm for the site
SAKAI_SITE_USER is empty for this site
SAKAI_REALM_RL_GR has each users entries for the Realm associated with the site.
SAKAI_REALM_RL_FN is empty for the Realm.

evidence of lack of transactional integrity.

Solution:

we used an earlier DB snapshot in a QA context to recreate the DB symptoms, and then confirmed the user observable error conditions.

We deleted and recreated the Site via the UI. This restored access to all members in QA.

We repeated the deletion and recreation procedure in Production.

Activity

Ian Boston November 15, 2009 at 8:42 AM

Unassigning this issue as I am unlikely to get time to work on it, and leaving it assigned to me gives the wrong impression.

Ian Boston April 23, 2008 at 5:31 AM

We need to re-write the whole of the site module to fix this,

However all is not lost.

This may well be part of the kernel refactor that I am thinking of.

Thank you for the report, I will leave assigned to me, but at the moment I will not fix. Sorry.

Won't Fix

Details

Priority

Affects versions

Assignee

Reporter

Environment

Sakai 2.4.x, Oracle 10 on Solaris.

Created October 12, 2007 at 3:05 PM
Updated March 27, 2012 at 6:59 AM
Resolved April 23, 2008 at 5:31 AM

Flag notifications