cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Community 5.1 does not start: Unable to find transfer home: /app:company_home/app:dictionary/app:transfers/app:transfer_groups

vladorange
Champ in-the-making
Champ in-the-making

Hi

We are considering using Alfresco Community, and after installation we have imported about 40 Gb documents to the Alfresco repository and tried to work.

There were some configurations performed in the meantime. One of the configuration done was configuring file transfer module (hoping to export repository as files for Day Zero, in addition to backup).

Frankly speaking, I do not remember exactly what steps led to the following situation, but all of a sudden Alfresco stopped to deploy and became unavailable.

Database+repository were restored from recent backup, but it did not help. Alfresco simply does not start, and not available, same with share.

I could do something wrong (working via Web-interface only although).

The situation is critical for us as we become afraid that if we work in production, and if someone carries out some configuration being admin, then the Alfresco might stop working.

And then we will not be able to restore backup and continue working. Just like the situation we have now.

I spent two days trying to google the solution, nothing works.

Paths in alfresco-global.properties are fine and correct. No permission issues. Postgres is available and all database tables seem to contain my data.

I bet there is something in database that stops and blocks Alfresco from loading...

I appreciate any advice or hint or instruction on what is wrong and what can we do to fix it.

I am looking even for the disaster recovery plan that will allow to have access to repository and all documents (including their history) via regular Alfresco interface

Here are the details of what we have:

Alfresco Community (Build: 201605)  - Alfresco Platform: 5.1.g   - Alfresco Share: 5.1.f

Running on Windows 2008 R2 /64 bit , Postgres 9.4.4 from the box (everything runs on one server)

Users working via HTTPS with valid issued certificate.

Authentication passthru with Windows domain, but no changes if I switch to alfrescoNtlm1:alfrescoNtlm

Calalina log with error:

Oct 27, 2016 8:09:53 PM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.x

Oct 27, 2016 8:09:53 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor D:\alfresco-community\tomcat\conf\Catalina\localhost\alfresco.xml

Oct 27, 2016 8:10:31 PM org.apache.catalina.core.StandardContext startInternal

SEVERE: Error listenerStart

Oct 27, 2016 8:10:31 PM org.apache.catalina.core.StandardContext startInternal

SEVERE: Context [/alfresco] startup failed due to previous errors

alfrescotomcat-stderr.2016-10-27.log with one of error:

Oct 27, 2016 8:10:29 PM org.apache.catalina.core.StandardContext listenerStart

SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener

org.alfresco.service.cmr.transfer.TransferException: 09270001 Unable to find transfer home: /app:company_home/app:dictionary/app:transfers/app:transfer_groups

  at org.alfresco.repo.transfer.TransferServiceImpl2.getTransferHome(TransferServiceImpl2.java:1203)

  at org.alfresco.repo.transfer.TransferServiceImpl2.getDefaultGroup(TransferServiceImpl2.java:257)

  at org.alfresco.repo.transfer.TransferServiceImpl2.lookupTransferTarget(TransferServiceImpl2.java:1238)

  at org.alfresco.repo.transfer.TransferServiceImpl2.createTransferTarget(TransferServiceImpl2.java:215)

  at org.alfresco.repo.transfer.TransferServiceImpl2.createAndSaveTransferTarget(TransferServiceImpl2.java:203)

  at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.PublishBootstrap$Lifecycle$1.doWork(PublishBootstrap.java:89)

  at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)

  at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.PublishBootstrap$Lifecycle.onBootstrap(PublishBootstrap.java:73)

  at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)

  at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.PublishBootstrap.onApplicationEvent(PublishBootstrap.java:62)

