[Building Sakai] Sakai and BBB

Patrick Coleman patcoleman at me.com
Thu Oct 6 04:22:31 PDT 2011


Right I'm not that crazy either.....but thanks to everyone for the help.

On Oct 6, 2011, at 7:21 AM, Adrian Fish wrote:

> I wouldn't expect him to do it on a live system; what kind of nutter runs direct queries on a live db server? Not me, that's for sure. What it will do is show whether that was the problem with the BBB tool. He can always reverse it after.
> 
> Cheers,
> Adrian.
> 
> On 06/10/2011 12:16, Aaron Zeckoski wrote:
>> Definitely do not change the site id like that unless there is
>> literally no data in that site. You will cause any data associated
>> with the site to be orphaned.
>> -AZ
>> 
>> On Thu, Oct 6, 2011 at 6:54 AM, Adrian Fish<a.fish at lancaster.ac.uk>  wrote:
>>> You will have to change it in the database.
>>> 
>>> For MySQL:
>>> 
>>> UPDATE SAKAI_SITE SET SITE_ID = 'ACA-CHS-06' where SITE_ID = 'ACA CHS 06';
>>> 
>>> Try that.
>>> 
>>> On 06/10/2011 11:52, Patrick Coleman wrote:
>>> 
>>> I'm sure you are right but I don't seem to be able to change the site ID?
>>> Or is there someplace I'm missing?
>>> On Oct 6, 2011, at 6:48 AM, Adrian Fish wrote:
>>> 
>>> That'll be it; we had to replace quite a lot of site ids with GUIDS. Try
>>> sticking hyphens instead of spaces in a db query and see it it starts to
>>> work. I suspect it will.
>>> 
>>> The GUIDs are automatically generated by the worksite setup code in Sakai.
>>> However, you can use the Sites tool and add whatever site id you like. I
>>> think ACA CHS 06 is perfectly ok as does a large percentage of the Sakai
>>> codebase, Entity Broker doesn't.
>>> 
>>> It's a bit of  bind as it forces you to use the Alias service for nice site
>>> URLS whereas you could use '/portal/site/ACA CHS 06' directly which would
>>> get URL escaped by the browser.
>>> 
>>> Cheers,
>>> Adrian.
>>> 
>>> On 06/10/2011 11:39, Patrick Coleman wrote:
>>> 
>>> I think you've got it. This sites that don't work (I've found a few more)
>>> have Site IDs that have
>>> spaces in them like...
>>> ACA CHS 06
>>> The sites that work have your typical IDs like
>>> c205711-a2f8-448e-8251-27c0448ea5f1
>>> When you create a site the only field that is required (with a *) is site
>>> ID.
>>> So people have filed in what seems like a good id with spaces. It allows you
>>> to put spaces in and doesn't say the ID is invalid.
>>> Also where do the IDs like c205711-a2f8-448e-8251-27c0448ea5f1 come from?
>>> I know no one entered that?
>>> Pat.
>>> 
>>> On Oct 6, 2011, at 4:57 AM, Adrian Fish wrote:
>>> 
>>> Hang on ...
>>> 
>>> What is the id of the site that causes problems. The id, not the site
>>> title. EB hates anything apart from alphanumerics and hyphens in site ids.
>>> 
>>> Cheers,
>>> Adrian.
>>> 
>>> On 06/10/2011 00:43, Patrick Coleman wrote:
>>> 
>>> I have a many site in this instance of Sakai. The first two I put "Meetings"
>>> 
>>> in I got the
>>> 
>>> error. Then I tried a few other site and it works?
>>> 
>>> Any idea why some sites would work and others would cause the errors?
>>> 
>>> Pat.
>>> 
>>> 
>>> 
>>> 
>>> Patrick Coleman wrote:
>>> 
>>> Hi,
>>> 
>>> I'm using Sakai 2.7.2
>>> 
>>> bbb plugin 1.0.6
>>> 
>>> BBB server 0.71a
>>> 
>>> Pat.
>>> 
>>> 
>>> Adrian Fish wrote:
>>> 
>>> What version of Sakai are you using the BBB tool on? The site
>>> 
>>> permissions entity provider stuff only got added from 2.7 I think.
>>> 
>>> Try viewing this URL:
>>> 
>>> http://localhost/direct/site/describe
>>> 
>>> You should see lots of CustomActions, one of which should be 'perms'. If
>>> 
>>> that's not there, then you have a problem ...
>>> 
>>> Cheers,
>>> 
>>> Adrian.
>>> 
>>> On 05/10/2011 12:12, Patrick Coleman wrote:
>>> 
>>> I replied to Sam's personal email about this....and he felt...
>>> 
>>> "No permissions in the list indicates some sort of deeper issue. I would
>>> 
>>> check for dupe jars. If there are no duplicate jars, I would attempt a
>>> 
>>> complete re-deploy of BBB."
>>> 
>>> I've done what he suggested, re-deployed BBB and checked for duplicate
>>> 
>>> jars
>>> 
>>> but found none.
>>> 
>>> 
>>> Anyone have any other ideas?
>>> 
>>> Thanks
>>> 
>>> 
>>> ---------------
>>> 
>>> My reply to Sam
>>> 
>>> 
>>> There isn't much more in catalina.out when I click on meeting
>>> 
>>> This first line is when I just click on "Meetings"
>>> 
>>> INFO: EntityEncodingManager: No entities to format (json) and output
>>> 
>>> for
>>> 
>>> ref (/bbb-meeting)
>>> 
>>> This is what I get when I click on "Create Meeting"
>>> 
>>> INFO Could not process entity: /site (400)[null]: Cannot execute custom
>>> 
>>> action (perms) for request method GET, The custom action view key (show)
>>> 
>>> must match the request view key (list)
>>> 
>>> 
>>> I see that there is a "Permissions" heading also which seems to suggest
>>> 
>>> you
>>> 
>>> can define permissions but I
>>> 
>>> don't see how they can be defined?
>>> 
>>> 
>>> --
>>> 
>>> ==================================
>>> 
>>> Adrian Fish
>>> 
>>> Software Engineer
>>> 
>>> B66 Management School
>>> 
>>> Lancaster University
>>> 
>>> Lancaster
>>> 
>>> LA1 4YW
>>> 
>>> http://www.sakaiproject.org
>>> 
>>> http://confluence.sakaiproject.org/display/YAFT/Yaft
>>> 
>>> http://confluence.sakaiproject.org/display/CLOG/Home
>>> 
>>> http://confluence.sakaiproject.org/display/BBB/Home
>>> 
>>> _______________________________________________
>>> 
>>> sakai-dev mailing list
>>> 
>>> sakai-dev at collab.sakaiproject.org
>>> 
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to
>>> 
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> 
>>> "unsubscribe"
>>> 
>>> 
>>> 
>>> 
>>> --
>>> ==================================
>>> Adrian Fish
>>> Software Engineer
>>> B66 Management School
>>> Lancaster University
>>> Lancaster
>>> LA1 4YW
>>> 
>>> http://www.sakaiproject.org
>>> http://confluence.sakaiproject.org/display/YAFT/Yaft
>>> http://confluence.sakaiproject.org/display/CLOG/Home
>>> http://confluence.sakaiproject.org/display/BBB/Home
>>> 
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
>>> with a subject of "unsubscribe"
>>> 
>>> Patrick Coleman
>>> patcoleman at me.com
>>> (301)-651-9573
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> ==================================
>>> Adrian Fish
>>> Software Engineer
>>> B66 Management School
>>> Lancaster University
>>> Lancaster
>>> LA1 4YW
>>> 
>>> http://www.sakaiproject.org
>>> http://confluence.sakaiproject.org/display/YAFT/Yaft
>>> http://confluence.sakaiproject.org/display/CLOG/Home
>>> http://confluence.sakaiproject.org/display/BBB/Home
>>> 
>>> Patrick Coleman
>>> patcoleman at me.com
>>> (301)-651-9573
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> ==================================
>>> Adrian Fish
>>> Software Engineer
>>> B66 Management School
>>> Lancaster University
>>> Lancaster
>>> LA1 4YW
>>> 
>>> http://www.sakaiproject.org
>>> http://confluence.sakaiproject.org/display/YAFT/Yaft
>>> http://confluence.sakaiproject.org/display/CLOG/Home
>>> http://confluence.sakaiproject.org/display/BBB/Home
>>> 
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
>>> with a subject of "unsubscribe"
>>> 
>> 
>> 
> 
> -- 
> ==================================
> Adrian Fish
> Software Engineer
> B66 Management School
> Lancaster University
> Lancaster
> LA1 4YW
> 
> http://www.sakaiproject.org
> http://confluence.sakaiproject.org/display/YAFT/Yaft
> http://confluence.sakaiproject.org/display/CLOG/Home
> http://confluence.sakaiproject.org/display/BBB/Home
> 

Patrick Coleman
patcoleman at me.com
(301)-651-9573






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111006/a8e30976/attachment.html 


More information about the sakai-dev mailing list