[DG: Spanish Sakai] Migrar ficheros de la base de datos a sistema de ficheros

Israel Bru Montes ibru at campusviu.es
Mon Mar 3 08:13:31 PST 2014


Gracias por tu respuesta en cuanto pueda hago la modificacion.

Un saludo
El 03/03/2014 14:59, Alexandre Ballesté escribió:
> Hola, que no sea por esto
> https://jira.sakaiproject.org/browse/KNL-596
> o
> https://jira.sakaiproject.org/browse/KNL-164
>
> Saludos.
>
> Alex
>
> On 03/03/2014 02:27 PM, Israel Bru Montes wrote:
>> Gracias por las respuesta.
>>
>> Yo he estado también mirando y me he topado con lo mismo que 
>> comentas... problemas de permisos no son porque para evitar el 
>> problema lo he puesto todo como root y permisos de escritura.
>>
>> He visto que hay gente que ha modificado la forma de serializar los 
>> objetos de base de datos...
>>
>> Si encuentro la respuesta la pondré por aqui por si ha alguien le ha 
>> pasado lo mismo.
>>
>> Gracias por la ayuda. un saludo.
>>
>> El 03/03/2014 14:18, Diego del Blanco Orobitg escribió:
>>> Vaya... no se me ocurre nada en principio salvo comprobar los 
>>> permisos que tenga el tomcat para escribir en ese directorio que has 
>>> marcado "/data/sakai_files". Pero no creo que sea ese el problema.
>>>
>>> He visto en google que hay más gente a la que le ha pasado, pero son 
>>> mensajes muy antiguos y algunos ya no están disponibles.
>>>
>>> Yo preguntaría en la lista general en inglés a ver si alguien de los 
>>> que les ha pasado lo lee.
>>>
>>> Saludos
>>>
>>>
>>>
>>>
>>> El 3 de marzo de 2014, 2:46, Israel Bru Montes <ibru at campusviu.es 
>>> <mailto:ibru at campusviu.es>> escribió:
>>>
>>>     No me da error, me da un warning diciendo NUll xml...
>>>
>>>     2014-02-28 14:04:11,621  INFO main
>>>     org.sakaiproject.content.impl.DbContentService - convertToFile
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     2014-02-28 14:04:11,631  WARN main
>>>     org.sakaiproject.content.impl.DbContentService -
>>>     convertToFile(): null xml :
>>>     .
>>>     .
>>>     .
>>>     2014-02-28 14:04:11,677  INFO main
>>>     org.sakaiproject.content.impl.DbContentService - convertToFile:
>>>     converted resources: 0
>>>     2014-02-28 14:04:11,677  INFO main
>>>     org.sakaiproject.content.impl.DbContentService - convertToFile: done
>>>     2014-02-28 14:04:11,677  INFO main
>>>     org.sakaiproject.content.impl.DbContentService - init(): tables:
>>>     CONTENT_COLLECTION CONTENT_RESOURCE CONTENT_RESOURCE_BODY_BINARY
>>>     CONTENT_ENTITY_GROUPS locks-in-db: false bodyPath:
>>>     /data/sakai_files storage:
>>>     org.sakaiproject.content.impl.DbContentService$DbStorage at 179a22d
>>>
>>>     he estado mirando algo en los bugs de sakai, pero no he podido
>>>     encontrar la solución correcta.
>>>
>>>     El 28/02/2014 16:33, Diego del Blanco Orobitg escribió:
>>>>     En principio sí me parece correcto lo que pones. ¿No te
>>>>     funciona?  Tarda un buen rato en hacerlo dependiendo sobre todo
>>>>     del volumen de datos que tienes.  ¿Te da algún error?
>>>>
>>>>     Saludos
>>>>
>>>>
>>>>     2014-02-28 3:44 GMT-06:00 Israel Bru Montes <ibru at campusviu.es
>>>>     <mailto:ibru at campusviu.es>>:
>>>>
>>>>         Me gustaria saber si alguna ¿ha sido capaz de volcar todo
>>>>         los ficheros
>>>>         que se almacenan en la base de datos a sistema de ficheros?
>>>>         Estoy siguiendo las instrucciones que aparecen aqui sin
>>>>         mucho éxito:
>>>>         https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Binary+Content+and+Filesystem+Settings
>>>>
>>>>
>>>>         He activado las siguientes propiedades y reiniciado el
>>>>         tomcat en
>>>>         sakai.properties:
>>>>
>>>>         # The file system root for content hosting's external
>>>>         stored files
>>>>         (default is null, i.e. store them in the db)
>>>>         # see the readme file (2.2.7 File Based Content Hosting)
>>>>         for more details
>>>>         bodyPath at org.sakaiproject.content.api.ContentHostingService
>>>>         <mailto:bodyPath at org.sakaiproject.content.api.ContentHostingService>
>>>>         =
>>>>         /data/sakai_files
>>>>
>>>>         #Volcamos el contenido de la base de datos a ficheros
>>>>         convertToFile at org.sakaiproject.content.api.ContentHostingService=true
>>>>         <mailto:convertToFile at org.sakaiproject.content.api.ContentHostingService=true>
>>>>
>>>>         # When storing content hosting's body bits in files, an
>>>>         optional set of
>>>>         folders just within the bodyPath -
>>>>         # to act as volumes to distribute the files among - a comma
>>>>         separate
>>>>         list of folders.  If left out, no volumes will be used.
>>>>         # see the readme file (2.2.7 File Based Content Hosting)
>>>>         for more details
>>>>         bodyVolumes at org.sakaiproject.content.api.ContentHostingService
>>>>         <mailto:bodyVolumes at org.sakaiproject.content.api.ContentHostingService>
>>>>         =vol1
>>>>
>>>>         Gracias por vuestra colaboración.
>>>>         _______________________________________________
>>>>         spanish-sakai mailing list
>>>>         spanish-sakai at collab.sakaiproject.org
>>>>         <mailto:spanish-sakai at collab.sakaiproject.org>
>>>>         http://collab.sakaiproject.org/mailman/listinfo/spanish-sakai
>>>>
>>>>         TO UNSUBSCRIBE: send email to
>>>>         spanish-sakai-unsubscribe at collab.sakaiproject.org
>>>>         <mailto:spanish-sakai-unsubscribe at collab.sakaiproject.org>
>>>>         with a subject of "unsubscribe"
>>>>
>>>>
>>>>
>>>>
>>>>     -- 
>>>>     ***************************************
>>>>     *Diego del Blanco Orobitg*
>>>>     Spain & LATAM Regional Manager (/ANI Sakai/)
>>>>     Apereo LATAM Representative (/Apereo Foundation/)
>>>>
>>>>     P: (+34) 653 683 489 <tel:%28%2B34%29%20653%20683%20489>
>>>>     E: ddelblanco at anisakai.com <mailto:ddelblanco at anisakai.com>
>>>>     Sk: ddelblanco.ani
>>>>     ***************************************
>>>
>>>     -- 
>>>     Israel Bru
>>>     Departamento de Tecnologías y Sistemas
>>>     VIU Universidad
>>>     C/Gorgos, 5 y 7
>>>     46021 Valencia
>>>     t. 961.924.971
>>>     www.viu.es
>>>     <http://www.viu.es>
>>>
>>>     <http://www.viu.es> 	
>>>
>>>
>>>     Este mensaje (así como los archivos adjuntos o los links que
>>>     contiene) puede contener información privilegiada o
>>>     confidencial. Si no es usted el destinatario indicado, queda
>>>     notificado de que la utilización, divulgación y/o copia sin
>>>     autorización está prohibida en virtud de la legislación vigente.
>>>     Si ha recibido este mensaje por error, le rogamos que nos lo
>>>     comunique inmediatamente por esta misma vía y proceda a su
>>>     destrucción.
>>>
>>>     This email (and any attachments or hyperlinks within it) may
>>>     contain information that is confidential, legally privileged or
>>>     otherwise protected from disclosure. If you are not the intended
>>>     recipient of this email, you are not entitled to use, disclose,
>>>     distribute, copy, print, disseminate or rely on this email in
>>>     any way. If you have received this email in error, please notify
>>>     the sender immediately by telephone or email and destroy it, and
>>>     all copies of it.
>>>
>>>
>>>
>>>
>>>
>>> -- 
>>> ***************************************
>>> *Diego del Blanco Orobitg*
>>> Spain & LATAM Regional Manager (/ANI Sakai/)
>>> Apereo LATAM Representative (/Apereo Foundation/)
>>>
>>> P: (+34) 653 683 489
>>> E: ddelblanco at anisakai.com <mailto:ddelblanco at anisakai.com>
>>> Sk: ddelblanco.ani
>>> ***************************************
>>
>> -- 
>> Firma Israel Bru
>> Departamento de Tecnologías y Sistemas
>> VIU Universidad
>> C/Gorgos, 5 y 7
>> 46021 Valencia
>> t. 961.924.971
>> www.viu.es
>> <http://www.viu.es>
>>
>> <http://www.viu.es> 	
>>
>>
>> Este mensaje (así como los archivos adjuntos o los links que 
>> contiene) puede contener información privilegiada o confidencial. Si 
>> no es usted el destinatario indicado, queda notificado de que la 
>> utilización, divulgación y/o copia sin autorización está prohibida en 
>> virtud de la legislación vigente. Si ha recibido este mensaje por 
>> error, le rogamos que nos lo comunique inmediatamente por esta misma 
>> vía y proceda a su destrucción.
>>
>> This email (and any attachments or hyperlinks within it) may contain 
>> information that is confidential, legally privileged or otherwise 
>> protected from disclosure. If you are not the intended recipient of 
>> this email, you are not entitled to use, disclose, distribute, copy, 
>> print, disseminate or rely on this email in any way. If you have 
>> received this email in error, please notify the sender immediately by 
>> telephone or email and destroy it, and all copies of it.
>>
>>
>>
>>
>> _______________________________________________
>> spanish-sakai mailing list
>> spanish-sakai at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/spanish-sakai
>>
>> TO UNSUBSCRIBE: send email tospanish-sakai-unsubscribe at collab.sakaiproject.org  with a subject of "unsubscribe"
>
>
> -- 
> Alexandre Ballesté Crevillén  alexandre.balleste at udl.cat
> =====================
> University of Lleida
> Information and Communication Systems Service
> Analyst / Programmer
> Twitter: @sinmsinm
>
> Tlf: +34 973 702148
> Fax: +34 973 702130
> =====================
>
>
>
>
> _______________________________________________
> spanish-sakai mailing list
> spanish-sakai at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/spanish-sakai
>
> TO UNSUBSCRIBE: send email to spanish-sakai-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-- 
Firma Israel Bru
Departamento de Tecnologías y Sistemas
VIU Universidad
C/Gorgos, 5 y 7
46021 Valencia
t. 961.924.971
www.viu.es
<http://www.viu.es>

<http://www.viu.es> 	


Este mensaje (así como los archivos adjuntos o los links que contiene) 
puede contener información privilegiada o confidencial. Si no es usted 
el destinatario indicado, queda notificado de que la utilización, 
divulgación y/o copia sin autorización está prohibida en virtud de la 
legislación vigente. Si ha recibido este mensaje por error, le rogamos 
que nos lo comunique inmediatamente por esta misma vía y proceda a su 
destrucción.

This email (and any attachments or hyperlinks within it) may contain 
information that is confidential, legally privileged or otherwise 
protected from disclosure. If you are not the intended recipient of this 
email, you are not entitled to use, disclose, distribute, copy, print, 
disseminate or rely on this email in any way. If you have received this 
email in error, please notify the sender immediately by telephone or 
email and destroy it, and all copies of it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/spanish-sakai/attachments/20140303/cd24140d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3117 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/spanish-sakai/attachments/20140303/cd24140d/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3117 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/spanish-sakai/attachments/20140303/cd24140d/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iaibjcfi.png
Type: image/png
Size: 3117 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/spanish-sakai/attachments/20140303/cd24140d/attachment-0005.png 


More information about the spanish-sakai mailing list