Alfresco.log with errors, switched to debug logging:

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.node.MLPropertyInterceptor] [localhost-startStop-1] Intercepting method getParentAssocs using content filter en_US

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.service.StoreRedirectorProxyFactory] [localhost-startStop-1] Redirecting method public abstract java.util.List org.alfresco.service.cmr.repository.NodeService.getParentAssocs(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException based on store type workspace://SpacesStore

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.node.MLPropertyInterceptor] [localhost-startStop-1] Intercepting method getType using content filter en_US

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.service.StoreRedirectorProxyFactory] [localhost-startStop-1] Redirecting method public abstract org.alfresco.service.namespace.QName org.alfresco.service.cmr.repository.NodeService.getType(org.alfresco.service.cmr.repository.NodeRef) throws org.alfresco.service.cmr.repository.InvalidNodeRefException based on store type workspace://SpacesStore

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.node.MLPropertyInterceptor] [localhost-startStop-1] Intercepting method hasAspect using content filter en_US

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.service.StoreRedirectorProxyFactory] [localhost-startStop-1] Redirecting method public abstract boolean org.alfresco.service.cmr.repository.NodeService.hasAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidAspectException based on store type workspace://SpacesStore

2016-10-27 20:10:29,405 DEBUG [org.alfresco.util.transaction.TransactionSupportUtil] [localhost-startStop-1] Bound resource:

   key: org.alfresco.repo.lock.mem.LockStoreImpl.repeatableReadMap

   resource: {}

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.node.MLPropertyInterceptor] [localhost-startStop-1] Intercepting method hasAspect using content filter en_US

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.service.StoreRedirectorProxyFactory] [localhost-startStop-1] Redirecting method public abstract boolean org.alfresco.service.cmr.repository.NodeService.hasAspect(org.alfresco.service.cmr.repository.NodeRef,org.alfresco.service.namespace.QName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException,org.alfresco.service.cmr.dictionary.InvalidAspectException based on store type workspace://SpacesStore

2016-10-27 20:10:29,405 DEBUG [org.alfresco.repo.node.index.NodeIndexer] [localhost-startStop-1] indexUpdateNode: workspace://SpacesStore/rendering_actions_space

java.lang.Exception: Stack Trace

  at org.alfresco.repo.node.index.NodeIndexer.indexUpdateNode(NodeIndexer.java:108)

  at org.alfresco.repo.node.db.DbNodeServiceImpl$AuditableTransactionListener$1.execute(DbNodeServiceImpl.java:3254)

  at org.alfresco.repo.node.db.DbNodeServiceImpl$AuditableTransactionListener$1.execute(DbNodeServiceImpl.java:1)

  at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)

  at org.alfresco.repo.node.db.DbNodeServiceImpl$AuditableTransactionListener.processSingle(DbNodeServiceImpl.java:3262)

  at org.alfresco.repo.node.db.DbNodeServiceImpl$AuditableTransactionListener.process(DbNodeServiceImpl.java:3175)

  at org.alfresco.repo.node.db.DbNodeServiceImpl$AuditableTransactionListener.afterCommit(DbNodeServiceImpl.java:3162)

  at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.afterCompletion(TransactionSupportUtil.java:597)

  at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)

.....

....

2016-10-27 20:10:31,355 DEBUG [org.apache.myfaces.shared_impl.util.StateUtils] [localhost-startStop-1] generated random password of length 8

2016-10-27 20:10:31,355 DEBUG [org.apache.myfaces.shared_impl.util.StateUtils] [localhost-startStop-1] Storing SecretKey @ org.apache.myfaces.MAC_SECRET.CACHE

2016-10-27 20:10:31,355 DEBUG [org.apache.myfaces.shared_impl.util.StateUtils] [localhost-startStop-1] Using algorithm HmacSHA1

2016-10-27 20:10:31,355 DEBUG [org.apache.myfaces.shared_impl.util.StateUtils] [localhost-startStop-1] generated random mac password of length 64

