Summary: | www/gitlab-ce service start error on 17.1+ | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | garrett <freebsd> |
Component: | Individual Port(s) | Assignee: | Matthias Fechner <mfechner> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | majo-bugs.freebsd.org |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
garrett
2024-07-14 11:53:18 UTC
Can you please test with 17.1.2? (In reply to Matthias Fechner from comment #1) Yes, has been tested and behaves the same. In order for the 17.1.1 install to proceed, I modified the /usr/local/www/gitlab/.bundle/config contents and removed the BUNDLE_BIN setting. On installation of 17.1.2 the .bundle/config changes were overwritten, resulting in the BUNDLE_BIN path set again in the config file. I then subsequently removed the .bundle directory to resolve the error. In the forum a user has reported this .bundle directory in the project root did not exist in 17.0. Do you want to test the following patch: https://gitlab.fechner.net/mfechner/Gitlab/-/commit/c80b3b3641c688297e7304c29a0662520fff8d15 I think it should fix the problem. (In reply to Matthias Fechner from comment #3) Looks good - there were no build errors and update procedures were clean, no issues. I would say the matter is resolved with the patch. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=42492dff41c468055aa39ca0644c530a99c009e1 commit 42492dff41c468055aa39ca0644c530a99c009e1 Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2024-07-18 06:36:02 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2024-07-19 05:13:34 +0000 www/gitlab: install local bundle binaries to .bin/ directory PR: 280273 www/gitlab/Makefile | 9 +++++---- www/gitlab/files/gitlab.in | 2 +- ...atch-vendor_gems_bundler-checksum_bundler-checksum.gemspec | 9 +++++---- .../patch-vendor_gems_sidekiq-7.1.6_sidekiq.gemspec (gone) | 11 ----------- 4 files changed, 11 insertions(+), 20 deletions(-) Thanks a lot for your report your testing and for the forum post, that was very helpful to understand the problem and helped to provide a solution for this problem. Have fun with the fix. (In reply to Matthias Fechner from comment #6) Thank you Matthias for all of your work on this port. I had the same problem with gitlab-ce-17.1.1 from quarterly branch (I am using jails with readonly / and /usr).
Wouldn't be it wise to merge this fix together with update to 17.1.2 to the 2024Q3 quarterly branch?
Also because of the following warning in admin area:
> You are currently on version 17.1.1! We strongly recommend upgrading your GitLab installation to one of the following versions immediately: 17.2.0, 17.1.2.
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8920178a1b5227aecadd1b6b54abc86930247128 commit 8920178a1b5227aecadd1b6b54abc86930247128 Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2024-07-18 06:36:02 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2024-07-21 05:42:40 +0000 www/gitlab: install local bundle binaries to .bin/ directory PR: 280273 (cherry picked from commit 42492dff41c468055aa39ca0644c530a99c009e1) www/gitlab/Makefile | 8 +++++--- www/gitlab/files/gitlab.in | 2 +- ...atch-vendor_gems_bundler-checksum_bundler-checksum.gemspec | 9 +++++---- .../patch-vendor_gems_sidekiq-7.1.6_sidekiq.gemspec (gone) | 11 ----------- 4 files changed, 11 insertions(+), 19 deletions(-) |