Error while processing content unencoding: invalid stored block lengths
Summary
when cloning from local repo with git we are getting git clone https://git.domain.com/polu/my-awesome-project.git Cloning into 'my-awesome-project'... fatal: unable to access 'https://git.domain.com/polu/my-awesome-project.git/': Error while processing content unencoding: invalid stored block lengths
Steps to reproduce
gitlab.rb external_url 'https://${GITLAB_DOMAIN}'
gitlab_rails['gitlab_shell_ssh_port'] = 22
letsencrypt['enable'] = false
nginx['listen_port'] = 80 nginx['listen_https'] = false
-----dockerfile-----
Use GitLab's official image
FROM gitlab/gitlab-ce:latest
Install AWS CLI and jq
RUN apt-get update &&
apt-get install -y awscli jq &&
apt-get clean
Create required directories if they don't exist
RUN mkdir -p /etc/gitlab /var/log/gitlab /var/opt/gitlab
Set environment variables
ENV GITLAB_ROOT_PASSWORD="domain" ENV GITLAB_DOMAIN="git.domain.com"
Create a directory for our scripts and templates
RUN mkdir -p /docker-entrypoint-init.d
Copy the files with explicit paths
COPY fetch-secrets.sh /docker-entrypoint-init.d/ COPY gitlab.rb.template /docker-entrypoint-init.d/
Set proper permissions
RUN chmod +x /docker-entrypoint-init.d/fetch-secrets.sh &&
chown root:root /docker-entrypoint-init.d/gitlab.rb.template &&
chmod 644 /docker-entrypoint-init.d/gitlab.rb.template
VOLUME ["/etc/gitlab", "/var/log/gitlab", "/var/opt/gitlab"]
Expose ports
EXPOSE 80 443 22
Create a wrapper script to handle initialization
RUN echo '#!/bin/bash\n
/docker-entrypoint-init.d/fetch-secrets.sh\n
exec /assets/wrapper' > /entrypoint-wrapper.sh &&
chmod +x /entrypoint-wrapper.sh
Use our wrapper as the entrypoint
ENTRYPOINT ["/entrypoint-wrapper.sh"]
Configuration used
(Please provide a sanitized version of the configuration used wrapped in a code block (```yaml))
(Paste sanitized configuration here)
Current behavior
(What you're experiencing happening)
Expected behavior
(What you're expecting to happen)
Versions
- Chart: (tagged version | branch | hash
git rev-parse HEAD
) - Platform:
- Cloud: (GKE | AKS | EKS | ?)
- Self-hosted: (OpenShift | Minikube | Rancher RKE | ?)
- Kubernetes: (
kubectl version
)- Client:
- Server:
- Helm: (
helm version
)- Client:
- Server:
Relevant logs
(Please provide any relevate log snippets you have collected, using code blocks (```) to format)