2016-10-27 20:10:31,386 DEBUG [org.alfresco.repo.management.SafeApplicationEventMulticaster] [localhost-startStop-1] [org.alfresco.repo.management.subsystems.DefaultPropertyBackedBeanRegistry@12bda708, org.alfresco.repo.dictionary.DictionaryDAOImpl@71072156, org.alfresco.repo.management.subsystems.SwitchableApplicationContextFactory@5f3d6b63, org.alfresco.repo.search.impl.solr.SolrChildApplicationContextFactory@abf1e8d, org.alfresco.repo.search.impl.solr.SolrChildApplicationContextFactory@6c5236cf, org.alfresco.repo.management.subsystems.LuceneChildApplicationContextFactory@3730c9b5, org.alfresco.repo.management.subsystems.NoIndexChildApplicationContextFactory@7bf84600, org.alfresco.repo.security.permissions.impl.PermissionServiceImpl@7f37fb9e, org.alfresco.repo.security.permissions.dynamic.LockOwnerDynamicAuthority@3dfac6c0, org.alfresco.repo.management.subsystems.CryptodocSwitchableApplicationContextFactory@4dc7b11a, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@48ffd121, FileContentStore[ root=D:\ALFRES~1\alf_data\contentstore.deleted, allowRandomAccess=true, readOnly=false], org.springframework.extensions.config.xml.XMLConfigService@65be0449, org.springframework.extensions.config.xml.XMLConfigService@46c71311, org.alfresco.ibatis.HierarchicalSqlSessionFactoryBean@63f68369, org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager@bd3442, org.alfresco.repo.shutdown.ShutdownBackstop@539febdd, org.alfresco.repo.admin.RepositoryStartBootstrapBean@4449fa3f, org.alfresco.repo.domain.schema.SchemaBootstrap@58ca0e06, org.alfresco.repo.admin.UnserializerValidatorBootstrap@9e9534b, org.alfresco.encryption.EncryptionChecker@4195d586, org.alfresco.repo.node.index.NodeIndexer@876eeb7, org.alfresco.encryption.BootstrapReEncryptor@3093d7b, org.alfresco.repo.importer.system.SystemInfoBootstrap@1416c164, org.alfresco.repo.importer.ImporterBootstrap@1e4cbef7, org.alfresco.repo.importer.ImporterBootstrap@7d4cd515, org.alfresco.repo.importer.ImporterBootstrap@54e4aaa0, org.alfresco.repo.importer.ImporterBootstrap@2f4c9929, org.alfresco.repo.importer.ImporterBootstrap@d736045, org.alfresco.repo.importer.ImporterBootstrap@7633dc1a, org.alfresco.repo.importer.ImporterBootstrap@21d76d19, org.alfresco.repo.importer.ImporterBootstrap@773d9d6, org.alfresco.repo.importer.ImporterBootstrap@4cbd8dc0, org.alfresco.repo.workflow.WorkflowDeployer@2bc5bbe4, org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap@3d650261, org.alfresco.repo.descriptor.DescriptorServiceImpl@30cefc2d, org.alfresco.repo.tenant.MultiTenantBootstrap@6304904d, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@5db0458a, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@7fa02618, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@2ae5c625, ConfigurationChecker[indexRecoveryMode=VALIDATE], org.alfresco.repo.admin.patch.PatchExecuter@3b79bdf5, org.alfresco.repo.admin.patch.OptionalPatchApplicationCheckBootstrapBean@35ea1c6e, org.alfresco.repo.admin.patch.OptionalPatchApplicationCheckBootstrapBean@165bebc9, org.alfresco.repo.module.ModuleStarter@381c4bde, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@5452d0b8, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@58e3740e, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@1cf2b315, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@c2907f, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@4c3642e4, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@533e4be8, org.alfresco.util.SchedulerStarterBean@60670221, org.alfresco.repo.usage.UserUsageTrackingComponent@4c0b2550, org.alfresco.repo.security.person.HomeFolderProviderSynchronizer@6ce0a9cf, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@2aec4546, org.alfresco.repo.audit.model.AuditModelRegistryImpl@2d47ea37, org.alfresco.repo.site.SiteServiceBootstrap@2bc80c2a, org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap@67159d63, org.alfresco.repo.admin.RepositoryEndBootstrapBean@35d88bcc, org.alfresco.repo.webdav.WebDavBootstrap@3583e7ba, org.alfresco.repo.descriptor.DescriptorStartupLog@69d5cafc, org.alfresco.repo.workflow.activiti.ActivitiEngineInitializer@6eb2d420, org.alfresco.repo.admin.RepoAdminInterpreter@3e654490, org.alfresco.repo.workflow.WorkflowInterpreter@4df90ecb, org.alfresco.repo.workflow.WorkflowDeployer@6dc0a0e0, org.alfresco.repo.site.SiteServiceImpl@47ca6829, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@6af52918, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@4a31a105, org.alfresco.repo.thumbnail.ThumbnailRegistry@75bad7de, org.alfresco.opencmis.dictionary.CMISStrictDictionaryService@71cdc37f, org.alfresco.opencmis.dictionary.CMISStrictDictionaryService@3da5e667, org.alfresco.opencmis.CMISConnector@35ead0ab, org.alfresco.repo.workflow.WorkflowDeployer@6f5e8aa, org.alfresco.repo.search.impl.solr.facet.SolrFacetConfig@45f36279, org.alfresco.repo.search.impl.solr.facet.SolrFacetServiceImpl@36d76409, org.alfresco.repo.importer.ImporterBootstrap@396bb6f4, org.alfresco.repo.importer.ImporterBootstrap@422aad8e, org.alfresco.repo.importer.ImporterBootstrap@7b759af5, org.alfresco.repo.importer.ImporterBootstrap@135ae2db, org.alfresco.repo.importer.ImporterBootstrap@77e22a52, org.alfresco.repo.importer.ImporterBootstrap@60b3bffd, org.alfresco.repo.tenant.TenantInterpreter@3feecb5, org.alfresco.module.org_alfresco_module_wcmquickstart.rendition.RenditionBootstrap@35356083, org.alfresco.module.org_alfresco_module_wcmquickstart.publish.PublishBootstrap@38cfcae1, org.alfresco.repo.workflow.WorkflowDeployer@1d82da03, org.springframework.extensions.config.xml.XMLConfigService@62c8e7b9, org.springframework.extensions.webscripts.SearchPath@269f6de1, org.springframework.extensions.webscripts.SearchPath@4af6f052, org.alfresco.repo.web.scripts.TenantRepositoryContainer@3d1b0bf2, org.springframework.extensions.webscripts.processor.FTLTemplateProcessor@64d12b89, org.springframework.extensions.webscripts.processor.JSScriptProcessor@56ef162a, org.springframework.extensions.webscripts.servlet.mvc.WebScriptViewResolver@5840ddef, org.alfresco.repo.management.subsystems.ChildApplicationContextFactory@4c17c4c2, org.alfresco.opencmis.dictionary.CMISDictionaryReload@5add2f5c, org.springframework.extensions.config.xml.XMLConfigService@1f308e7c, org.alfresco.repo.web.scripts.RepositoryTemplateProcessor@593de717, org.springframework.extensions.webscripts.SearchPath@6fa508bf, org.springframework.extensions.webscripts.SearchPath@17e93fe4, org.alfresco.rest.api.PublicApiRepositoryContainer@47ee9c57, org.alfresco.rest.framework.core.ApiBootstrap@1bb2987b, org.alfresco.rest.api.impl.activities.BaseActivitySummaryProcessor@53928799, org.alfresco.rest.api.impl.activities.BaseActivitySummaryProcessor@ebea61c, org.alfresco.rest.api.impl.activities.SiteActivitySummaryProcessor@58fe6a3d, org.alfresco.rest.api.impl.activities.DiscussionsActivitySummaryProcessor@64624b4c, org.alfresco.rest.api.impl.activities.SubscriptionsActivitySummaryProcessor@385364e6, org.alfresco.rest.api.impl.activities.BaseActivitySummaryProcessor@1be05338, org.alfresco.repo.bulkimport.impl.stores.DefaultContentStoreMapProvider@6b283c5d]

