Open alexw668 opened 12 years ago
Repo cloning is performed in the background by Resque, so make sure you have started Resque. You can access Resque-Web at /resque
Joel Moss Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Monday, 5 March 2012 at 21:26, Alex Wang wrote:
Hi,
We tried to use your app for continuous deployment process. I got everything "working", was able to create a project, but then it got stuck on cloning the repository. After waiting for a while (till the "Cloning the repository. Please wait..." message was gone, I refreshed the project page, and it simply said there was an error occurred sometime ago, and no repo was cloned in vender/repos folder. I made sure that the folder was writable by the user who runs the strano app (as a matter of fact writable by everyone in the system). Any ideas why?
Thanks! Alex
Reply to this email directly or view it on GitHub: https://github.com/joelmoss/strano/issues/11
Thanks, it works when I ran the bundle exec to start Resque. Do you know how I can start Resque from an upstart job (meaning what to write in, say, /etc/init/resque.conf)? Thanks.
I was able to create and clone one git hub project, but when I tried to create another one, the project is no longer cloned. I can see that I have a resque worker running waiting for a job, but apparently no job is picked up. The process shows "resque-1.20.0: Waiting for *". Any idea why?
Thanks, Alex
More info: Right after I created a project, I can see the project being created (showing ID from the request URL, say, /projects/10), but the latest failed job showed this: Couldn't find Project with id=10 [WHERE "projects"."deleted_at" IS NULL]
Not sure why. Alex
I am having the same trouble... I manually installed resque, and added it to the routes.rb as it says on their installation guide...
but still, no job is being added to resque OR sidekiq
This is because after_create
callback, Strano uses to place a job, is database transaction dependent, see Use after_commit for more info. If shortly, this is because the worker may perform the job before the insert operation has been committed, this is exactly why @alexw668 getting Couldn't find Project with id=10
Hi,
We tried to use your app for continuous deployment process. I got everything "working", was able to create a project, but then it got stuck on cloning the repository. After waiting for a while (till the "Cloning the repository. Please wait..." message was gone, I refreshed the project page, and it simply said there was an error occurred sometime ago, and no repo was cloned in vender/repos folder. I made sure that the folder was writable by the user who runs the strano app (as a matter of fact writable by everyone in the system). Any ideas why?
Thanks! Alex