-
Notifications
You must be signed in to change notification settings - Fork 30
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
RPI aarch64: docker-compose is crashing at start #98
Comments
I noticed that your Additionally, I noticed that your GitLab data directories all point to the same directory, which might also cause errors. I suggest you try the following configuration: volumes:
- /mnt/sda/gitlab-etc:/etc/gitlab
- /mnt/sda/gitlab-logs:/var/log/gitlab
- /mnt/sda/gitlab-data:/var/opt/gitlab From my brief review, these seem to be the only two issues I've identified. Please try making these changes, and if it still doesn't work, let me know, and I'll take another look to see if there might be other issues. |
Thank you for your quick reply! I took over the changes that you recommend but I still get the same status that the container does not show any logs, nor starts normally. Is there a difference between Rasp OS Bullseye and the new-ish bookworm version? |
I’m very sorry, but I haven’t used Raspberry Pi and don’t have much experience with it. However, could you try running a different Docker image to see if it works correctly? For instance, you could test with the hello-world image:
Also, to further investigate, you can check the system logs for any Docker-related entries. Try the following commands to gather more information:
Let me know if this provides any clues or if the issue persists with different images. Good luck! |
I am finally able to get the following error shown during startup (upgraded to latest rasp OS and reinstalled docker with buildx):
I am now unsure regarding the When I have created the
|
Sorry for the delayed response. In your volumes:
- ./gitlab.rb:/etc/gitlab.rb:ro The The If the corresponding file does not exist on your host system, Docker will default to mounting it as a directory and will create this directory. Therefore, you must create this In summary, you need to place Of course, if all of this still doesn't work, there is another solution, which is to avoid using a separate You can configure environment:
GITLAB_OMNIBUS_CONFIG: |
# Copy all the content from your gitlab.rb here. Note the `|` symbol at the end of the previous line, and ensure the content below adheres to YAML indentation.
external_url "https://git.somedomain.com"
gitlab_rails['initial_root_password'] = somepass If you still encounter issues, feel free to ask further questions. I hope you succeed in deploying this time. |
Hi, I am running the following docker-compose.yml on my Raspberry Pi (aarch64):
My gitlab.rb is in the same location as the docker-compose.yml (/home/pi/gitlab):
When I check for my container, I only see this:
Did I miss something to configure?
The text was updated successfully, but these errors were encountered: