[DG: Spanish Sakai] Migrar ficheros de la base de datos a sistema de ficheros
Diego del Blanco Orobitg
diego.delblanco.sakai at gmail.com
Mon Mar 3 05:18:27 PST 2014
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> 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>:
>
>> 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 =
>> /data/sakai_files
>>
>> #Volcamos el contenido de la base de datos a ficheros
>> 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 =vol1
>>
>> Gracias por vuestra colaboración.
>> _______________________________________________
>> 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"
>>
>
>
>
> --
> ***************************************
> *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
> 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>
>
>
> 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
Sk: ddelblanco.ani
***************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/spanish-sakai/attachments/20140303/67c33a15/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aahfhhdd.png
Type: image/png
Size: 3117 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/spanish-sakai/attachments/20140303/67c33a15/attachment-0001.png
More information about the spanish-sakai
mailing list