Hi!
I was installer a Bitbucket server on Google cloud VM instance with Ubuntu 16.04.
I made the flollowing steps:
I installed:
GIT
vsftpd to transfer bin installer
JRE
After i launch the script :/atlassian-bitbucket-6.2.3-x64.bin and the instalation starts setting all parameters by default.
Then i try to enter through google chrome to VM in the cloud and appears ERR_TIMED_OUT.
I opened the port 7990 with iptables command and ufw allow, and in VPC, and nothing works.
I saw the status of bitbucket server with "service atlbitbucket status" and its ok and active.
Then i open the log file and says that:
2019-06-10 20:14:58,054 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.1.RELEASE)
2019-06-10 20:14:59,326 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on bitbucket-server-auto with PID 4172 (/opt/atlassi$
2019-06-10 20:14:59,346 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to default profiles: default
2019-06-10 20:15:04,882 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.2.3 (a254062 built on Wed Jun 05 07:35:39 UTC 2019)
2019-06-10 20:15:04,883 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation OpenJDK 64-Bit Server VM 1.8.0_212-8u212-b03-0ubuntu1.16.04.1-b03
2019-06-10 20:15:13,466 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 19.295 seconds (JVM running for 25.699)
2019-06-10 20:15:28,256 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/b$
2019-06-10 20:15:41,473 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/b$
2019-06-10 20:15:45,964 WARN [spring-startup] com.hazelcast.instance.Node [10.142.0.2]:5701 [atlbitbucket] [3.11.1] No join method is enabled! Starting standalon$
2019-06-10 20:16:34,042 INFO [spring-startup] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:38437
2019-06-10 20:16:39,133 INFO [spring-startup] c.a.s.i.s.g.t.DefaultTranscodeServer Callback socket listening at 127.0.0.1:38357
2019-06-10 20:16:47,195 WARN [FelixStartLevel] o.e.g.b.e.i.s.ExtenderConfiguration Gemini Blueprint extensions bundle not present, annotation processing disabled.
2019-06-10 20:17:25,229 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/plugin/connect/confluence/ in bundle com.at$
2019-06-10 20:17:27,676 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle com.atlassi$
2019-06-10 20:17:28,809 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbuck$
2019-06-10 20:17:28,974 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbuck$
2019-06-10 20:17:28,990 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbuck$
2019-06-10 20:17:29,180 INFO [spring-startup] c.a.s.internal.scm.PluginScmService Bitbucket is using /usr/bin/git version 2.21.0
Whats happened?
I hope you can help me.
Thanks!!
Hi Camilo,
I did not find any suspicious clue as to why you can not access the Bitbucket GUI console to complete the installation. It must be something to do with the port blocking or firewalls. Could you try to do the following from your PC/workstation,
telnet <bitbucket-server-host-ip> 7990
Check if you are getting connected or receiving any other messages.
Thanks
Shankar
Many Thanks, after to try many times, i opened 7990, 7992, 7993 and 80, 8080 in VPC module on google cloud. Then i allow the same ports on the linux server:
sudo iptables -A INPUT -p tcp --dport 7990 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 7992 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 7993 -j ACCEPT
And the server works!, i can to access to bitbucket, but one problem, i still do not know what ports are strictly necessary. I try one by one with a margin time and sometimes give access by opening X port, and other times opening Y port.
I check that apparently the problem is in the slowness to start bitbucket in the machine, because after after 10 minutes, I see a message that said "starting in Japanese Language". It may be possible that while opening ports, it was still starting.
Exist any way to see the log on real time
Thanks Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to see the problem has been resolved. It look like you have 2 firewalls in between the application and that might causing this issue. Good luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.