Yes, this is a bug. You can work around the issue:

https://gitlab.com/gitlab-org/gitlab-ce/issues/2052#note_1667899

On Wednesday, July 22, 2015, Eirik Lygre <eirik.ly...@gmail.com> wrote:

> Seeing 7.13 being released, we thought we'd upgrade. It did not go so
> well. Some relevant fragments from the log:
>
>
> [centos@ ~]$ sudo yum update gitlab-ee
>
> ...
>
> Resolving Dependencies
>
> --> Running transaction check
>
> ---> Package gitlab-ee.x86_64 0:7.12.2~ee.omnibus.1-1 will be updated
>
> ---> Package gitlab-ee.x86_64 0:7.13.0-ee.0.el7 will be an update
>
> --> Finished Dependency Resolution
>
> ...
>
> [2015-07-22T11:59:27+00:00] INFO:
> remote_file[/var/opt/gitlab/gitlab-rails/VERSION] sending run action to
> bash[migrate gitlab-rails database] (delayed)
>
>
> ================================================================================
>
> Error executing action `run` on resource 'bash[migrate gitlab-rails
> database]'
>
>
> ================================================================================
>
> Mixlib::ShellOut::ShellCommandFailed
>
> ------------------------------------
>
> Expected process to exit with [0], but received '1'
>
> ---- Begin output of "bash" "/tmp/chef-script20150722-24106-rn2qrw" ----
>
> STDOUT: rake aborted!
>
> StandardError: An error has occurred, this and all later migrations
> canceled:
>
> PG::DuplicateColumn: ERROR: column "session_expire_delay" of relation
> "application_settings" already exists
>
> : ALTER TABLE "application_settings" ADD COLUMN "session_expire_delay"
> integer DEFAULT 10080 NOT
> NULL/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in
> `async_exec'
>
>
> Any tips?
>
>
> Eirik
>
> --
> 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
> <javascript:_e(%7B%7D,'cvml','gitlabhq%2bunsubscr...@googlegroups.com');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/cb5f7deb-d026-4b72-b823-3f202e1b9643%40googlegroups.com
> <https://groups.google.com/d/msgid/gitlabhq/cb5f7deb-d026-4b72-b823-3f202e1b9643%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAMBWrQ%3DoAQSwigbXJP%2BHAt4ZwghgmkDYA4xbQOaf90eMpuniyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to