Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Oct 2021 13:21:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258922] www/gitlab-ce backup TypeError: no implicit conversion of nil into String
Message-ID:  <bug-258922-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258922

            Bug ID: 258922
           Summary: www/gitlab-ce backup TypeError: no implicit conversion
                    of nil into String
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: admin@asu-vei.ru
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org

Before upgrade gitlab-ce from 14.2.2 to 14.3.2 one should make a backup. Wh=
ile
backup creating I have

[10-04 3:28pm] root@mail [~] %> su -l git -c "cd /usr/local/www/gitlab-ce &=
&=20
rake gitlab:backup:create RAILS_ENV=3Dproduction --trace"
** Invoke gitlab:backup:create (first_time)
** Invoke gitlab_environment (first_time)
** Execute gitlab_environment
** Invoke environment (first_time)
** Execute environment
** Execute gitlab:backup:create
** Invoke gitlab:backup:db:create (first_time)
** Invoke gitlab_environment
** Execute gitlab:backup:db:create
2021-10-04 15:30:59 +0300 -- Dumping database ...
Dumping PostgreSQL database gitlabhq_production ... [DONE]
2021-10-04 15:31:05 +0300 -- done
** Invoke gitlab:backup:repo:create (first_time)
** Invoke gitlab_environment
** Execute gitlab:backup:repo:create
2021-10-04 15:31:05 +0300 -- Dumping repositories ...
rake aborted!
TypeError: no implicit conversion of nil into String
/usr/local/www/gitlab-ce/lib/backup/gitaly_backup.rb:75:in `absolute_path'
/usr/local/www/gitlab-ce/lib/backup/gitaly_backup.rb:75:in `bin_path'
/usr/local/www/gitlab-ce/lib/backup/gitaly_backup.rb:28:in `start'
/usr/local/www/gitlab-ce/lib/backup/repositories.rb:13:in `dump'
/usr/local/www/gitlab-ce/lib/tasks/gitlab/backup.rake:114:in `block (4 leve=
ls)
in <top (required)>'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:281:in `bloc=
k in
execute'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:281:in `exec=
ute'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:219:in `bloc=
k in
invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:199:in
`synchronize'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:199:in
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:188:in `invo=
ke'
/usr/local/www/gitlab-ce/lib/tasks/gitlab/backup.rake:13:in `block (3 level=
s)
in <top (required)>'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:281:in `bloc=
k in
execute'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:281:in `exec=
ute'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:219:in `bloc=
k in
invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:199:in
`synchronize'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:199:in
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/task.rb:188:in `invo=
ke'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:160:in
`invoke_task'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:116:in
`block (2 levels) in top_level'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:116:in
`each'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:116:in
`block in top_level'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:125:in
`run_with_threads'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:110:in
`top_level'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:83:in
`block in run'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:186:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/lib/rake/application.rb:80:in
`run'
/usr/local/lib/ruby/gems/2.7/gems/rake-13.0.6/exe/rake:27:in `<top (require=
d)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP =3D> gitlab:backup:repo:create

line 72:
    def bin_path
      File.absolute_path(Gitlab.config.backup.gitaly_backup_path)
    end

gitlab-ce: 14.2.2
gitaly: 14.2.2
FreeBSD:  13.0-RELEASE-p4 releng/13.0-940681634

Backup is not created.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258922-7788>