it sounds like this is a bit off topic, but what i would do is<br><br>1) verify that the code in /var/www/WebApp-demo/ is the demo code you expect it to be.&nbsp; if it is, then ccrb is working.<br><br>2) stop the server at 8080, so only the demo one should be working and look at what should be the demo from a browser
<br><br>3) delete the source for /var/www/WebApp/ and look at the demo in a browser<br><br>.<br>.<br>.<br><br>These things are hard to track down, just keep going and question all your assumptions.<br><br>Good luck,<br><br>
Jeremy<br><br><div><span class="gmail_quote">On 4/18/07, <b class="gmail_sendername">Gedanken</b> &lt;<a href="mailto:gedanken@io.com">gedanken@io.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I don&#39;t know where the error is, but I apologize if this is off topic.&nbsp;&nbsp;Im<br>just at my wits end and too new to RoR and CruiseControl to get much<br>further.<br><br>I have an installation with cruisecontrol.rb and a project Ill call
<br>WebAbb.&nbsp;&nbsp;Cc.rb seemed to be workign fine, and I was using a build_my_app<br>script in my config to do extra cool stuff, like use Capistrano to deploy<br>it from /usr/local/cruisecontrol/projects/WebApp to /var/www/WebApp, and
<br>copy over a database.yml, etc.&nbsp;&nbsp;Everything was working great.<br><br>Then, I created a second project in cc.rb, which was the DEMO svn tag of<br>the same project.&nbsp;&nbsp;It deploys to /var/www/WebApp-demo/<br><br>Cruise control seemed to handle it great... and I fire up a second web
<br>server with a slightly different lighttpd.conf file to serve it up.&nbsp;&nbsp;I<br>made it so port 80 serves the demo version, and 8080 serves up the latest<br>HEAD of the project so we have sort of a test and staging situation.
<br><br>The problem is this - the web server on 8080 is serving up the wrong<br>pages.&nbsp;&nbsp;There are radical differences between the DEMO and HEAD<br>versions, so it is immediately obvious visually.&nbsp;&nbsp;It is not using the code
<br>in WebApp.&nbsp;&nbsp;It is not using the code in WebAppDemo.&nbsp;&nbsp;I have NO IDEA where<br>it is getting the code it is displaying.<br><br>It feels like something somewhere has old versions cached, fastcgi I<br>assume.&nbsp;&nbsp;i have tried killing and restarting everything under the sun.
<br>Suspiciously, I dont see a fastcgi process for the HEAD (the one thats<br>messed up), just demo<br><br>root@envy:/var/www/WebApp/current/log# ps -ef | grep dispatch<br>bob&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;18089 27406&nbsp;&nbsp;6 Apr13 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;07:19:53 ruby
<br>/usr/local/cruisecontrolrb-1.0.0/public/dispatch.fcgi<br>bob&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8858 28176&nbsp;&nbsp;0 07:55 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;00:00:02 /usr/local/bin/ruby<br>/var/www/WebApp-demo/current/public/dispatch.fcgi<br><br>Where is my WebApp dispatch.fcgi
?&nbsp;&nbsp;Why is this workign at all without it?<br>Where is it gettign these radically out of date (but clearly from HEAD not<br>DEMO) pages to serve??<br><br>Ive checked every log I can think of and restarted everything, even<br>
installing these projects from scratch after blowing away the directories.<br><br>Help??<br><br>--<br>gedanken<br>_______________________________________________<br>Cruisecontrolrb-users mailing list<br><a href="mailto:Cruisecontrolrb-users@rubyforge.org">
Cruisecontrolrb-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users">http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users</a><br></blockquote></div><br>