On Wed, Feb 4, 2009 at 10:47 AM, Victor Star <[email protected]> wrote: > > Hi Matt, > >> On Wed, Feb 4, 2009 at 12:45 AM, Victor Star <[email protected]> wrote: >>> >>> Hi guys, >>> >>> I'm new to Trac, this is my first installation. >>> So far I was able to configure everything but one thing: >>> Attachments don't work. The button is there, I select the file, submit the >>> form. >>> I see the page with the same button. No files attached to ticket, no files >>> on the disk, no erro >>> messages anywhere. >>> >>> I'm running Trac standalone as tracd on Open Suse. The project directory >>> permissions are fine (wwwrun:www) >>> including "attachments" directory. >>> I've followed all the steps for stand-alone installation and it worked like >>> a charm. Except >>> attachments. I've done my search - google, newsgroups, docs, wikis, >>> track-hacks. >>> I found couple unanswered messages in this very group 2 months ago and >>> that's it. >>> I would appreciate any help here. At least an error message anywhere would >>> be nice! >>> But - nothing.... >>> >>> Thanks in advance guys! >>> Victor >>> > >> Try turning debug on if it's not on and see if anything shows up in trac.log > > This is what I see in the log when sending an attachment: > ==- 8< > -======================================================================== > 2009-02-04 10:38:52,826 Trac[main] DEBUG: Dispatching <Request "POST > u'/attachment/ticket/49/'"> > 2009-02-04 10:38:52,855 Trac[chrome] DEBUG: Prepare chrome data for request > 2009-02-04 10:38:52,864 Trac[session] DEBUG: Retrieving session for ID > u'victor' > 2009-02-04 10:38:52,940 Trac[main] DEBUG: 471 unreachable objects found. > ==- 8< > -======================================================================== > > All permissions seem to be set properly as far as I can tell: > > ==- 8< > -======================================================================== > /srv/trac/project # ls -l > total 44 > -rw-r--r-- 1 wwwrun www 83 Feb 2 00:29 .htpasswd > -rw-r--r-- 1 wwwrun www 41 Jan 17 22:02 .htpasswd.copy > -rw-r--r-- 1 wwwrun www 98 Jan 17 15:47 README > -rw-r--r-- 1 wwwrun www 27 Jan 17 15:47 VERSION > drwxr-xr-x 2 wwwrun www 4096 Feb 4 10:35 attachments > drwxr-xr-x 2 wwwrun www 4096 Feb 4 10:03 conf > drwxr-xr-x 2 wwwrun www 4096 Feb 4 01:25 db > drwxr-xr-x 2 wwwrun www 4096 Jan 18 01:08 htdocs > drwxr-xr-x 2 wwwrun www 4096 Jan 17 22:11 log > drwxr-xr-x 2 wwwrun www 4096 Jan 17 15:47 plugins > drwxr-xr-x 2 wwwrun www 4096 Jan 17 15:47 templates > /srv/trac/project # > ==- 8< > -======================================================================== > > tracd is running under wwwrun: > ==- 8< > -======================================================================== > wwwrun 26174 0.0 0.9 230576 36008 ? S Jan18 8:03 > /usr/bin/python /usr/bin/tracd -d > --port 8000 -e /srv/trac --basic-auth=*,/srv/trac/project/.htpasswd, > ==- 8< > -======================================================================== > > Any clues? > > Thanks, > Victor >
What are the perms inside the attachments directory? Matt P. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
