Your uploads are probably being left in the old release. You should move them to a shared folder and symlink to them from your release directory. Something like this in your deploy recipe should work:
task :after_update_code, :roles => :app do run "ln -sf #{deploy_to}/shared/uploads #{release_path}/public/ uploads" end On Feb 12, 2007, at 2:54 PM, Vixiom wrote: > > Hi > > I have a site with an uploads folder 'public/uploads' and whenever I > deploy previous uploads disappear. I figure it's one of two things svn > is deleting them (but it's supposed to leave files it doesn't know > about alone) or the uploads are getting left behind in the old > release. > > Any ideas on what could be going wrong? How can I set the folder to be > ignored or the files moved to the new release? > > thanks! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---