Giter Site home page Giter Site logo

bitbucket's People

Contributors

benok avatar blacklabelops-legacy avatar ckotte avatar cryptster avatar dylansavage avatar firefishy avatar maciossek avatar steigr avatar tm1000 avatar xrobau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bitbucket's Issues

Database configuration and MySQL driver

Hello!

  • When using your dockerfile or docker-compose, we noticed that mysql jdbc driver is not copied to lib directory
  • Your JIRA setup has auto setup for database, it generates dbconfig.xml file, but for bitbucket, you do not have similar script that would create /shared/bitbucket.properties file, why?

Thanks for all your work, BTW!

HOME is not set

The HOME environment variable is not set for the bitbucket user.

This results in the following benign error when executing a bash shell in the image:

$ docker-compose exec -u bitbucket bitbucket bash
bash: /root/.bashrc: Permission denied
bash-4.3$ echo $HOME
/root
bash-4.3$ id
uid=1000(bitbucket) gid=1000(bitbucket) groups=1000(bitbucket)

However, more importantly, it throws the following warning when trying to clone from any repositories

$ git clone ssh://git@host:2222/<xxx>.git
Cloning into '<xxx>'...
remote: warning: unable to access '/root/.config/git/attributes': Permission denied     <------------------
remote: Counting objects: 822, done.
remote: Compressing objects: 100% (701/701), done.
remote: Total 822 (delta 326), reused 390 (delta 79)
Receiving objects: 100% (822/822), 14.92 MiB | 32.16 MiB/s, done.
Resolving deltas: 100% (326/326), done.

Setting "HOME=/home/bitbucket" in the environment section of my compose file fixes this. So I assume it would work out of the box, if this was added to the Dockerfile.
Testet with blacklabelops/bitbucket:5.3.1

Support for 7.3 release

It appears the latest release is for Bitbucket 6.8, posted to Docker Hub five months ago. I would like to open a ticket to track adding support for Bitbucket 7.3 (released June 2020).

java.net.UnknownHostException: postgres - after migrating container to new host

I migrated all the docker volumes with the data and am in the process of migrating the containers - but can't get bitbucket to connect with the db.

I have a postgres docker container and a bitbucket app container both have

--network="bitbucket_default"

I added these three to the bitbucket container start up command

--env="DB_HOST=bitbucket_db" \
--env="PG_HOST=bitbucket_db" \
--env="DOCKER_WAIT_HOST=bitbucket_db" \

But they didn't suffice/fix the issue - Thanks

I can connect to the postgres container - using a small container with the psql client on the same network - so clearly I am just not passing the right ENV vars to bitbucket - can you help?

HERE IS THE Java (console) error - it's trying to talk to an host called postgres that does not exist..

JAVA start up error
org.postgresql.util.PSQLException: The connection attempt failed.
at org.postgresql.Driver$ConnectThread.getResult(Driver.java:401)
at org.postgresql.Driver.connect(Driver.java:259)
....
Caused by: java.net.UnknownHostException: postgres

Repository Deprecated

I will stop supporting and implementing Docker images starting in early 2019.

Repositories will be transferred to blacklabelops-legacy and archived for read only purpose.

The following repositories and images are affected:

January 2019

  • blacklabelops/crowd
  • blacklabelops/nginx
  • blacklabelops/bitbucket
  • blacklabelops/java
  • blacklabelops/letsencrypt
  • blacklabelops/postgres

March 2019

  • blacklabelops/baseimages
  • blacklabelops/confluence
  • blacklabelops/jira
  • blacklabelops/volumerize
  • blacklabelops/logrotate

Could not build, something is wrong with download URL

Output which I get is this one:

ERROR: Service 'bitbucket' failed to build: The command '/bin/sh -c mkdir -p ${BITBUCKET_BACKUP_CLIENT_HOME} && wget -O /tmp/bitbucket-backup-distribution.zip https://marketplace.atlassian.com/download/plugins/com.atlassian.stash.backup.client/version/${BITBUCKET_BACKUP_CLIENT_VERSION} && unzip -d ${BITBUCKET_BACKUP_CLIENT_HOME} /tmp/bitbucket-backup-distribution.zip &amp;&amp; mv /opt/backupclient/$(ls /opt/backupclient/) /opt/backupclient/bitbucket-backup-client && chown -R bitbucket:bitbucket ${BITBUCKET_BACKUP_CLIENT_HOME}' returned a non-zero code: 8

What is correct value for BITBUCKET_BACKUP_CLIENT_VERSION?

Thanks!

Bitbucket 5.0.0

Hi,

can we please bump this Docker Image to the latest version 5.0.0?
I tried this myself but had the following error message on startup:
failed to load external entity "/opt/bitbucket/conf/server.xml"

I'm not sure what the issue is.

The release notes on Atlassian's website only talk about having to migrate changed configuration values from server.xml to bitbucket.properties

Release notes:
https://confluence.atlassian.com/bitbucketserver/bitbucket-server-5-0-release-notes-889528342.html

Bitbucket doesnt start anymore

Hey teamatl :)

We are running our Bitbucket instance within a docker container. And a separate docker container with a postgres database. After restarting our System, Bitbucket shows the Setup page again. It looks like it doesnt find the volumes or db credential anymore ?

The Logs below:
bitbucket_error

JVM memory sizing

Hi,

I'm currently PoC-ing your docker image, and I ran into an issue regarding memory sizing, as we have quite a large instance..

I tried the -e JAVA_OPTS='-Xms1g -Xmx2g' but it seems that the file _start-webapp.sh in /opt/bitbucket/bin has hard set memory values: -Xms512m -Xmx1g which generate the following Virtual Machine arguments:
-Xms1g -Xmx2g -Datlassian.standalone=BITBUCKET -Dbitbucket.home=/var/atlassian/bitbucket -Dbitbucket.install=/opt/bitbucket -Xms512m -Xmx1g -XX:+UseG1GC -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Djava.io.tmpdir=/var/atlassian/bitbucket/tmp -Djava.library.path=/opt/bitbucket/lib/native;/var/atlassian/bitbucket/lib/native

Are there any plans to provide a way to set these as container arguments?

Cheers,

Failed to start embedded Elasticsearch

Hi,
First, I want to say thank you for publishing your useful docker images :-)

I tried your bitbucket image and tried to enable embbeded Elasticsearch following your instruction, but bitbucket server failed to start.

I inspected the problem and found it's because Alpine's ps didn't support "-p" option.
I wrote small script to support ps -p [pid].

I confirmed it works just copy this script to /usr/bin like this.

FROM blacklabelops/bitbucket
MAINTAINER benok <[email protected]>

COPY scripts/ps /usr/bin

Could you include this script or something like that for your image ?

p.s.
Recent bitbucket server's startup script seems to have run/start option for change script behaviour foreground/background. So I modifed 'entrypoint' section of my docker-compose.yml like that.

entrypoint: /bin/tini -- /opt/bitbucket/bin/start-bitbucket.sh run

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.