>
>
>
Hallo

Turning theory to practice I overtook the thread from the dev-list to
user-list ;-(
following lines shows the problems while trying to import a complete
sitegroup from one midgard system to another using repligard:

dheine@insight:~/midgard/midgard-data-test$ repligard -c repligard.conf
-i Bremgard-1.6.xml.gz
Message: Reading config file repligard.conf
Message: Importing Bremgard-1.6.xml.gz

** CRITICAL **: Error writing BLOB: cannot open file
/var/www/blobs/3/2/218a89b3edeac59b509428a5c1b4e2fa for writing

First I read the repligard README that tells how transfering of blobs
works. However the procedure there creates all blob dirs for the first
time. The blob dirs now already existed before and have  ownerships
equal to apache uid+gid
I shrugged and tried to give write access by doing temporary chmod g+w
on the required file. Then the error messages differs:

>dheine@insight:~/midgard/midgard-data-test$ repligard -c repligard.conf
-i Bremgard-1.6.xml.gz
>Message: Reading config file repligard.conf
>Message: Importing Bremgard-1.6.xml.gz

>REPLIGARD/READ-CRITICAL **: Failed to allocate delayed resource
d5103eefe1350478568aa951ebc55e9e as a link sitegroup for blobs.
>dheine@insight:~/midgard/midgard-data-test$

The former thread in the dev list kept advices from Emile, Alexander and
Armand. Though I had my doubts I am easy to convince again and open for
further hints. However I have no idea but got my doubts back. My doubt
is that repligard usually works with sets or databases from the same
midgard system and compatible GUIDs. Now the sitegroup in the second
midgard system has completely different GUIDs. You said that every
unknown resource will be created. This doesnot seem to be always true. A
mysql log shows how finally the select request for the missing resource
fails. Are some GUIDs from the source system where the xml file was
exported required ? Maybe the import fails just because blobs cannot be
imported ?

I want to thank Armand for his special advice. I followed his advice and
replacee every content of the 'changed' string with 0000-00-00. However
the result is the same. I know blobs may not be easy to be transfered.
Still a chance ?

dieter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to