Skip to content

Failed opening .rdb for saving: No such file or directory

Hello,

After updating to the newest version, my gitlab doesn't start anymore. It shows an error 500.

gitlab-ctl restart
ok: run: gitlab-workhorse: (pid 7942) 1s
ok: run: logrotate: (pid 7950) 0s
ok: run: postgresql: (pid 7959) 1s
timeout: run: redis: (pid 8325) 954512s, got TERM
ok: run: sidekiq: (pid 8064) 1s
ok: run: unicorn: (pid 8070) 0s

When i check gitlab-ctl tail I see:

2015-12-21_12:52:02.05164 [32078] 21 Dec 13:52:02.050 * 1 changes in 900 seconds. Saving...
2015-12-21_12:52:02.05171 [32078] 21 Dec 13:52:02.051 * Background saving started by pid 7745
2015-12-21_12:52:02.05289 [7745] 21 Dec 13:52:02.052 # Failed opening .rdb for saving: No such file or directory
2015-12-21_12:52:02.15198 [32078] 21 Dec 13:52:02.151 # Background saving error

When i check /var/opt/gitlab/redis/

ls -l
total 172
-rwxrw-rw- 1 gitlab-redis gitlab-redis 140753 Dec 11 03:22 dump.rdb
-rw-r--r-- 1 gitlab-redis root          29800 Dec 21 13:51 redis.conf
srwxrwxrwx 1 gitlab-redis gitlab-redis      0 Dec 10 12:45 redis.socket

In redis.conf:

dbfilename dump.rdb
dir /var/opt/gitlab/redis
gitlab-rake gitlab:env:info

System information
System:
Current User:   git
Using RVM:      no
Ruby Version:   2.1.7p400
Gem Version:    2.2.5
Bundler Version:1.10.6
Rake Version:   10.4.2
Sidekiq Version:3.3.0

GitLab information
Version:        8.2.3
Revision:       19daba8
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     postgresql
URL:            https://git.alcuinus.nl
HTTP Clone URL: https://git.alcuinus.nl/some-group/some-project.git
SSH Clone URL:  git@git.alcuinus.nl:some-group/some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        2.6.8
Repositories:   /var/opt/gitlab/git-data/repositories
Hooks:          /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:            /opt/gitlab/embedded/bin/git