I’m having some issues with a client. I noticed that if I install a theme
package, everything works perfectly, until I redeploy once more. In that case,
all binary files cannot be found. Images, fonts, no mater if they are from the
DAM or from the Template Resources. This get fixed by forcing the theme to get
installed again.
[b]Problem[/b]
I think it has to do with the repository setup. Pages and configuration works,
but it seems that the repository for the images cannot be found, because it’s
being setup as a temporary repository, which by the next redeploy doesn't exist
anymore:
[code]
INFO info.magnolia.cms.beans.config.ConfigLoader 24.09.2013 11:58:03 -- JAAS
config file set by parent container or some other application
INFO info.magnolia.cms.beans.config.ConfigLoader 24.09.2013 11:58:03 --
Config in use
/home/jboss/standalone/tmp/vfs/tempf7b358aa4559c957/content-577ea89b502a8499/WEB-INF/config/jaas.config
INFO info.magnolia.cms.beans.config.ConfigLoader 24.09.2013 11:58:03 --
Please make sure JAAS config has all necessary modules (refer
config/jaas.config) configured
INFO info.magnolia.cms.beans.config.ConfigLoader 24.09.2013 11:58:03 --
Initializing content repositories
INFO info.magnolia.repository.DefaultRepositoryManager 24.09.2013 11:58:03 --
Loading JCR
INFO info.magnolia.repository.DefaultRepositoryManager 24.09.2013 11:58:03 --
Loading JCR magnolia
INFO info.magnolia.jackrabbit.ProviderImpl 24.09.2013 11:58:03 -- Loading
repository at
/home/jboss/standalone/tmp/vfs/tempf7b358aa4559c957/content-a9af2b4e519f9b85/repositories/magnolia
(config file:
/home/jboss/standalone/tmp/vfs/tempf7b358aa4559c957/content-a9af2b4e519f9b85/WEB-INF/config/repo-conf/jackrabbit-bundle-postgres-am-search.xml)
- cluster id: "<unset>"
WARN org.apache.jackrabbit.core.value.BLOBInDataStore 24.09.2013 11:58:07 --
getSize for f8406114ec64632fd8c7cc2935288ad1d63973dc failed
org.apache.jackrabbit.core.data.DataStoreException: Record
f8406114ec64632fd8c7cc2935288ad1d63973dc does not exist
[/code]
This error I get it when trying to open an image asset from the asset app.
[b]Attempt to fix[/b]
As the pages load, templates load, I figure it has to be a misconfigured
repository, I tried adding the dam, data, imaging and resources to the
repositories.xml to no effect
[code]
<RepositoryMapping>
<Map name="website" repositoryName="magnolia"
workspaceName="website" />
<Map name="resources" repositoryName="magnolia"
workspaceName="resources" />
<Map name="dam" repositoryName="magnolia" workspaceName="dam" />
<Map name="data" repositoryName="magnolia" workspaceName="data"
/>
<Map name="imaging" repositoryName="magnolia"
workspaceName="imaging" />
<Map name="config" repositoryName="magnolia"
workspaceName="config" />
<Map name="users" repositoryName="magnolia" workspaceName="users"
/>
<Map name="userroles" repositoryName="magnolia"
workspaceName="userroles" />
<Map name="usergroups" repositoryName="magnolia"
workspaceName="usergroups" />
<Map name="mgnlSystem" repositoryName="magnolia"
workspaceName="mgnlSystem" /> <!-- System internal data -->
<Map name="mgnlVersion" repositoryName="magnolia"
workspaceName="mgnlVersion" /> <!-- magnolia version workspace -->
</RepositoryMapping>
<!-- magnolia default repository -->
<Repository name="magnolia"
provider="info.magnolia.jackrabbit.ProviderImpl" loadOnStartup="true">
<param name="configFile"
value="${magnolia.repositories.jackrabbit.config}" />
<param name="repositoryHome"
value="${magnolia.repositories.home}/magnolia" />
<!-- the default node types are loaded automatically
<param name="customNodeTypes"
value="WEB-INF/config/repo-conf/nodetypes/magnolia_nodetypes.xml" />
-->
<param name="contextFactoryClass"
value="org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory" />
<param name="providerURL" value="localhost" />
<param name="bindName" value="${magnolia.webapp}" />
<workspace name="website" />
<workspace name="resources" />
<workspace name="dam" />
<workspace name="data" />
<workspace name="imaging" />
<workspace name="config" />
<workspace name="users" />
<workspace name="userroles" />
<workspace name="usergroups" />
<workspace name="mgnlSystem" />
<workspace name="mgnlVersion" />
</Repository>
[/code]
Any help could will be appreciated.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=3b609b75-29cf-48e5-81a6-d61fbaceb67e
You are invited to Magnolia Conference. Less than a month to go! Register now:
http://www.magnolia-cms.com/conference/register.html
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------