2016-10-27 20:10:31,386 DEBUG [org.alfresco.repo.security.authentication.AuthenticationUtil] [localhost-startStop-1] MT is enabled: false

2016-10-27 20:10:31,386 WARN  [org.springframework.web.context.support.XmlWebApplicationContext] [localhost-startStop-1] Exception thrown from ApplicationListener handling ContextClosedEvent

java.lang.NullPointerException

  at org.springframework.extensions.config.xml.XMLConfigService.removeElementReaders(XMLConfigService.java:504)

  at org.springframework.extensions.config.xml.XMLConfigService.destroy(XMLConfigService.java:150)

  at org.springframework.extensions.config.BaseConfigService.onShutdown(BaseConfigService.java:630)

  at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:67)

  at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:207)

Thanks in advance for any help.

3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator

Try to run alfresco after uninstalling wcmquickstart

Uninstalling the AMP file | Alfresco Documentation

Also based on errors it seems like  because of file transfer job which you might have configured.

afaust
Legendary Innovator
Legendary Innovator

Did anyone by any chance delete or rename a folder within the "Data Dictionary" folder, or rename the "Data Dictionary" itself? The error clearly states a path lookup failed and this can only be the result (if it worked before) if something change with regards to that path. Unfortunately, admin access allows you to rename or delete stuff in there, since most of the folders are just referenced by configured path expressions and the software wouldn't know which to lock from such changes.

