! [remote rejected] HEAD -> refs/for/LEARNING_PORTAL (database error)

124 views
Skip to first unread message

Jameria21

unread,
Aug 17, 2011, 12:21:53 PM8/17/11
to Repo and Gerrit Discussion
We started getting this error without warning. One minute it was
working, then it wasn't. We don't see anything wrong with the
database, but we bounced it anyway. We even restarted the gerrit
server. Any ideas?

R. Tyler Croy

unread,
Aug 17, 2011, 3:12:09 PM8/17/11
to Jameria21, Repo and Gerrit Discussion

Be sure to double-check the error_log on the Gerrit server to see what's going
on there too, that /should/ contain some useful information

- R. Tyler Croy
--------------------------------------
Code: http://github.com/rtyler
Chatter: http://identi.ca/agentdero
http://twitter.com/agentdero

Jameria21

unread,
Aug 17, 2011, 3:50:37 PM8/17/11
to Repo and Gerrit Discussion
Thank you.

I looked in the error_log and in the ugly error that was a message
about tyring to insert duplicate primary key. It ended up being the
change_id. Somehow the autoincrementer on the change_id table got
messed up. So we fixed that and then it started working again.
>  application_pgp-signature_part
> < 1KViewDownload
Reply all
Reply to author
Forward
0 new messages