On 10/29/2014 10:39 AM, Amree Zaid wrote: > Hello, I got errors when I tried to upgrade from 7.2.1 to 7.4.2 (using > Omnibus package for GitLab CE on Debian). > > These are my last errors: > > | > Running handlers: > [2014-10-29T16:14:00+08:00] ERROR: Running exception handlers > Running handlers complete > > [2014-10-29T16:14:00+08:00] ERROR: Exception handlers complete > [2014-10-29T16:14:00+08:00] FATAL: Stacktrace dumped to > /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out > Chef Client failed. 52 resources updated in 18.575012681 seconds > [2014-10-29T16:14:00+08:00] ERROR: bash[migrate database] > (gitlab::database_migrations line 26) had an error: > Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], > but received '1' > ---- Begin output of "bash" "/tmp/chef-script20141029-21125-vpewxo" ---- > STDOUT: == 20140903115954 MigrateToNewShell: migrating > ================================ > rake aborted! > StandardError: An error has occurred, this and all later migrations > canceled: > > Validation failed: Webhook can't be blank > ActiveRecord::RecordInvalid: Validation failed: Webhook can't be blank > > Tasks: TOP => db:migrate > (See full trace by running task with --trace) > Repositories updated with new hooks > == 20140903115954 MigrateToNewShell: migrated (0.3956s) > ======================= > > == 20140907220153 SerializeServiceProperties: migrating > ======================= > -- add_column(:services, :properties, :text) > -> 0.0286s > STDERR: > ---- End output of "bash" "/tmp/chef-script20141029-21125-vpewxo" ---- > Ran "bash" "/tmp/chef-script20141029-21125-vpewxo" returned 1 > [2014-10-29T16:14:00+08:00] FATAL: Chef::Exceptions::ChildConvergeError: > Chef run process exited unsuccessfully (exit code 1) > | > > > How can I get my GitLab up and running again? Thanks in advance. >
The database migrations are failing. First make sure postgres is running: `gitlab-ctl start postgresql`, then run the migrations manually with `gitlab-rake db:migrate`. reconfigure, restart and hope this is resolved :) -- GPG : 0x3A7DDABC985EDC6E Blog: http://axilleas.me -- 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/5450FC4C.6080600%40gmail.com. For more options, visit https://groups.google.com/d/optout.