Hi Guys,
While ago, I changed bitbucket form default port 7990 to Tomcat SSL on port 8443.
I am using Bitbucket server version 6.4.1
I need to roll it back as I need to use A SSL certificate with HTTPD proxy.
For rollback, I removed the extra lines that I had in :
/var/atlassian/application-data/bitbucket/shared/bitbucket.properties
and restart atlbitbucket.service :
####################################
#server.port=8443
#server.ssl.enabled=true
#server.ssl.key-store=/var/atlassian/application-data/bitbucket/shared/config/ssl-keystore
#server.ssl.key-store-password=XXXXX
#server.ssl.key-password=XXXXX
####################################
Bitbucket is coming back on port 7990 , but I am not able to login ! none of accounts ( even my local admin accounts ) is not working.
Please advise me, which steps I missed in my rollback plan.
Ali
I didn't find any difference in atlassian-bitbucket.log after and before rollback, I didn't find an answer to my question.
What worked for me:
0- Stop bitbucket service
1- Reinstall bitbucket in new a folder.
2- Copy bitbucket data to new home-dir (only Bitbucket data).
3- Start bitbucket service with your DB entries in bitbucket.properties.
Ali
Hi @Cloud Team ,
Look for the Base URL in the bitbucket instance and also if these entries exist, try removing them.
server.proxy-name=<dns-address>
server.proxy-port=443
server.secure=true
server.scheme=https
If you are still experiencing the issue, share us the below details -
How are you accessing the instance is it through http://<ip>:<port> or http://<dns-address>? Can you share us the error message if received ?
Thanks,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Thank you for looking at my question,
I am using https and port number at the end , like : "https://bitbktprd:8443"
and it is working fine in the , here is sample of log with successful login when I am using tomcat ssl :
192.168.136.104 | https | o@QZVWP0x1101x225x0 | ADM_Account | 2019-07-29 18:21:56,362 | "GET /rest/api/latest/dashboard/pull-request-suggestions HTTP/1.1" | "https://bitbktprd:8443/dashboard" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36" | 200 | 0 | 60 | - | 9 | 146ib1z |
when I removing mentioned entries in the "bitbucket.properties" and restart bitbucket service, it starts on the default port 7990 :
I am using same account , but it is not working .
In the atlassian-bitbucket-access.log , I dont have my account ! and it is " - "
192.168.136.104 | http | i@XMIVORx859x9x0 | - | 2019-07-29 14:19:11,116 | "GET /login HTTP/1.1" | "http://bitbktprd:7990/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36" | - | - | - | - | - | - |
192.168.136.104 | http | o@XMIVORx859x9x0 | - | 2019-07-29 14:19:11,219 | "GET /login HTTP/1.1" | "http://bitbktprd:7990/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36" | 200 | 0 | 9697 | - | 103 | - |
no error in the browser side, just repeating the login page without any error or progress
Many Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Cloud Team ,
Can you share the tail output of atlassian-bitbucket.log, when trying to login? It should give us some pointers of what the issue is with.
Also, if you have any proxy entries in bitbucket.properties, try removing it.
Thanks,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Thank you for your time,
I am in tight timing for the project , so I reinstalled Bitbucket. it is fine now.
Reg,
Ali
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.