There are situations where I have problem with repository clone
operation.
Web interfaces shows never ending message "Clonning repository ..."

In these situations, only way out are these steps:
1. delete that repository (via web interface)
2. script/poller stop
3. script/poller start
4. repeat cloning operation

I see these messages in message processing log:


Repository 226 is the one with never ending "Cloning .." message:

$script/pooler stop

g...@gitorious:/var/www/gitorious$ tail log/message_processing.log
...
Processor: Repository(226)::clone_git_repository(["28c/
cf0/59bfff9d64fe1cc3dc6aaaee0fb3db14f8.git",
"6b4/7c1/720e737164da5522e1015fad383227f7f2.git"]..)
SystemExit: exit
    /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:57:in `sleep'
    /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging/gateway.rb:57:in `start'
    /var/www/gitorious/vendor/plugins/activemessaging/lib/
activemessaging.rb:109:in `start'
    /var/www/gitorious/vendor/plugins/activemessaging/poller.rb:14
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons/application.rb:176:in `load'
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons/application.rb:176:in `start_load'
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons/application.rb:253:in `start'
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons/controller.rb:69:in `run'
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons.rb:139:in `run'
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons/cmdline.rb:105:in `call'
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons/cmdline.rb:105:in `catch_exceptions'
    /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/
daemons.rb:138:in `run'
    script/poller:30
Cleaning up...
ActiveMessaging: thread[default]: Processing Stopped - receive
interrupted, will process last message if already received
ActiveMessaging: thread[default]: receive loop terminated
=> Unsubscribing from /queue/GitoriousRepositoryArchiving (processed
by RepositoryArchivingProcessor)
=> Unsubscribing from /queue/GitoriousSshKeys (processed by
SshKeyProcessor)
=> Unsubscribing from /queue/GitoriousRepositoryDeletion (processed by
RepositoryDeletionProcessor)
=> Unsubscribing from /queue/GitoriousRepositoryCreation (processed by
RepositoryCreationProcessor)
=> Unsubscribing from /queue/GitoriousMergeRequestCreation (processed
by MergeRequestProcessor)
=> Unsubscribing from /queue/GitoriousPushEvent (processed by
PushEventProcessor)
=> Unsubscribing from /queue/GitoriousEmailNotifications (processed by
MessageForwardingProcessor)
=> END

Then I say

$script/poller start

=> Subscribing to /queue/GitoriousRepositoryArchiving (processed by
RepositoryArchivingProcessor)
=> Subscribing to /queue/GitoriousSshKeys (processed by
SshKeyProcessor)
=> Subscribing to /queue/GitoriousRepositoryDeletion (processed by
RepositoryDeletionProcessor)
=> Subscribing to /queue/GitoriousRepositoryCreation (processed by
RepositoryCreationProcessor)
=> Subscribing to /queue/GitoriousMergeRequestCreation (processed by
MergeRequestProcessor)
=> Subscribing to /queue/GitoriousPushEvent (processed by
PushEventProcessor)
=> Subscribing to /queue/GitoriousEmailNotifications (processed by
MessageForwardingProcessor)
Processor deleting Git repository ["28c/
cf0/59bfff9d64fe1cc3dc6aaaee0fb3db14f8.git"]
Processor: Repository(227)::clone_git_repository(["beb/5ae/
5f793cdf7d46bd4798a378b019c1a66557.git",
"6b4/7c1/720e737164da5522e1015fad383227f7f2.git"]..)

Repository 227 is the succesfull one clone.

There are some "dead circle" situations which are terminated only with
poller/stop, poller/start commands.

Regards, Ernad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to