Try 7.8.1, there was a bad db migration in 7.8.0 related to services that got fixed.
Best regards, Sytse Sijbrandij CEO GitLab B.V. On Tue, Feb 24, 2015 at 9:39 AM, Justin Yaple <[email protected]> wrote: > I just tried to upgrade from 7.3.x to 7.8.0 using Omnibus on a CentOS 6 > machine. > > After installing the Omnibus package I tried to run gitlab-ctl reconfigure. > It fails with the following... > > Running handlers: > [2015-02-24T09:29:42-08:00] ERROR: Running exception handlers > Running handlers complete > > [2015-02-24T09:29:42-08:00] ERROR: Exception handlers complete > [2015-02-24T09:29:42-08:00] FATAL: Stacktrace dumped to > /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out > Chef Client failed. 48 resources updated in 36.926670079 seconds > [2015-02-24T09:29:42-08:00] ERROR: bash[migrate gitlab-rails database] > (gitlab::database_migrations line 19) had an error: > Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but > received '1' > ---- Begin output of "bash" "/tmp/chef-script20150224-46613-1ezj4wx" ---- > STDOUT: rake aborted! > StandardError: An error has occurred, this and all later migrations > canceled: > > undefined local variable or method `template' for > #<SlackService:0x0000000422fe80> > NameError: undefined local variable or method `template' for > #<SlackService:0x0000000422fe80> > > Tasks: TOP => db:migrate > (See full trace by running task with --trace) > == 20140125162722 AddAvatarToProjects: migrating > ============================== > -- add_column(:projects, :avatar, :string) > -> 0.1108s > == 20140125162722 AddAvatarToProjects: migrated (0.1110s) > ===================== > > == 20140914113604 AddMembersTable: migrating > ================================== > -- create_table(:members) > -> 0.1971s > -- add_index(:members, :type) > -> 0.0122s > -- add_index(:members, :user_id) > -> 0.0113s > -- add_index(:members, :access_level) > -> 0.0112s > -- add_index(:members, [:source_id, :source_type]) > -> 0.0109s > == 20140914113604 AddMembersTable: migrated (0.2431s) > ========================= > > == 20140914145549 MigrateToNewMembersModel: migrating > ========================= > -- execute("INSERT INTO members ( user_id, source_id, source_type, > access_level, notification_level, type ) SELECT user_id, group_id, > 'Namespace', group_access, notification_level, 'GroupMember' FROM > users_groups") > -> 0.0024s > -- execute("INSERT INTO members ( user_id, source_id, source_type, > access_level, notification_level, type ) SELECT user_id, project_id, > 'Project', project_access, notification_level, 'ProjectMember' FROM > users_projects") > -> 0.0015s > == 20140914145549 MigrateToNewMembersModel: migrated (0.0040s) > ================ > > == 20140914173417 RemoveOldMemberTables: migrating > ============================ > -- drop_table(:users_groups) > -> 0.0343s > -- drop_table(:users_projects) > -> 0.0040s > == 20140914173417 RemoveOldMemberTables: migrated (0.0385s) > =================== > > == 20141006143943 MoveSlackServiceToWebhook: migrating > ======================== > STDERR: > ---- End output of "bash" "/tmp/chef-script20150224-46613-1ezj4wx" ---- > Ran "bash" "/tmp/chef-script20150224-46613-1ezj4wx" returned 1 > [2015-02-24T09:29:42-08:00] FATAL: Chef::Exceptions::ChildConvergeError: > Chef run process exited unsuccessfully (exit code 1) > > > > I took a snapshot of our GitLab VM before installing the Omnibus package and > right after taking a full backup so I can revert back quickly. Is this a > regression of the bug in 7.6.1/7.6.2? > https://about.gitlab.com/2014/12/23/gitlab-7-6-1-released/ > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/5eee354a-3fd0-4bc8-879a-aee948b53ed4%40googlegroups.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAJTzhG9q3LPRn2hyhuY88T2w5-Yd3Ob%3D6Po5XiMW0Vg_6%3DUQ3A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
