Just released 8.8.2 which should fix this issue:
https://about.gitlab.com/2016/05/25/gitlab-8-dot-8-dot-2-released/

On Tue, May 24, 2016 at 6:37 AM, Magnus Therning <mag...@cipherstone.com>
wrote:

>
> I upgraded our gitlab-ce to 8.8.1 yesterday. We run it in a Docker
> container (the official image, gitlab/gitlab-ce). Since the upgrade
> backups fail:
>
> ~~~
> root@gitlab:/etc/gitlab# gitlab-rake gitlab:backup:create
> Dumping database ...
> Dumping PostgreSQL database gitlabhq_production ... [DONE]
> done
> Dumping repositories ...
>  * foo/foo ... [DONE]
>  * magnus/foo ... [DONE]
>  * davids/foo ... [DONE]
>  * davidt/foo ... [DONE]
>  * gauthier/foo ... [DONE]
> done
> Dumping uploads ...
> done
> Dumping builds ...
> done
> Dumping artifacts ...
> done
> Dumping lfs objects ...
> done
> Dumping container registry images ...
> rake aborted!
> Errno::ENOENT: No such file or directory @ realpath_rec -
> /var/opt/gitlab/gitlab-rails/shared/registry
> /opt/gitlab/embedded/service/gitlab-rails/lib/backup/files.rb:9:in
> `realpath'
> /opt/gitlab/embedded/service/gitlab-rails/lib/backup/files.rb:9:in
> `initialize'
> /opt/gitlab/embedded/service/gitlab-rails/lib/backup/registry.rb:6:in
> `initialize'
> /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:185:in
> `new'
> /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:185:in
> `block (4 levels) in <top (required)>'
> /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:17:in
> `block (3 levels) in <top (required)>'
> Tasks: TOP => gitlab:backup:registry:create
> (See full trace by running task with --trace)
> ~~~
>
> This looks related to the new cool registry feature. Since I don't have
> time right now to set it up properly I modified the configuration to
> disable it completely by following the instructions at [1].
>
> After that I first reconfigured, and then restarted. Still, backups fail
> with the output above!
>
> Then I created the directory
> /var/opt/gitlab/gitlab-rails/shared/registry manually:
>
> ~~~
> mkdir -p /var/opt/gitlab/gitlab-rails/shared/registry
> chown git:git /var/opt/gitlab/gitlab-rails/shared/registry
> ~~~
>
> After which the backup succeeded!
>
> /M
>
> [1]:
> http://docs.gitlab.com/ce/administration/container_registry.html#disable-container-registry-site-wide
>
> --
> Magnus Therning,  magnus.thern...@cipherstone.com
> Cipherstone Technologies AB
> Theres Svenssons gata 10, 417 55 Gothenburg, Sweden
>
> Finagle's Fifth Law:
> Always draw your curves, then plot your readings.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/87iny38tl9.fsf%40sobel.cipherstone.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAKHqFBzWWasutyGCDHTjSbjdOsfbC%3DkNwB2H1nFH_N5YS3BmQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to