I am simply trying to backup a ruby on rails app... I have created an archive of the entire database and application folders on server A... I then restore the database and application folders on server B.... Server B is exactly the same as A (same OS, same ruby, gems, etc...) However when I go to the site on server B, all I see is: Welcome aboard You’re riding Ruby on Rails! I''ve checked and all of the files are in the folders, the DB has data in it, I''ve rebooted apache... What else do I need to do? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Is the Apache config the same, is the routes.rb correctly configured? On Mar 20, 2010 7:03 PM, "nshenry03" <nshenry03-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: I am simply trying to backup a ruby on rails app... I have created an archive of the entire database and application folders on server A... I then restore the database and application folders on server B.... Server B is exactly the same as A (same OS, same ruby, gems, etc...) However when I go to the site on server B, all I see is: Welcome aboard You’re riding Ruby on Rails! I''ve checked and all of the files are in the folders, the DB has data in it, I''ve rebooted apache... What else do I need to do? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe@googlegroups.com> . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe I''m stating the obvious, but it seems to suggest that you have simply not backup/copied the public directory, and so your app is picking up public/index.html. If public/index.html exists, just delete it. On Mar 20, 1:33 am, nshenry03 <nshenr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am simply trying to backup a ruby on rails app... I have created an > archive of the entire database and application folders on server A... > I then restore the database and application folders on server B.... > > Server B is exactly the same as A (same OS, same ruby, gems, etc...) > > However when I go to the site on server B, all I see is: > > Welcome aboard > You’re riding Ruby on Rails! > > I''ve checked and all of the files are in the folders, the DB has data > in it, I''ve rebooted apache... > > What else do I need to do?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Yes and Yes On Mar 20, 5:25 am, David Chua <zhc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is the Apache config the same, is the routes.rb correctly configured? > > On Mar 20, 2010 7:03 PM, "nshenry03" <nshenr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I am simply trying to backup a ruby on rails app... I have created an > archive of the entire database and application folders on server A... > I then restore the database and application folders on server B.... > > Server B is exactly the same as A (same OS, same ruby, gems, etc...) > > However when I go to the site on server B, all I see is: > > Welcome aboard > You’re riding Ruby on Rails! > > I''ve checked and all of the files are in the folders, the DB has data > in it, I''ve rebooted apache... > > What else do I need to do? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscrib e@googlegroups.com> > . > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 20 March 2010 00:33, nshenry03 <nshenry03-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am simply trying to backup a ruby on rails app... I have created an > archive of the entire database and application folders on server A... > I then restore the database and application folders on server B.... > > Server B is exactly the same as A (same OS, same ruby, gems, etc...) > > However when I go to the site on server B, all I see is: > > Welcome aboard > You’re riding Ruby on Rails! >If you see that message, then you still have a public/index.html file which should have been gone a long time ago! Delete that (or rename it) and then see what error you get. Cheers, Andy -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks Andy and ayupmeduck... Yes, this was the issue (Sorry, I''m mostly a LAMP guy, this was probably pretty obvious to Rails developers)... In our clean scripts we were running a command to create a new Rails project before we restored. I got rid of this and started with a clean folder and everything works great now. Thanks again! On Mar 23, 1:08 am, Andy Jeffries <andyjeffr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 20 March 2010 00:33, nshenry03 <nshenr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I am simply trying to backup a ruby on rails app... I have created an > > archive of the entire database and application folders on server A... > > I then restore the database and application folders on server B.... > > > Server B is exactly the same as A (same OS, same ruby, gems, etc...) > > > However when I go to the site on server B, all I see is: > > > Welcome aboard > > You’re riding Ruby on Rails! > > If you see that message, then you still have a public/index.html file which > should have been gone a long time ago! > > Delete that (or rename it) and then see what error you get. > > Cheers, > > Andy-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.