Hello, I am new to the forum.
I have been running www/gitlab (ce) in a jail for about 6 months, performing updates on the underlying system and on the app, and it's been working great.
Currently I'm on 14.1-RELEASE-p2.
At some point I went from a package install of gitlab-ce to a poudriere-built install - probably to get a head start on a fix. In order not to mismatch a poudriere build with a pre-built ports pkg, I reinstalled gitlab and pointed dependencies to the poudriere repo. I believe it worked fine before gitlab-ce v17 (just noting the version for context, I'm not suggesting there is a port problem).
I build with poudriere on server A. The Server B jail host pulls over the packages from server A. Packages are mounted into gitlab jail on Server B.
I recently performed updates on gitlab-ce and even double-checked with a re-compile (still no errors) and then even did a fresh install. I'm running into a problem when I attempt start the service:
It appears (as seen near the top of the results) that it is looking for
I'm failing to understand what I may have changed (I would say "nothing"). I also don't understand the build process enough to explain why it's searching for a relative path, or what "it" is that is doing the searching for it.
I'm also suprised that Gemfile.lock is not already created. I would have expected that to occur during the update compilation process. I did confirm it is missing from /usr/local/www/gitlab/.
If I had to guess what the problem is, I would say I should not use poudriere to build a particular ruby/rubygem package. But that's the limit of my understanding.
I have been running www/gitlab (ce) in a jail for about 6 months, performing updates on the underlying system and on the app, and it's been working great.
Currently I'm on 14.1-RELEASE-p2.
At some point I went from a package install of gitlab-ce to a poudriere-built install - probably to get a head start on a fix. In order not to mismatch a poudriere build with a pre-built ports pkg, I reinstalled gitlab and pointed dependencies to the poudriere repo. I believe it worked fine before gitlab-ce v17 (just noting the version for context, I'm not suggesting there is a port problem).
I build with poudriere on server A. The Server B jail host pulls over the packages from server A. Packages are mounted into gitlab jail on Server B.
I recently performed updates on gitlab-ce and even double-checked with a re-compile (still no errors) and then even did a fresh install. I'm running into a problem when I attempt start the service:
Code:
# service gitlab start
Don't run Bundler as root. Installing your bundle as root will break this application for all non-root
users on this machine.
Bundler::GenericSystemCallError: There was an error accessing
`/wrkdirs/usr/ports/www/gitlab/work-ce/gitlab-foss-v17.1.1/.bin`.
The underlying system error is Errno::EROFS: Read-only file system @ dir_s_mkdir - /wrkdirs
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/shared_helpers.rb:119:in `rescue in
filesystem_access'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/shared_helpers.rb:104:in
`filesystem_access'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler.rb:511:in `mkdir_p'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler.rb:122:in `bin_path'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:116:in
`generate_bundler_executable_stubs'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/gem_installer.rb:79:in
`generate_executable_stubs'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/gem_installer.rb:18:in
`install_from_spec'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/parallel_installer.rb:132:in
`do_install'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/parallel_installer.rb:86:in
`call'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer/parallel_installer.rb:66:in
`call'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:244:in
`install_in_parallel'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:201:in `install'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:89:in `block in run'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/process_lock.rb:12:in `block in lock'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/process_lock.rb:9:in `open'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/process_lock.rb:9:in `lock'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:71:in `run'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/installer.rb:23:in `install'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli/install.rb:63:in `run'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:247:in `block in install'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/settings.rb:158:in `temporary'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:246:in `install'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/command.rb:28:in
`run'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
`invoke_command'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor.rb:527:in
`dispatch'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:35:in `dispatch'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/vendor/thor/lib/thor/base.rb:584:in
`start'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/cli.rb:29:in `start'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/exe/bundle:28:in `block in <top (required)>'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/lib/bundler/friendly_errors.rb:117:in
`with_friendly_errors'
/s/usr-local/lib/ruby/gems/3.2/gems/bundler-2.5.13/exe/bundle:20:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
An error occurred while installing rake (13.2.1), and Bundler cannot continue.
In Gemfile:
cssbundling-rails was resolved to 1.4.0, which depends on
railties was resolved to 7.0.8.4, which depends on
rake
Could not create Gemfile.lock for gitlab, please report this using FreeBSD Bugtracker, https://bugs.freebsd.org/
It appears (as seen near the top of the results) that it is looking for
`/wrkdirs/usr/ports/www/gitlab/work-ce/gitlab-foss-v17.1.1/.bin`
and as best I can tell that's actually a path involved in the poudriere build process.I'm failing to understand what I may have changed (I would say "nothing"). I also don't understand the build process enough to explain why it's searching for a relative path, or what "it" is that is doing the searching for it.
I'm also suprised that Gemfile.lock is not already created. I would have expected that to occur during the update compilation process. I did confirm it is missing from /usr/local/www/gitlab/.
If I had to guess what the problem is, I would say I should not use poudriere to build a particular ruby/rubygem package. But that's the limit of my understanding.