Did you try other backups as a basis to start again?

vladorange
Champ in-the-making
Champ in-the-making

@Axel Faust, The only changes within Data Dictionary folder were related to File Transfer configuration.

I did a sequence of magic actions - creation of folder, changing its type, configuring transfer job and trying to run it several times.

In fact, the job ran several times with error and only one time with success, but no files were created.

It may happen that something was configured incorrectly with the transfer job.

Earlier we made couple of backups (including both DB and contentstore, excluding sol4 folders), and after the restore was done, the situation still persists.

Based on this I assume that either there was some change to configuration, that along with changes to the repository made System unavailable.

@Mittal Patoliya, In fact it can be the transfer job. I am 70% sure it was.

I wish I could remove/switch it off, but I cannot connect to Alfresco to do it.

This is what I am looking for - kind of Disaster Recovery. Is it possible to open a DB table and remove/change records related to this job? What could be the tables and criterias for the change?

I understand that a person who made a corrupted backup does not deserve much.

But from logical point of view, improper configuration of Data dictionary subfolders or some incorrect job should not block the startup of the entire system and block the rest of available repository (which seems to be on the place).

Assuming this, I wonder if there is some parameter to disable such behaviour, to get access to Shared folder/Sites?

I found parameters as:

system.bootstrap.config_check.strict=false

system.integrity.enabled=false

# Do integrity violations fail transactions

# WARNING: Changing this is unsupported; bugs may corrupt data

system.integrity.failOnViolation=false

transferservice.receiver.enabled=false

But they do not seem to give any effect (if I use them correctly).

P.S. Finally it is done:

- I have reinstalled alfresco

- installed AMPs

- removed wcmquickstart module

- imported db and restored contentstorage

and it took off. No idea why :-((

In the folder Data Dictionary the folder Transfer Groups disappeared (was deleted, definitely).

But anyway it launched. And the Data are available

Thank you for the help, really! Appreciate your prompt recommendations very much!

There are some minor issues I am going to solve (such as message "Alfresco is running without Share Services. See your System Administrator for more details." on home page of the logged in user). It disappears then.

What do you thing could be the reason for that?