Backup::Error: Backup failed. gtar: ./-: function "open" : Permission denied
My gitlab centos 7:
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.6.6p146
Gem Version: 2.7.10
Bundler Version:1.17.3
Rake Version: 12.3.3
Redis Version: 5.0.9
Git Version: 2.28.0
Sidekiq Version:5.2.9
Go Version: unknown
GitLab information
Version: 13.5.3
Revision: eaa194f15e6
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 12.4
URL: https://gitlab.saic.it
HTTP Clone URL: https://gitlab.saic.it/some-group/some-project.git
SSH Clone URL: git@gitlab.saic.it:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 13.11.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Git: /opt/gitlab/embedded/bin/git
when I run :
sudo gitlab-rake gitlab:backup:create --trace
I'm dont know how to solve this :
.....
** Invoke gitlab:backup:uploads:create (first_time)
** Invoke gitlab_environment
** Execute gitlab:backup:uploads:create
2020-11-04 21:08:25 +0100 -- Dumping uploads ...
rake aborted!
Backup::Error: Backup failed. gtar: ./-: function "open" failed: Permission denied
gtar: Uscita con stato di fallimento in base agli errori precedenti
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/files.rb:89:in run_pipeline!'<br> /opt/gitlab/embedded/service/gitlab-rails/lib/backup/files.rb:44:in dump'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:184:in block (4 levels) in <top (required)>'<br> /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:273:in block in execute'
/opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:273:in each'<br> /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:273:in execute'
/opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/rake-12.3.3/lib/rake/task.rb:214:in block in invoke_with_call_chain'<br> /opt/gitlab/embedded/lib/ruby/2.6.0/monitor.rb:235:in mon_synchronize'
,,,,,
somebody can help me?
thanks in advance