Debian Bug report logs -
#983346
Update gitlab to 13.7.7 (installation fails - need help)
Reported by: Pirate Praveen <praveen@onenetbeyond.org>
Date: Mon, 22 Feb 2021 17:33:01 UTC
Severity: important
Tags: help
Fixed in version gitlab/13.7.7-1
Done: Pirate Praveen <praveen@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Mon, 22 Feb 2021 17:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
New Bug report received and forwarded. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Mon, 22 Feb 2021 17:33:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: gitlab
Severity: important
Control: tags -1 help
I'm trying to update gitlab to 13.7.7 (master-13.7 branch in salsa),
but installation fails with
Bundle complete! 212 Gemfile dependencies, 393 gems now installed.
Gems in the groups development and test were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
gitlab_production database is not empty, skipping gitlab setup
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Attention: used pure ruby version of MurmurHash3
rake aborted!
Feature::InvalidFeatureFlagError: Feature flag
'api_kaminari_count_with_limit' is al
ready defined in
'/usr/share/gitlab/config/feature_flags/ops/api_kaminari_count_with
_limit.yml'
/usr/share/gitlab/lib/feature/definition.rb:165:in `block in
load_all_from_path!'
/usr/share/gitlab/lib/feature/definition.rb:161:in `each'
/usr/share/gitlab/lib/feature/definition.rb:161:in `load_all_from_path!'
/usr/share/gitlab/lib/feature/definition.rb:146:in `block in load_all!'
/usr/share/gitlab/lib/feature/definition.rb:145:in `each'
/usr/share/gitlab/lib/feature/definition.rb:145:in `each_with_object'
/usr/share/gitlab/lib/feature/definition.rb:145:in `load_all!'
/usr/share/gitlab/lib/feature/definition.rb:102:in `reload!'
/usr/share/gitlab/lib/feature.rb:141:in `register_definitions'
/usr/share/gitlab/config/initializers/0_inject_feature_flags.rb:5:in
`<top (required
)>'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:318:in `load'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:318:in `block in load'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:291:in `load_dependency'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:318:in `load'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/engine.rb:666:in
`block in load_config_initializer'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/no
tifications.rb:182:in `instrument'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/engine.rb:665:in
`load_config_initializer'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/engine.rb:625:in
`block (2 levels) in <class:Engine>'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in
`each'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in
`block in <class:Engine>'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/initializable.rb
:32:in `instance_exec'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/initializable.rb
:32:in `run'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/initializable.rb
:61:in `block in run_initializers'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/initializable.rb
:50:in `each'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/initializable.rb
:50:in `tsort_each_child'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/initializable.rb
:60:in `run_initializers'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/application.rb:3
63:in `initialize!'
/usr/share/gitlab/config/environment.rb:5:in `<top (required)>'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:324:in `require'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:324:in `block in require'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:291:in `load_dependency'
/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.4/lib/active_support/de
pendencies.rb:324:in `require'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/application.rb:3
39:in `require_environment!'
/usr/share/rubygems-integration/all/gems/railties-6.0.3.4/lib/rails/application.rb:5
23:in `block in run_tasks_blocks'
/usr/share/rubygems-integration/all/gems/rake-13.0.1/exe/rake:27:in
`<top (required)
>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
dpkg: error processing package gitlab (--configure):
installed gitlab package post-installation script subprocess returned
error exit st
atus 1
Errors were encountered while processing:
gitlab
E: Sub-process /usr/bin/dpkg returned an error code (1)
Usually such errors come from an obsolete initializer, but
0_inject_feature_flags.rb mentioned in the log is still present in
upstream version.
Help in fixing this error welcome.
Added tag(s) help.
Request was from Pirate Praveen <praveen@onenetbeyond.org>
to submit@bugs.debian.org.
(Mon, 22 Feb 2021 17:33:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Mon, 22 Feb 2021 19:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Mon, 22 Feb 2021 19:21:04 GMT) (full text, mbox, link).
Message #12 received at 983346@bugs.debian.org (full text, mbox, reply):
On Mon, 22 Feb 2021 22:59:51 +0530 Pirate Praveen
<praveen@onenetbeyond.org> wrote:
> Package: gitlab
> Severity: important
> Control: tags -1 help
>
> I'm trying to update gitlab to 13.7.7 (master-13.7 branch in salsa),
>
> but installation fails with
Installing 13.7.7 on a clean system (after purge) works, but fails when
upgrading from 13.6.7.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Fri, 26 Feb 2021 09:15:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Fri, 26 Feb 2021 09:15:07 GMT) (full text, mbox, link).
Message #17 received at 983346@bugs.debian.org (full text, mbox, reply):
On Tue, 23 Feb 2021 00:47:30 +0530 Pirate Praveen
<praveen@onenetbeyond.org> wrote:
> Installing 13.7.7 on a clean system (after purge) works, but fails
when
> upgrading from 13.6.7.
What I found out so far is this,
/etc/gitlab/initializers/flipper.rb was obsoleted in 13.6 but we did
not remove it and that code introduced some changes in db which is now
causing the error. So I think we will have to revert the changes made
by this initializer.
And in long term, we should more actively look for obsolete
initializers like how we check if upstream file list is changed
upstream.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Sat, 27 Feb 2021 12:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Sat, 27 Feb 2021 12:06:03 GMT) (full text, mbox, link).
Message #22 received at 983346@bugs.debian.org (full text, mbox, reply):
On Fri, 26 Feb 2021 14:40:46 +0530 Pirate Praveen
<praveen@onenetbeyond.org> wrote:
> On Tue, 23 Feb 2021 00:47:30 +0530 Pirate Praveen
> <praveen@onenetbeyond.org> wrote:
> > Installing 13.7.7 on a clean system (after purge) works, but fails
> when
> > upgrading from 13.6.7.
>
> What I found out so far is this,
>
> /etc/gitlab/initializers/flipper.rb was obsoleted in 13.6 but we did
> not remove it and that code introduced some changes in db which is
now
> causing the error. So I think we will have to revert the changes made
> by this initializer.
>
> And in long term, we should more actively look for obsolete
> initializers like how we check if upstream file list is changed
> upstream.
This commit makes the upgrade work.
https://salsa.debian.org/ruby-team/gitlab/-/commit/98741d55b7ed4b5eb1985981ab82e171c7d0e0c9
We still need to check obsolete initializers more proactively I think.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Sun, 28 Feb 2021 13:30:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Sun, 28 Feb 2021 13:30:04 GMT) (full text, mbox, link).
Message #27 received at 983346@bugs.debian.org (full text, mbox, reply):
On Sat, 27 Feb 2021 17:33:40 +0530 Pirate Praveen
<praveen@onenetbeyond.org> wrote:
> This commit makes the upgrade work.
>
>
https://salsa.debian.org/ruby-team/gitlab/-/commit/98741d55b7ed4b5eb1985981ab82e171c7d0e0c9
Looks like this did not really fix the issue when I tried it again on
another machine :(
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Sun, 28 Feb 2021 13:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Sun, 28 Feb 2021 13:39:03 GMT) (full text, mbox, link).
Message #32 received at 983346@bugs.debian.org (full text, mbox, reply):
Control: forwarded -1
https://gitlab.com/gitlab-org/gitlab/-/issues/323024
On Sun, Feb 28, 2021 at 6:56 pm, Pirate Praveen
<praveen@onenetbeyond.org> wrote:
> On Sat, 27 Feb 2021 17:33:40 +0530 Pirate Praveen
> <praveen@onenetbeyond.org> wrote:
> > This commit makes the upgrade work.
> >
> >
> https://salsa.debian.org/ruby-team/gitlab/-/commit/98741d55b7ed4b5eb1985981ab82e171c7d0e0c9
>
> Looks like this did not really fix the issue when I tried it again on
> another machine :(
>
Asking upstream for help
https://gitlab.com/gitlab-org/gitlab/-/issues/323024
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Sun, 28 Feb 2021 17:33:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Sun, 28 Feb 2021 17:33:06 GMT) (full text, mbox, link).
Message #37 received at 983346@bugs.debian.org (full text, mbox, reply):
On Sun, 28 Feb 2021 19:04:24 +0530 Pirate Praveen
<praveen@onenetbeyond.org> wrote:
> Asking upstream for help
> https://gitlab.com/gitlab-org/gitlab/-/issues/323024
Removing these 3 files makes the upgrade to proceed,
/usr/share/gitlab/config/feature_flags/ops/api_kaminari_count_with
_limit.yml
/usr/share/gitlab/config/feature_flags/licensed/resource_access_token.yml
/usr/share/gitlab/config/feature_flags/ops/marginalia.yml
Of these 3
/usr/share/gitlab/config/feature_flags/licensed/resource_access_token.yml
can definitely be removed as it is not present in current version.
I think these are safe to remove, but I will wait a few days for an
answer from upstream (till there is a new security release).
Or if someone else can confirm, this is safe, I can remove it as well.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Mon, 01 Mar 2021 14:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Mon, 01 Mar 2021 14:03:06 GMT) (full text, mbox, link).
Message #42 received at 983346@bugs.debian.org (full text, mbox, reply):
On Sun, Feb 28, 2021 at 11:00 pm, Pirate Praveen
<praveen@onenetbeyond.org> wrote:
> On Sun, 28 Feb 2021 19:04:24 +0530 Pirate Praveen
> <praveen@onenetbeyond.org> wrote:
> > Asking upstream for help
> > https://gitlab.com/gitlab-org/gitlab/-/issues/323024
>
> Removing these 3 files makes the upgrade to proceed,
> /usr/share/gitlab/config/feature_flags/ops/api_kaminari_count_with
> _limit.yml
> /usr/share/gitlab/config/feature_flags/licensed/resource_access_token.yml
> /usr/share/gitlab/config/feature_flags/ops/marginalia.yml
>
> Of these 3
> /usr/share/gitlab/config/feature_flags/licensed/resource_access_token.yml
> can definitely be removed as it is not present in current version.
>
> I think these are safe to remove, but I will wait a few days for an
> answer from upstream (till there is a new security release).
>
> Or if someone else can confirm, this is safe, I can remove it as well.
ok, so the remaining two were also present in
/usr/share/gitlab/config/feature_flags/development and were obsolete.
I confirmed the upgrade goes smooth after removing these and all other
obsolete initializers. I have also implemented a check during build if
any files in config is changed or not.
Moving 'config' directory out of /etc would be another option, but then
that will need us to move files we would like users or package to be
able to modify to /etc/gitlab manually (database.yml, gitlab.yml and
some more .rb files like puma.rb). If anyone wants to give it a try,
feel free.
Reply sent
to Pirate Praveen <praveen@debian.org>:
You have taken responsibility.
(Mon, 01 Mar 2021 14:36:03 GMT) (full text, mbox, link).
Notification sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Bug acknowledged by developer.
(Mon, 01 Mar 2021 14:36:03 GMT) (full text, mbox, link).
Message #47 received at 983346-close@bugs.debian.org (full text, mbox, reply):
Source: gitlab
Source-Version: 13.7.7-1
Done: Pirate Praveen <praveen@debian.org>
We believe that the bug you reported is fixed in the latest version of
gitlab, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 983346@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pirate Praveen <praveen@debian.org> (supplier of updated gitlab package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 01 Mar 2021 19:32:24 +0530
Source: gitlab
Architecture: source
Version: 13.7.7-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Pirate Praveen <praveen@debian.org>
Closes: 983346
Changes:
gitlab (13.7.7-1) experimental; urgency=medium
.
* New upstream version 13.7.7
* Add --quiet to gitlab-sidekiq.service running bundle install --local
* Switch back to ruby-rugged 0.28 (use snapshot.debian.org)
* Refresh patches
* Ignore embedded gitlab-workhorse (packaged separately)
* Update minimum versions of ruby-fog-google and ruby-mail-room
* Add resolutions: typescript 4.1.5 in package.json
* Update minimum versions to ruby-commonmarker and ruby-progressbar
* Remove obsolete feature flags and initializers (Closes: #983346)
* Automatically check if any config files changed during build
Checksums-Sha1:
9f8d1c86c04cd338a0d5ac537feff77bfa76522e 3716 gitlab_13.7.7-1.dsc
942802797a2b2fe9eaeda9201f7aab523398a3e0 60811 gitlab_13.7.7.orig-elasticsearch-model.tar.gz
59ed12f1366b37dd6cfe492cf22f2c312ce40386 4255484 gitlab_13.7.7.orig-elasticsearch-rails.tar.gz
5f988664cc0d32e3022897447229a025a9c67d64 151390 gitlab_13.7.7.orig-snowplow-javascript-tracker.tar.gz
55f6f5a8bc0de2107a42878cea2ddf7c5bb23b6a 95990046 gitlab_13.7.7.orig.tar.gz
508f1f9a200dfa80d693a3f822ec917d7017bf69 87124 gitlab_13.7.7-1.debian.tar.xz
9771529ec8fe389d31f66a6fada9f278343be0ea 9035 gitlab_13.7.7-1_amd64.buildinfo
Checksums-Sha256:
9fb84ec04e7d19d605ee3a68b5488b5d568eeb978856fece4494f6ad5389164a 3716 gitlab_13.7.7-1.dsc
2a941205948d46f6e2898efcf654374273df1352d51ceb1275353297b6291515 60811 gitlab_13.7.7.orig-elasticsearch-model.tar.gz
cfa52e8c11647e4f776953f59fcdc821d55065a4afbf19505c8a25fda7d545de 4255484 gitlab_13.7.7.orig-elasticsearch-rails.tar.gz
6c2c3c1df47caed682c1f1ef6225d8c36148fa9b23bbb758a2a5cca9ab416f55 151390 gitlab_13.7.7.orig-snowplow-javascript-tracker.tar.gz
de6734c37dd7758215d4bd288d658413bb184fed0655a5c4449a331fe69c3d3f 95990046 gitlab_13.7.7.orig.tar.gz
7185fabf587a204f1480af8fbd92a8b10eb4634ca1b5d27dd6e57c169622d519 87124 gitlab_13.7.7-1.debian.tar.xz
d3ef439385e098e804cf958059b3fc30d25e59d8d7398e3bbf1f2cd22221b2b9 9035 gitlab_13.7.7-1_amd64.buildinfo
Files:
df20e3261c04b3519ad094f259f306b6 3716 contrib/net optional gitlab_13.7.7-1.dsc
26325adc0c160cad7b465f4629c82ad2 60811 contrib/net optional gitlab_13.7.7.orig-elasticsearch-model.tar.gz
bb2d2fab33c50b0cada8a5ab54146e4e 4255484 contrib/net optional gitlab_13.7.7.orig-elasticsearch-rails.tar.gz
7eb2a2cb19b6701ad9b0527f0ab951a8 151390 contrib/net optional gitlab_13.7.7.orig-snowplow-javascript-tracker.tar.gz
c1b36bb23ff2d82dcfbc64f485310547 95990046 contrib/net optional gitlab_13.7.7.orig.tar.gz
dfd3aa2bc3d0bef73151a516bfe0c0a5 87124 contrib/net optional gitlab_13.7.7-1.debian.tar.xz
eff2fb2d4c9facf07d9615cd1fc54e74 9035 contrib/net optional gitlab_13.7.7-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE0whj4mAg5UP0cZqDj1PgGTspS3UFAmA8994ACgkQj1PgGTsp
S3VUKA//R9rNdAzvZkQXJacDWydG6FdHJjv5Dw+7b0NfCLh6T4CX6e2H+3vCTAzk
EK9T/aRtds/lmIjt7AyX81IEEX15o1cTjcKL8kWwNL+aQr9mPvfGaQVBfYywgdN7
+lOxRlZdPhdOUD/NkxjgAVgme3WUsxDfXbmRNY8aT8Hguhv/LPMWzFiIHfz/6Dt7
HRO8h0HBRO5EE1Wwu/el7s7Y88Xn2J/FlldkMAYZ15wNhYpeVgsr1rj6GdFMl852
nBPuO7m9HENn6Sw6HDi1j7Zq0djRutAkT6xcR6tw42nuTk+Xz6KrFOh33JHFL3J+
+4RkiLRm0JWg+OU60nI7L6WUvG5XDNgVPjK6VwPEr7KJVXapwAqc7sI5tg/p7SfW
mYj4R8SeMPfsquhsWgDlan88TCqHc+0222QrwSpHGHoXlo8VJKdBbUWqQyjkvFJD
dvctSXopVmEWJdvHXOGMi1TezRUvr83W74ZCMCDy+7iDGhX4U2/2M7WrBCWdqKCM
kJZl/qTqOq4lABe0EMqM3+KAlphpvqiqTnBNpWYq8P7Knyhtaor/m10XD8tOBbLv
3NTZy80bgFmn8Otexfl7qdMtlsjQy7RV4gsnN6l308NF8MV8t7HHRRpuLfn/bMzT
Fv0Ddqa7ap0DuHWBX9WPInM45+1Ks8waFPxx9oHVNR0yPNH/pak=
=PqFC
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Tue, 02 Mar 2021 06:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Dragos Jarca <dragos.jarca@dynamicpuzzle.ro>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Tue, 02 Mar 2021 06:06:03 GMT) (full text, mbox, link).
Message #52 received at 983346@bugs.debian.org (full text, mbox, reply):
For upgrade to work on experimental, I also removed
/etc/gitlab/feature_flags/ops/dynamic_image_resizing.yml
/etc/gitlab/initializers/rack_attack_global.rb
I use:
gem 'rugged', '~> 1.1'
gem 'licensee', '~> 9.14'
Best regards,
Dragos Jarca
General manager
Dynamic Puzzle S.R.L.
www.dynamicpuzzle.ro
On 01.03.2021 15:58, Pirate Praveen wrote:
>
>
> On Sun, Feb 28, 2021 at 11:00 pm, Pirate Praveen
> <praveen@onenetbeyond.org> wrote:
>> On Sun, 28 Feb 2021 19:04:24 +0530 Pirate Praveen
>> <praveen@onenetbeyond.org> wrote:
>> > Asking upstream for help
>> > https://gitlab.com/gitlab-org/gitlab/-/issues/323024
>>
>> Removing these 3 files makes the upgrade to proceed,
>> /usr/share/gitlab/config/feature_flags/ops/api_kaminari_count_with
>> _limit.yml
>> /usr/share/gitlab/config/feature_flags/licensed/resource_access_token.yml
>>
>> /usr/share/gitlab/config/feature_flags/ops/marginalia.yml
>>
>> Of these 3
>> /usr/share/gitlab/config/feature_flags/licensed/resource_access_token.yml
>> can definitely be removed as it is not present in current version.
>>
>> I think these are safe to remove, but I will wait a few days for an
>> answer from upstream (till there is a new security release).
>>
>> Or if someone else can confirm, this is safe, I can remove it as well.
>
> ok, so the remaining two were also present in
> /usr/share/gitlab/config/feature_flags/development and were obsolete.
>
> I confirmed the upgrade goes smooth after removing these and all other
> obsolete initializers. I have also implemented a check during build if
> any files in config is changed or not.
>
> Moving 'config' directory out of /etc would be another option, but
> then that will need us to move files we would like users or package to
> be able to modify to /etc/gitlab manually (database.yml, gitlab.yml
> and some more .rb files like puma.rb). If anyone wants to give it a
> try, feel free.
>
>
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#983346; Package gitlab.
(Tue, 02 Mar 2021 18:33:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>.
(Tue, 02 Mar 2021 18:33:02 GMT) (full text, mbox, link).
Message #57 received at 983346@bugs.debian.org (full text, mbox, reply):
On Tue, 2 Mar 2021 07:55:28 +0200 Dragos Jarca
<dragos.jarca@dynamicpuzzle.ro> wrote:
> For upgrade to work on experimental, I also removed
>
> /etc/gitlab/feature_flags/ops/dynamic_image_resizing.yml
>
> /etc/gitlab/initializers/rack_attack_global.rb
Thanks for these, I have now added them to maintscript for removing
automatically.
You can restore
/etc/gitlab/feature_flags/ops/dynamic_image_resizing.yml and remove
/etc/gitlab/feature_flags/developement/dynamic_image_resizing.yml
(feature flag in development directory should be removed to resolve
conflict, not in ops directory)
/etc/gitlab/initializers/rack_attack_global.rb can be removed.
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 19 Feb 2023 07:29:25 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 12 09:38:51 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.