Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access confluence after Restore Err: Sorry, a network error occurred trying to log you in.

Sanjay_L_B December 21, 2018

Our Confluence license expires on Dec25th and we have renewed the license on a new server and we had to move the existing data to the new server.

 

I took the data backup from the old server and restored it on the new server. The restore was 100%complete and then I found out that I am not able to login to the new server even using my admin credentials.

I got the error as below. Please help.

  • Sorry, a network error occurred trying to log you in. Please try again, and contact your administrator if the problem persists.

I want to now access the new server and have a few questions as below. Please let know:

1) how I can access the new server now. Need steps to reset the config or Admin username&passwords to login.

2 On restoration, does the existing data gets erased?

3 What will happen to my data, once the license expires on the server. Will I still be able to access confluence and my data?

 

Thanks in Advance

Sanjay

1 answer

0 votes
Brant Schroeder
Community Champion
December 21, 2018

Sanjay,

1)  I am assuming that you are not using Confluence to manage your users so you need to perform some configuration on the application to get it authentication working again.  You can follow the steps here to setup a local admin account.  Once you have this setup you will be able to login and troubleshoot the authentication issues for your other accounts. https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html

2 ) Depending on what type of restore you did the data was most likely erased.

3) You old instance of confluence will continue to work after your license expires you will not be able to upgrade to newer versions.

Sanjay_L_B December 23, 2018

Hi Brant,

 Thanks much. I tried #1, but however I updated my setenv.sh as below. Any insight on how I could further update the setenv.sh file and get my access back to confluence would be of much help.

________________________________________

echo "If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide"

-Datlassian.recovery.password=password123
________________________________________

When I do startup.sh, I get the below err..

If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
/opt/atlassian/confluence/bin/setenv.sh: line 5: -Datlassian.recovery.password=password123: command not found

Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
---------------------------------------------------------------------------
Using Java: /opt/atlassian/confluence/jre//bin/java
2018-12-24 09:13:21,750 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required
---------------------------------------------------------------------------
Using CATALINA_BASE:   /opt/atlassian/confluence
Using CATALINA_HOME:   /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME:        /opt/atlassian/confluence/jre/
Using CLASSPATH:       /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.

 

Regards

Sanjay

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events