Hi Alfred,

Sorry, I’ve been out much of this past week.

So the paths are correct now, according to the access logs, but they’re still 
not downloading. What do you see now when it tries to download? Can you show me 
some access_log entries?

Can you also show the permissions on every directory/file leading up to one of 
the files that isn’t downloading, starting at $sitedir/htdocs/media/uploaded/ ?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On September 3, 2014 at 10:21:42 AM, Alfred von Campe (alf...@von-campe.com) 
wrote:

Bump!  Just refreshing this thread to see if anyone has any ideas why I still 
can’t download attachments.

Alfred



On Aug 26, 2014, at 20:22, Christian Hammond <christ...@beanbaginc.com> wrote:

Can you try changing the media URL to have a ‘/‘ as a suffix? So: 
/rb/htdocs/media/, instead of /rb/htdocs/media.

I did this, restarted the web server, and tried to download the attachment 
again.  It still failed, but the access_log file shows that it’s trying to 
download it from the correct directory:

  /rb/htdocs/media/uploaded/files/2014/07/29/…

So clearly something changed for the better, yet I still can’t download 
attachments.  Any suggestions for next steps on how to debug this?  I verified 
that the file it’s trying to download does exist on the web server’s file 
system by cutting and pasting the path shown in the access_log file and 
appending it to the web server root directory (/var/www/html).

Some more data: in /etc/http/conf.d/rb.conf the DocumentRoot is defined as 
/var/www/html/rb/htdocs.  Should the media URL be relative to this?  Everything 
else appears to be working fine...

--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to