-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not build, something is wrong with download URL #52
Comments
Yeah, I am getting this: Resolving d34y9yt11qeow3.cloudfront.net (d34y9yt11qeow3.cloudfront.net)... 13.226.156.179, 13.226.156.153, 13.226.156.229, ... |
+1 |
Atlassian has changed the download url. The version of the program is still the same. The new download URL should be:
|
I had a similar issue with wget, but I don't remember the exact error message. In case it does help, the fix for me was to tell wget to expect UTF-8. This was an issue due to the number of redirects, and eventually I guess one of the redirect URLs fails to convert from ASCII to UTF-8, or vice versa, not sure. Add RUN mkdir -p ${BITBUCKET_BACKUP_CLIENT_HOME} && \
wget -O /tmp/bitbucket-backup-distribution.zip \
--local-encoding=utf-8 \
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 && \
mv /opt/backupclient/$(ls /opt/backupclient/) /opt/backupclient/bitbucket-backup-client && \ |
+1 |
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 && 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!
The text was updated successfully, but these errors were encountered: