[Hippo-cms7-user] Content repository not initialised after upgrade

marijan milicevic m.milicevic at onehippo.com
Fri Nov 13 18:06:00 CET 2009


Hi Ronald,
fwiw:

there were some namespace changes in the latest release,
so, you'll need to update it, for example from:

<'hippostd'='http://www.hippoecm.org/hippostd/nt/1.3'>
<'hippo'='http://www.hippoecm.org/nt/1.3'>

to:

<'hippo'='http://www.onehippo.org/jcr/hippo/nt/2.0'>
<'hippostd'='http://www.onehippo.org/jcr/hippostd/nt/2.0'>

see also CMS upgrade documentation:

http://www.onehippo.org/cms7/learn/upgrading/2.08.xx+-%3E+2.09.xx.html

hth,
cheers,
marijan


Ronv wrote:
> Hi,
>
> I'm trying to upgrade my hippo install. But this fails somehow. Here is what
> I did:
>
> 1. I had a working hippo cms v2.03.00.
> 2. I updated the (top-level) pom.xml to the new versions (hippoecm.version
> ->2.09.02; hst.version -> 2.04.01)
> 3. Updated the pom.xml according to this page:
> http://www.onehippo.org/site-toolkit/upgrade/2.03.xx+to+2.03.14.html (but i
> am not sure if I did this correct?)
> 4. mvn clean install
> 5. cd cms; mvn jetty:run-war;
> 6. Then after some INFO messages the error come in:
>
> 13.11.2009 17:11:28 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():876]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/hst-addon-repository-2.04.01.jar!/hst-configuration.xml
> in '/' : javax.jcr.InvalidSerializedDataException: illegal node name:
> {http://www.jcp.org/jcr/sv/1.0}node: Unknown prefix: hst
> 13.11.2009 17:11:28 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/repository-1.01.00.jar!/hst-editor-namespace.xml
> in '/hippo:namespaces' : javax.jcr.nodetype.NoSuchNodeTypeException:
> {http://www.onehippo.org/jcr/hippo/nt/2.0}namespace
> 13.11.2009 17:11:28 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():876]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/repository-1.01.00.jar!/hst-editor-views.xml
> in '/hippo:configuration/hippo:frontend/cms' :
> javax.jcr.InvalidSerializedDataException: illegal node name:
> {http://www.jcp.org/jcr/sv/1.0}node: Unknown prefix: hst
> 13.11.2009 17:11:28 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():876]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/repository-1.01.00.jar!/hst-folder-views.xml
> in '/hippo:configuration/hippo:frontend/cms' :
> javax.jcr.InvalidSerializedDataException: illegal node name:
> {http://www.jcp.org/jcr/sv/1.0}node: Unknown prefix: hst
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodetypes():795]
> http://www.hippoecm.org/hippostd/nt/1.2: is not a registered namespace uri..
> In
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/training-types.cnd
> error for http://www.hippoecm.org/hst/nt/training/1.0:textpage
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/training-namespace.xml
> in '/hippo:namespaces' : javax.jcr.nodetype.NoSuchNodeTypeException:
> {http://www.onehippo.org/jcr/hippo/nt/2.0}namespace
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hst-content.xml
> in '/' : javax.jcr.nodetype.NoSuchNodeTypeException:
> {http://www.onehippo.org/jcr/hippostd/nt/2.0}fixeddirectory
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():876]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hst-content-live.xml
> in '/' : javax.jcr.InvalidSerializedDataException: illegal node type name:
> hst:sites: Unknown prefix: hst
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():876]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hst-content-preview.xml
> in '/' : javax.jcr.InvalidSerializedDataException: illegal node type name:
> hst:sites: Unknown prefix: hst
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hstconfiguration/sitemap.xml
> in '/hst:configuration/hst:configuration' : javax.jcr.NamespaceException:
> hst: is not a registered namespace prefix.
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hstconfiguration/sitemenus.xml
> in '/hst:configuration/hst:configuration' : javax.jcr.NamespaceException:
> hst: is not a registered namespace prefix.
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hstconfiguration/pages.xml
> in '/hst:configuration/hst:configuration' : javax.jcr.NamespaceException:
> hst: is not a registered namespace prefix.
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hstconfiguration/components.xml
> in '/hst:configuration/hst:configuration' : javax.jcr.NamespaceException:
> hst: is not a registered namespace prefix.
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/hstconfiguration/templates.xml
> in '/hst:configuration/hst:configuration' : javax.jcr.NamespaceException:
> hst: is not a registered namespace prefix.
> 13.11.2009 17:11:29 ERROR
> [org.hippoecm.repository.LocalHippoRepository.initializeNodecontent():888]
> Error initializing content for
> jar:file:/home/ronald/maven/training/cms/target/work/webapp/WEB-INF/lib/training-content-1.01.00.jar!/training-common.xml
> in '/content/training' : javax.jcr.nodetype.NoSuchNodeTypeException:
> {http://www.hippoecm.org/hst/nt/training/1.0}textpage
> 13.11.2009 17:11:30 WARN 
> [org.hippoecm.repository.RepositoryServlet.init():170] Started an RMI
> registry on port 1099
> 2009-11-13 17:11:30.155::INFO:  Started SelectChannelConnector at 0.0.0.0:8080
> [INFO] Started Jetty Server
> [INFO] Starting scanner at interval of 5 seconds.
>
> 7. Then if I login into the cms these errors appear:
>
> 13.11.2009 17:11:51 WARN 
> [org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.<init>():213]
> Search path not found: /content/documents
> 13.11.2009 17:11:52 WARN 
> [org.hippoecm.frontend.model.event.JcrEventListener.start():74] Not starting
> event listener for non existing path: /content/documents
> 13.11.2009 17:11:52 WARN 
> [org.hippoecm.frontend.model.event.JcrEventListener.start():74] Not starting
> event listener for non existing path: /content/gallery
> 13.11.2009 17:11:52 WARN 
> [org.hippoecm.frontend.model.event.JcrEventListener.start():74] Not starting
> event listener for non existing path: /content/assets
>
> 8. and in deed all content in the cms-gui is gone. No templates, no
> documents, no nothing.
>
> How come?
> Any help is welcome!
>
> -----
> Cheers,
>
> Ronald Verheul
> http://www.contentdokter.nl
>   


-- 
best regards,
marijan milicevic / developer
 
| || ||| || onehippo.com, amsterdam
Oosteinde 11
1017 WT Amsterdam
+31 (0) 20 522 4466 /T




More information about the Hippo-cms7-user mailing list