Re: [gitorious] MySQL Failures

2010-11-18 Thread Michael Jackson

Got this again today

ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone  
away: INSERT INTO `events` (`data`, `created_at`, `body`, `target_id`,  
`project_id`, `updated_at`, `action`, `user_id`, `target_type`,  
`user_email`) VALUES('master', '2010-11-18 18:25:09', 'master changed  
from a0b2c4f to bf9ebef', 4, 2, '2010-11-18 18:25:09', 18, 14,  
'Repository', NULL)


/var/www/scm.bluequartz.net/gitorious/vendor/rails/activerecord/lib/ 
active_record/connection_adapters/abstract_adapter.rb:219:in `log'
	/var/www/scm.bluequartz.net/gitorious/vendor/rails/activerecord/lib/ 
active_record/connection_adapters/mysql_adapter.rb:323:in `execute'
	/var/www/scm.bluequartz.net/gitorious/vendor/rails/activerecord/lib/ 
active_record/connection_adapters/abstract/database_statements.rb: 
259:in `insert_sql'



On Nov 16, 2010, at 2:01 AM, Marius Mårnes Mathiesen wrote:

On Mon, Nov 15, 2010 at 8:28 PM, Michael Jackson imikejack...@gmail.com 
 wrote:
I merged in the mainline gitorious into my bluequartz clone.  
I'll see if that fixes the problems. Thanks for the heads up.


Mike,
Great stuff! As for stable branches, master should always be stable.

Cheers,
- Marius

--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] MySQL Failures

2010-11-15 Thread Michael Jackson
  I have not 'git pull origin' in a while because things _were_  
running just fine. What branch is the stable branch to merge from? I  
keep my own clone of gitorious on the 'imikejackson' branch.


Thanks
Mike Jackson


On Nov 15, 2010, at 5:40 AM, Marius Mårnes Mathiesen wrote:

On Thu, Nov 4, 2010 at 2:51 PM, Michael Jackson imikejack...@gmail.com 
 wrote:
I have been fighting this problem for a while now. Every once in a  
while I get the following error:


An exception occured in #PushEventProcessor:0xb5cfed14
.
ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone  
away: INSERT INTO `events`


I have added some ruby code as suggested by some google searches but  
I still get this error.


Mike,
We used to have this issue, but PushEventProcessor's on_message  
method calls verify_connections! which should ensure that the  
connections are open. Are you running the latest version of Gitorious?


Cheers,
- Marius

--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] MySQL Failures

2010-11-15 Thread Michael Jackson
I merged in the mainline gitorious into my bluequartz clone. I'll  
see if that fixes the problems. Thanks for the heads up.


Mike Jackson

On Nov 15, 2010, at 5:40 AM, Marius Mårnes Mathiesen wrote:

On Thu, Nov 4, 2010 at 2:51 PM, Michael Jackson imikejack...@gmail.com 
 wrote:
I have been fighting this problem for a while now. Every once in a  
while I get the following error:


An exception occured in #PushEventProcessor:0xb5cfed14
.
ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone  
away: INSERT INTO `events`


I have added some ruby code as suggested by some google searches but  
I still get this error.


Mike,
We used to have this issue, but PushEventProcessor's on_message  
method calls verify_connections! which should ensure that the  
connections are open. Are you running the latest version of Gitorious?


Cheers,
- Marius

--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] MySQL Failures

2010-11-15 Thread Marius Mårnes Mathiesen
On Mon, Nov 15, 2010 at 8:28 PM, Michael Jackson imikejack...@gmail.comwrote:

 I merged in the mainline gitorious into my bluequartz clone. I'll see
 if that fixes the problems. Thanks for the heads up.


Mike,
Great stuff! As for stable branches, master should always be stable.

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com