Joern Nettingsmeier wrote:
> hi andreas, hi everyone!
> 
> it seems that the migration target does not properly add uuids to the
> sitemap.xml in the live area. authoring is ok.
> 
> this leads to all kinds of confusing errors in the authoring area.
> 
> can anyone confirm this behaviour?

a quick fix is to nuke the entire live area and re-publish:

rm -r <pub>/content/live/*
echo '
<?xml version="1.0" encoding="UTF-8"?>
<site xmlns="http://apache.org/cocoon/lenya/sitetree/1.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://apache.org/cocoon/lenya/sitetree/1.0
../../../../resources/entities/sitetree.xsd">
</site>
' > <pub>/content/live/sitemap.xmap

for i in `find <pub>/content/authoring -name *meta`; do sed -i \
's/is_live=true/is_live=false/g' $i ; done


-- 
"I don't need backups. I need restore!" - Trad.

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736


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

Reply via email to