Welcome Guest | Login

Stupid newbie mistake

While doing my first Capistrano install, I totally missed the comment (and the script code) that removes public_html and replaces it with a link.  Not a huge deal, only had a WordPress blog in there that I can re-install, but what's wierd, is that the blog still show up at www.mgmblog.com.  I would expect that it would have been wiped with the following rm command.

task :start, :roles => :app do
   run "rm -rf /home/#{user}/public_html;ln -s #{current_path}/public /home/#{user}/public_html"
end


But when I do an ls on ~, public_html is definitly a link to the empty 'system' directory.  Any thoughts on this?  Any way to 'quickly' get my blog back to public_html (next time I'll back it up!)

2007-10-05 05:53 PM

I can see that public_html has been replaced by a symlink and your blog also is missing. The site http://www.mgmblog.com is showing an error at our end. I think you were able to view your blog due to browser caching.

I am sorry to let you know that we don't have any back up which will help you to retrieve your data.

2007-10-05 06:04 PM

HostingRails Support

Hello Guest! In order to post you must be an active client with us, please log in or sign up.