Re: Can't download attachments

2014-09-03 Thread Alfred von Campe
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.


Re: Can't download attachments

2014-09-03 Thread Christian Hammond
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.


Re: Can't download attachments

2014-08-28 Thread Alfred von Campe
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 that and reported back that it still wasn't working (although it appears 
that the web server is accessing the right directory now).  More details in my 
previous post.  Any suggestions on how to proceed debugging this issue?

Thanks,
Alfred

-- 
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.


Re: Can't download attachments

2014-08-26 Thread Alfred von Campe
On Aug 25, 2014, at 10:25, I wrote:

 I've successfully migrated a ReviewBoard instance from version 1.6 running on 
 CentOS 5 to version 1.7.25 running on CentOS 6.  Well, almost successfully: 
 we can't download attachments from the new instance.  The apache logs show 
 that it is looking for the files in /rb/htdocs/uploaded/files/... whereas the 
 files are in /rb/htdocs/media/uploaded/files/...  The Media URL is configured 
 as /rb/htdocs/media in the General System Settings page.  What am I missing?

Does anybody have any ideas why the attachments are trying to be downloaded 
from the wrong place?

Alfred


-- 
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.


Re: Can't download attachments

2014-08-26 Thread Christian Hammond
Can you try changing the media URL to have a ‘/‘ as a suffix? So: 
/rb/htdocs/media/, instead of /rb/htdocs/media.

- Christian

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

On August 26, 2014 at 5:14:05 PM, Alfred von Campe (alf...@von-campe.com) wrote:

On Aug 26, 2014, at 18:27, David Trowbridge trowb...@gmail.com wrote:  

 Can you run 'rb-site manage /path/to/site list-siteconfig' and send us the 
 output?  

Sure, see attached.  

Alfred  




--  
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.