Thanks Tim (and Christian) for the replies. Yes, you're correct. I'm running Apache with passenger under ubuntu 10.04 LTS. I checked what user the various passenger and rail processes were running under and a few of them were "nobody". I checked the permissions again and realised that the /var/tracks folder that's the root to my virtual host in apache had root as owner rather than www-data. The one folder i'd missed...
Changing that and deleting the -cache files in public has brought tracks back to life for me. my next job is to try again with my real tracks database... So far, this upgrade (including the addition of bundle) hasn't been at all easy for someone like me who is technical, but not a ruby guy! /James On 19 June 2012 02:59, Tim Madden <madden...@gmail.com> wrote: > Hi James, > I can't say for sure what the source of your trouble is but it definitely > looks permissions related. The permissions depend somewhat on the way you > are running the webserver for tracks. You mentioned apache which leads me > to suspect that you use apache with passenger as do I. For me, also on a > ubuntu server, the individual ruby processes run as my user, not apache's. > For me, my user / group owns everything inside the tracks directory. Hope > that helps! > Tim > > On Mon, Jun 18, 2012 at 4:03 PM, James Royal-Lawson <ja...@beantin.se>wrote: > >> Hello everyone, >> >> Yesterday I tried upgrading my Tracks installation on my Ubuntu server >> from 2.0 to 2.1. I'm not having much luck. So, I decided to attempt a clean >> install... but even that hasn't worked for me. >> >> I'm getting server 500 errors, and the log file says >> >> ActionView::TemplateError (Permission denied - >> /var/tracks/public/stylesheets/tracks-cached.css) on line #5 of >> app/views/layouts/standard.html.erb: >> >> It's made sure the apache user is owner and group and has read/write >> permissions everywhere - but that didn't help. >> >> I've tried creating the files using "touch" - which resulted in me >> getting into tracks, with no errors in the log file - but the three cache >> files haven't been updated - they are still zero length. >> >> Any suggestions? >> >> /James >> -- >> James Royal-Lawson >> Beantin webbkommunikation >> www.beantin.se | @beantin <http://twitter.com/beantin> >> +46 73 593 16 54 | ja...@beantin.se >> >> >> _______________________________________________ >> Tracks-discuss mailing list >> Tracks-discuss@lists.rousette.org.uk >> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss >> >> > -- James Royal-Lawson Beantin webbkommunikation www.beantin.se | @beantin <http://twitter.com/beantin> +46 73 593 16 54 | ja...@beantin.se
_______________________________________________ Tracks-discuss mailing list Tracks-discuss@lists.rousette.org.uk http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss