[Building Sakai] MySql binary files to File Server hosting conversion

Steve Swinsburg steve.swinsburg at gmail.com
Tue Mar 9 17:31:53 PST 2010


Hi all,

This issue is now resolved for 2.5.x. Patch attached. I have also committed the fix to the 2.5.x branch.



Nawaz, if you apply this patch to your source code:

cd SAKAI-SRC/content
patch -p0 --dry-run < /path/to/patch/file

then if no hunks fail:
patch -p0 < /path/to/patch/file

and build the content module:
mvn clean install sakai:deploy -Dmaven.tomcat.home=/path/to/your/tomcat

The conversion should work for you.

Before starting up though, delete the directories that were made on disk, and also clear the FILE_PATH fields in the CONTENT_RESOURCE table, so the few files that were converted are reconverted: update CONTENT_RESOURCE set FILE_PATH = null;

Note: The binary remains in the database in the CONTENT_RESOURCE_BODY_BINARY table. This can removed when everything is working.

cheers,
Steve

On 10/03/2010, at 11:52 AM, Steve Swinsburg wrote:

> Hi Nawaz,
> 
> Seth has hit the nail on the head, this is the problem. I have confirmed this on my local 2.5.x instance.  
> 
> Working on a fix.
> 
> cheers,
> Steve
> 
> 
> 
> On 10/03/2010, at 10:31 AM, Seth Theriault wrote:
> 
>> Nawaz Azam wrote:
>> 
>>> I have done that. I sent the catalina.out file. Were you 
>>> able to get it.  Where else should I look for these log 
>>> files. Would they be in /opt/tomcat/logs/ or somewhere else?
>> 
>> After looking back over this thread, it looks as though you 
>> have run into:
>> 
>> http://jira.sakaiproject.org/browse/SAK-16146
>> 
>> It affects Sakai 2.5.3, the version you are running, and the 
>> fix implemented here for 2.6+:
>> 
>> http://jira.sakaiproject.org/browse/KNL-164
>> 
>> hasn't been backported yet to the 2.5 branches.
>> 
>> Seth
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100310/a6548303/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SAK-16146-2.5.x.patch
Type: application/octet-stream
Size: 10429 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100310/a6548303/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100310/a6548303/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3689 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100310/a6548303/attachment.bin 


More information about the sakai-dev mailing list