Re: Attachments are uploaded however not shown under files

2015-09-17 Thread abhinav gosavi
Here the error I just have in browser


https:///media/uploaded/files/2015/09/17/68788eba-94b1-4380-b9a9-2c4e42b37b7c__Screen_Shot_2015-09-17_at_1.57.46_PM.png
 
Failed to load resource: the server responded with a status of 404 (Not 
Found)

Here is my reviewboard.conf


cat /etc/httpd/conf.d/reviewboard.conf
LoadModule ssl_module modules/mod_ssl.so
Listen 443


ServerName 
ServerAlias 
DocumentRoot "/var/www/html/reviewboard/htdocs"

# make sure we are using canonical hostname
RewriteEngine on
RewriteCond %{HTTP_HOST} 
RewriteRule ^(.*)$ https:///$1 [R=302,L]

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias "/" "/var/www/html/reviewboard/htdocs/reviewboard.wsgi/"


AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all


# Prevent the server from processing or allowing the rendering of
# certain file types.

SetHandler None
Options None

AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 .phps .asp
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp .sh .rb


  php_flag engine off

  

  
SetHandler None
  

  # Alias static media requests to filesystem
  Alias /media "/var/www/html/reviewboard/htdocs/media"
  Alias /static "/var/www/html/reviewboard/htdocs/static"
  Alias /errordocs "/var/www/html/reviewboard/htdocs/errordocs"
  Alias /favicon.ico 
"/var/www/html/reviewboard/htdocs/static/rb/images/favicon.png"
  

  
  RewriteEngine on
  RewriteRule ^/(.*)$ https:///$1 [R=302,L]
  


Please let me where I am wrong. My some of uploaded files are getting 
placed under media folder, and some under static. Thanks.

On Wednesday, September 16, 2015 at 12:03:25 PM UTC-7, abhinav gosavi wrote:
>
> I just recently upgraded my reviewboard to latest stable version 2.0.20. 
> Everything seems fine except attachements.
>
> When I upload a file, it does get uploaded (I mean I see it under 
> .../reviewboard/htdocs/static/uploaded/files folder). However it is not 
> shown on RB. I don't see any error in logs too.
>
> Permission for attachements are 
>
> -rw-r--r--. 1 apache apache   7527 Sep 16 11:51 
>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: Attachments are uploaded however not shown under files

2015-09-17 Thread abhinav gosavi
Hello,

I did check initially only any errors on browser inspect elements. There 
was no errors. 

We use update-->add file functionality. Files does gets add. However weird 
thing I observed. Some time files get added to uploaded/files folder under 
media folder, and sometime uploaded/files under static folder. And seems 
like expect is should be present in static folder. 

How could I overcome this problem. If you wish I can paste my 
reviewboard.conf file.

Thanks.

On Wednesday, September 16, 2015 at 12:24:52 PM UTC-7, Christian Hammond 
wrote:
>
> Hi,
>
> So you're dragging files onto the review request page and uploading, and 
> the thumbnail never appears?
>
> Can you open the browser console log and repeat this, see if there are any 
> errors there or in the Network tab? If so, I'll need every bit of info 
> there: Error messages, HTTP request/response payloads, trackbacks.
>
> Thanks!
>
> Christian
>
>
> On Wednesday, September 16, 2015, abhinav gosavi  > wrote:
>
>> I just recently upgraded my reviewboard to latest stable version 2.0.20. 
>> Everything seems fine except attachements.
>>
>> When I upload a file, it does get uploaded (I mean I see it under 
>> .../reviewboard/htdocs/static/uploaded/files folder). However it is not 
>> shown on RB. I don't see any error in logs too.
>>
>> Permission for attachements are 
>>
>> -rw-r--r--. 1 apache apache   7527 Sep 16 11:51 
>>
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://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.
>>
>
>
> -- 
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: Attachments are uploaded however not shown under files

2015-09-16 Thread Christian Hammond
Hi,

So you're dragging files onto the review request page and uploading, and
the thumbnail never appears?

Can you open the browser console log and repeat this, see if there are any
errors there or in the Network tab? If so, I'll need every bit of info
there: Error messages, HTTP request/response payloads, trackbacks.

Thanks!

Christian


On Wednesday, September 16, 2015, abhinav gosavi 
wrote:

> I just recently upgraded my reviewboard to latest stable version 2.0.20.
> Everything seems fine except attachements.
>
> When I upload a file, it does get uploaded (I mean I see it under
> .../reviewboard/htdocs/static/uploaded/files folder). However it is not
> shown on RB. I don't see any error in logs too.
>
> Permission for attachements are
>
> -rw-r--r--. 1 apache apache   7527 Sep 16 11:51 
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>


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

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.