We were upgrading to a newer version of Confluence on a Windows VM and everything appeared to install correctly until we tried to run Confluence. We got the error ERR_CONNECTION_REFUSED and Atlassian\Application Data\Confluence\ was empty.
Any ideas?
Jim
Jim,
Does the same happen on multiple browsers? If you clear your cache and try from Incognito Mode, do you have the same error?
This error is generally a browser error, but if you can tell me what errors appear in the logs when starting up Confluence, I can try to help you.
Please also tell us your Confluence version and the previous version, and the exact steps you took to upgrade.
Regards,
Shannon
Hi Shannon,
At this point I am now getting a new error and will reply later this afternoon with the details.
Thank you for your reply,
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We totally removed Confluence: ran the uninstall, removed all leftover files and folders, removed all referencs in the registry and deleted the SQL db confluence was using.
We then created a new database and installed confluence 6.9.1. The admin password was not recognized. I stopped the service, using Chrome - logged in the with recovery-admin ID/Password and tried to change my password - which I could not do. We also tried deleting a user, we only have a 10 user license - but that failed also.
atlassian-synchrony.log
2019-03-14 12:25:45,141 DEBUG [281:StdErrHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: medley.core, being replaced by: #'medley.core/boolean?
2019-03-14 12:25:45,346 DEBUG [281:StdErrHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] WARNING: Inst already refers to: #'clojure.core/Inst in namespace: schema.core, being replaced by: #'schema.core/Inst
2019-03-14 12:25:50,631 DEBUG [282:StdOutHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] Running QueryDSL sytem...
2019-03-14 12:25:50,788 DEBUG [282:StdOutHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] {"synchrony":{"message":"synchrony.querydsl.jdbc [info] connection pool test-connection-on-checkin: true idle-connection-test-period: 100 max-idle-time-excess-connections: 100 max-idle-time: 3600","ns":"synchrony.querydsl.jdbc","level":"info"}}
2019-03-14 12:25:50,806 DEBUG [282:StdOutHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] MLog clients using slf4j logging.
2019-03-14 12:25:50,839 DEBUG [282:StdOutHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] Initializing c3p0-0.9.5.1 [built 16-June-2015 00:06:36 -0700; debug? true; trace: 10]
2019-03-14 12:25:50,903 DEBUG [282:StdOutHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] {"synchrony":{"message":"synchrony.event-bus [info] cluster membership transition","transition":{"type":"join","member":{"member-id":"local","host":null,"local?":true}},"ns":"synchrony.event-bus","level":"info"}}
2019-03-14 12:25:51,650 DEBUG [282:StdOutHandler [C:\Program Files\Atlassian\Confluence\jre\bin\java.exe]] {"synchrony":{"request":{"remote-addr":"127.0.0.1","uri":"/synchrony/heartbeat","request-method":"get","query-string":null},"response":{"status":200},"ns":"synchrony.middleware.logging","level":"info","message":"synchrony.middleware.logging [info] null"}}
atlassian-confluence.log
2019-03-14 12:25:59,640 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
2019-03-14 12:29:02,120 WARN [Long running task: Delete User: xxxxxxxxx] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
->[com.atlassian.confluence.user.DefaultUserAccessor.deactivateUser]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #392039054)
-- url: /admin/users/removeuser-confirm.action | referer: http://localhost:8090/admin/users/removeuser.action?username= xxxxxxxxx | traceId: 5096ae31d233c7ec | userName: recovery_admin | action: removeuser-confirm
2019-03-14 12:29:02,124 ERROR [Long running task: Delete User: xxxxxxxxx] [core.task.longrunning.AbstractLongRunningTask] runInternal Error during user deletion
-- url: /admin/users/removeuser-confirm.action | referer: http://localhost:8090/admin/users/removeuser.action?username=xxxxxxxxx | traceId: 5096ae31d233c7ec | userName: recovery_admin | action: removeuser-confirm
com.atlassian.confluence.user.UserManagementOperationFailedException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
at com.atlassian.confluence.user.DefaultUserAccessor.deactivateUser(DefaultUserAccessor.java:708)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy108.deactivateUser(Unknown Source)
at com.atlassian.confluence.user.actions.DeleteUserLongRunningTask.runInternal(DeleteUserLongRunningTask.java:50)
at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26)
at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:52)
at com.atlassian.confluence.impl.util.concurrent.ConfluenceExecutors$ThreadLocalContextTaskWrapper.lambda$wrap$1(ConfluenceExecutors.java:90)
at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:50)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)
at com.atlassian.confluence.vcache.VCacheRequestContextOperations.doInRequestContext(VCacheRequestContextOperations.java:49)
at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$withRequestContext$2(VCacheRequestContextOperations.java:66)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.throwError(RestExecutor.java:524)
at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andCheckResponse(RestExecutor.java:456)
at com.atlassian.crowd.integration.rest.service.RestCrowdClient.updateUser(RestCrowdClient.java:206)
at com.atlassian.crowd.directory.RemoteCrowdDirectory.updateUser(RemoteCrowdDirectory.java:232)
at com.atlassian.crowd.directory.DbCachingRemoteDirectory.updateUser(DbCachingRemoteDirectory.java:527)
at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.updateUser(DirectoryManagerGeneric.java:350)
at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.updateUser(ApplicationServiceGeneric.java:581)
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUser(CrowdServiceImpl.java:274)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy90.updateUser(Unknown Source)
at com.atlassian.confluence.user.crowd.CrowdDisabledUserManager.disableUser(CrowdDisabledUserManager.java:81)
at com.atlassian.confluence.user.DefaultUserAccessor.deactivateUser(DefaultUserAccessor.java:702)
... 29 more
2019-03-14 12:30:01,206 WARN [http-nio-8090-exec-2] [confluence.user.actions.SetUserPasswordAction] doSet Failed to update user password. Cause: InvalidAuthenticationException: Application failed to authenticate
-- referer: http://localhost:8090/admin/users/setuserpassword.action?username=malgerij | url: /admin/users/dosetuserpassword.action | traceId: 8b0b76fcf17af7ac | userName: recovery_admin | action: dosetuserpassword
2019-03-14 12:30:01,208 WARN [http-nio-8090-exec-2] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
->[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #491919620)
-- referer: http://localhost:8090/admin/users/setuserpassword.action?username=malgerij | url: /admin/users/dosetuserpassword.action | traceId: 8b0b76fcf17af7ac | userName: recovery_admin | action: dosetuserpassword
2019-03-14 12:30:56,920 WARN [Caesium-1-2] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse[runOutcome=ABORTED,message='LaaS performance logging is turned off']
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jim,
What are you restoring from after installing the fresh instance of Confluence with a new database? An XML backup, or did you take a database backup?
If you have the XML backup, you can try to do a fresh Confluence installation again, connect to an empty database, and import the XML backup at the import step.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, I'm not restoring Confluence. We have never used Confluence on our VM. We are just trying to completely install it so that we can use it.
That very 1st time we installed Confluence and it was working -- the only thing we did was answer questions about which database to use and give it the JIRA Admin ID/PW. We clicked on Confluence, it opened up, asked about Spaces and then we said, "Yup, it's running." and closed it. That was out total interaction with Confluence.
As I said - "we totally removed Confluence: ran the uninstall, removed all leftover files and folders, removed all referencs in the registry and deleted the SQL db confluence was using. We then created a new database and installed confluence 6.9.1." <= 4x now
I don't understand:
Confluence seems to be accessing previously used data from somewhere. It's like a zombie that won't die and keeps rising.
I just want it to run as new - as if it was never installed on our VM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jim,
From your first post you mentioned you were upgrading. Apologies for the confusion.
When you said you removed all leftover files, did that include your home directory? Note that the uninstaller in Windows does not remove the home directory. Read more about uninstalling on Windows from this document:
Your home directory will store your confluence.cfg.xml file, which will tell Confluence not to ask about your database configuration. You can rebuild it from this article:
For your Jira login and password, I believe you're referring to the fact that you want to have Jira control your user management. The first step after you enter your license will ask you either to select Confluence to manage your users (which will then ask you to create a new system admin user), or to connect to Jira for user management.
If you select connect to Jira, it is then that it will ask you for your Jira username and password.
I hope that clarifies things, please let us know if you run into any issues with this.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shannon,
Thanks for the reply.
1) Yes, I removed the directories
2) "you want to have Jira control your user management" <== correct
3) "The first step after you enter your license will ask you either to select Confluence to manage your users (which will then ask you to create a new system admin user), or to connect to Jira for user management." <== we don't even get to this point
4) re:
"If Confluence is started and takes you to the Setup Wizard, as if you were installing it for the first time, that means something has happened to prevent Confluence from finding its home directory, "
In our case we have
<loop>
deleted all cookies from Chrome
deleted the Confluence database and created a new database.
Removed the 2 Confluece directories in
and have removed (as best we can) all traces of confluence in the registry.
Yet when we then install Confluece -
The Confluence install completes and Confluence tries to start - at which point it does not recognise my password
</loop>
I'll let you know what we decide to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jim,
Thank you so much for including those details. If Confluence thinks the home directory is located somewhere other than where you deleted, it could definitely cause this kind of problem.
Can you just clarify with me if the directory you removed was spelled like Atlasian or Atlassian? I just want to make sure we're not dealing with a typo that would cause this issue.
If not, my next recommendation to you would be to check the path listed in your Windows Service (that is, if you are starting Confluence as a service). This should tell you where the install directory is, which might be a completely different location than the one you deleted.
Once you discover the current install directory, you can have a look at confluence-init.properties (location as described in Confluence Home and Other Important Directories) to see where Confluence thinks its home directory is located.
Hope to speak to you soon,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I finally have Confluence running but not as a service. As I mentioned previously, after installing Confluence it would not start - which would have allowed me to specify the DB to use, JIRA admin name, etc.
In our latest set of Confluence erros, the Confluence service was not starting. Upon inspection the 12 digit number in the Confluence service name was not the same as was I was seeing in start_service.bat
"Atlassian Confluence Confluence270119153623 Auto Confluence270119153623 WIN32_OWN_PROCESS"
VS
from start_service.bat "net start Confluence21031913306"
So I searched the registry for service, found the entry for Confluence, and deleted it. However, when I reinstalled Confluence as a service - it still would not run. I then just re-installed Confluence, but not as a service, and it is currently running as expected.
At a later date I'll try to figure out why we had all these problems with Confluence but for now I've wasted far too much time trying to get it running and need to do something productive with my time.
Thank you for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jim,
Thank you for letting us know you were able to get Confluence running (not as a service.)
When you want to address this again please let us know, and feel free to raise a new question if you're encountering a different error.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.