cancel
Showing results for 
Search instead for 
Did you mean: 

Node does not exist: user

cariou
Champ in-the-making
Champ in-the-making
Hi,

restoring a backup (db+alf_data), I have the following error on startup :
____________________________________________

10:34:15,580 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: user://alfrescoUserStore/267d3a82-01c1-11dd-894e-93d7bcd8db98
        at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:131)

_______________________________________________

I took a look at the "alf_node" and "alf_node_status" table and there's no row for the node referred.

So, where is this User node reference coming from ?

Precision : My users and groups are synch. from a Active Directory via LDAP. Is it possible that a new user came from the AD, but never had a Userstore ? How is made the relation between the "alf_authority" table and the nodes ?

Help please as i can restart my Alfresco…
16 REPLIES 16

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

Try rebuilding the index by setting/adding the below property in custom-repository.properties.


# ######################################### #
# Index Recovery and Tracking Configuration #
# ######################################### #
#
# Recovery types are:
#    NONE:     Ignore
#    VALIDATE: Checks that the first and last transaction for each store is represented in the indexes
#    AUTO:     Validates and auto-recovers if validation fails
#    FULL:     Full index rebuild, processing all transactions in order.  The server is temporarily suspended.
index.recovery.mode=FULL



Regards,
Shagul

archana_bonkanp
Champ in-the-making
Champ in-the-making
Hi we also got the same error.Node does not exist
but instead of user we got for spacestore.please find below error and suggest us what to do accordingly


16:47:08,971 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.ftsIndexerJobDetail threw an unhandled Exception:
org.alfresco.service.cmr.repository.InvalidNodeRefException:
Node does not exist: archive://SpacesStore/6cb8f610-ddf1-11dc-823f-8955d6c40d71
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:131)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.hasAspect(DbNodeServiceImpl.java:672)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.prependPaths(DbNodeServiceImpl.java:1369)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.prependPaths(DbNodeServiceImpl.java:1462)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getPaths(DbNodeServiceImpl.java:1498)
   at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.alfresco.repo.transaction.TransactionResourceInterceptor.invoke(TransactionResourceInterceptor.java:144)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy2.getPaths(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy3.getPaths(Unknown Source)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocuments(ADMLuceneIndexerImpl.java:527)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1286)
   at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy9.index(Unknown Source)
   at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
16:47:09,112 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.ftsIndexerJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: archive://SpacesStore/6cb8f610-ddf1-11dc-823f-8955d6c40d71]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: archive://SpacesStore/6cb8f610-ddf1-11dc-823f-8955d6c40d71
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:131)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.hasAspect(DbNodeServiceImpl.java:672)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.prependPaths(DbNodeServiceImpl.java:1369)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.prependPaths(DbNodeServiceImpl.java:1462)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getPaths(DbNodeServiceImpl.java:1498)
   at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.alfresco.repo.transaction.TransactionResourceInterceptor.invoke(TransactionResourceInterceptor.java:144)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy2.getPaths(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy3.getPaths(Unknown Source)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocuments(ADMLuceneIndexerImpl.java:527)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1286)
   at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy9.index(Unknown Source)
   at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

archana_bonkanp
Champ in-the-making
Champ in-the-making
we refered to the tables alf_node_status and alf_node tables
the record exists for that node

In alf_node
id   version   protocol   identifier                             uuid                       type_qname   acl_id
329611   2   archive   SpacesStore   6cb8f610-ddf1-11dc-823f-8955d6c40d71   {http://www.alfresco.org/model/content/1.0}folder   \N


IN alf_node_status

protocol   identifier                       guid                                version   transaction_id   node_id
workspace   SpacesStore   6cb8f610-ddf1-11dc-823f-8955d6c40d71   1   56359                      \N
archive   SpacesStore   6cb8f610-ddf1-11dc-823f-8955d6c40d71   0   56442                         \N

we got the following error

job DEFAULT.ftsIndexerJobDetail threw an unhandled Exception:
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: archive://SpacesStore/6cb8f610-ddf1-11dc-823f-8955d6c40d71

peter11
Champ in-the-making
Champ in-the-making
Hi,

I have got the same problem. There are error messages in alfresco.log like this one:



09:32:51,815 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: user://alfrescoUserStore/cbf6b21a-6e89-11dd-bf54-f14355f347bd
        at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:138)


I have alfresco database stored in MySQL database. I needed to move the database a different server. I did the follwing steps:
1. I stopped Alfresco
2. dumped the alfresco database
3. restored the database to the new server
4. pointed alfresco to the new server
5. started alfresco

The alfresco did not come up because the alfresco user could not log into the database from that server. I granted the user the correct privileges and started Alfresco again.

After that I logged into Alfreso and copied a couple of files via CIFS and it was working fine. After some time the errors above started to appear in the alfresco.log and now, nobody can log in and the error message is logged.
I noticed there is the same error message when the user accounts are synchronised from LDAP.

I have got the backup of the database from the original mysql server, but I do not have any backup of dir.root.

Is there any way how solve this issue or is everything what was in Alfresco gone and I can start from the beginning?

dogwalker
Champ in-the-making
Champ in-the-making
Has anyone posted a solution to this issue?  I have never been able to restore from a hot backup, only a cold backup.

I am having the exact same issue upon  startup while trying to restore from a hot-backup.  I followed the hotbackup procedure on:
http://wiki.alfresco.com/wiki/Backup_and_Restore

Tomcat log:
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: user://alfrescoUserStore/89fe98d2-2562-11de-a683-f5cf7717280d
        at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:131)
        at org.alfresco.repo.node.db.DbNodeServiceImpl.getParentAssocs(DbNodeServiceImpl.java:1143)
        at org.alfresco.repo.node.AbstractNodeServiceImpl.getParentAssocs(AbstractNodeServiceImpl.java:580)
        at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
        at org.alfresco.repo.transaction.TransactionResourceInterceptor.invoke(TransactionResourceInterceptor.java:138)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
        at $Proxy2.getParentAssocs(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
        at $Proxy3.getParentAssocs(Unknown Source)

ericj
Champ in-the-making
Champ in-the-making
Has anyone solved this issue ?
We also have this error :
INFO  [node.index.FullIndexRecoveryComponent] Récupération de lindex débutée : {0} transactions.
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/a3ab5223-3464-11dc-ba64-ff855e7fa4b3
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:120)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getType(DbNodeServiceImpl.java:520)
   at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:213)
   at $Proxy2.getType(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:41)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:210)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:156)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:61)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy13.getType(Unknown Source)
   at org.alfresco.repo.webservice.repository.ResultSetQuerySession.getNextResultsBatch(ResultSetQuerySession.java:110)
   at org.alfresco.repo.webservice.repository.RepositoryWebService.query(RepositoryWebService.java:189)

ivan_plestina
Champ in-the-making
Champ in-the-making
Do a full index rebuild but clear the contents of the lucene-indexes folder before you start alfresco.

rama_honge
Champ in-the-making
Champ in-the-making
I got the same error, and did a full index rebuild as suggested, but this did not resolve the issue.

ericj - Were you able to fix this with full index rebuild?

ivan_plestina
Champ in-the-making
Champ in-the-making
I got the same error, and did a full index rebuild as suggested, but this did not resolve the issue.

ericj - Were you able to fix this with full index rebuild?
Did you delete lucene-indexes folder before reindexing?