玉兰全新安装

Magnolia fresh installation

我正在尝试在 Postgres 上安装 Magnolia 6.2.17。 我已适当更改“jackrabbit-bundle-postgres-search.xml”以指向 Postgres 服务器(表在数据库中创建)

在“core”模块安装,引导后 [mgnl-bootstrap/core/config.server.security.xml] 等等ObservedComponentFactory:从节点 /server/security

重新加载 info.magnolia.cms.security.SecuritySupport

我有这个错误(有时是“/admin”,有时是“/system”)

ERROR info.magnolia.cms.security.SystemUserManager     : Failed to get system user [superuser], will try to create new system user with default password 
ERROR info.magnolia.cms.security.MgnlUserManager       : Could not retrieve user with name: superuser
javax.jcr.PathNotFoundException: /admin
        at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:576) ~[jackrabbit-core-2.20.4.jar:2.20.4]
        at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:129) ~[jackrabbit-core-2.20.4.jar:2.20.4]
        at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:125) ~[jackrabbit-core-2.20.4.jar:2.20.4]
        at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187) ~[jackrabbit-core-2.20.4.jar:2.20.4]
        at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) ~[jackrabbit-core-2.20.4.jar:2.20.4]
        at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:363) ~[jackrabbit-core-2.20.4.jar:2.20.4]
        at org.apache.jackrabbit.core.SessionImpl.getNode(SessionImpl.java:1151) ~[jackrabbit-core-2.20.4.jar:2.20.4]
        at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.cms.security.MgnlUserManager.findPrincipalNode(MgnlUserManager.java:320) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.cms.security.MgnlUserManager.getUser(MgnlUserManager.java:263) ~[magnolia-core-6.2.17.jar:?]
        at info.magnolia.cms.security.MgnlUserManager.getUser(MgnlUserManager.java:242) [magnolia-core-6.2.17.jar:?]

在嵌入式 H2 上安装 Magnolia 就可以了。

有人可以帮助我吗?

谢谢

这个问题将在下一个版本 6.2.18 中修复。请参阅 https://jira.magnolia-cms.com/browse/MAGNOLIA-8284