Ok, finally figured it out. Somehow under site configuration, the following 
entries were set incorrectly:

  "site_media_root": "/var/www/html/pe-reviewboard-sf-01v/htdocs/media",
  "site_static_root": "/var/www/html/pe-reviewboard-sf-01v/htdocs/static",

Instead of "/var/www/html/pe-reviewboard-sf-01v/..." they were pointing at 
"/var/www/pe-reviewboard-sf-01v/..."

Not sure how and when this change happened but it is all good now.

Thanks
-Selim

On Tuesday, April 17, 2018 at 5:06:58 PM UTC-7, Selim Tuvi wrote:
>
> I have now changed all folders leading to "avatars" to be owned by 
> apache:apache, the avatar image files are now being created but the web 
> server is not able to access them:
>
> 10.66.43.212 - - [18/Apr/2018:00:02:05 +0000] "GET 
> /media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg 
> HTTP/1.1" 404 273 "http://pe-reviewboard-sf-01v/account/preferences/"; 
> "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
> Chrome/63.0.3239.132 Safari/537.36"
>
> [root@pe-reviewboard-sf-01v st]# ls -al 
> /var/www/pe-reviewboard-sf-01v/htdocs/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg
> -rw-r--r-- 1 apache apache 179553 Apr 17 17:02 
> /var/www/pe-reviewboard-sf-01v/htdocs/media/uploaded/avatars/s/st/stuvi__422164f6-ca3f-4dad-b47e-6da5c54c3eaa.jpg
>
> -Selim
>
> On Tuesday, April 17, 2018 at 4:19:06 PM UTC-7, Selim Tuvi wrote:
>>
>> I made sure that each directory in the hierarchy is owned by owner 
>> "apache" group "root". The permissions are "drwxr-xr-x". There is an 
>> ".htaccess" file under $sitedir/htdocs/media that is owned by root. Could 
>> that be causing a problem?
>>
>> -Selim
>>
>> On Tuesday, April 17, 2018 at 2:44:20 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Selim,
>>>
>>> With GitLab, you don't need any kind of file access to the repository, 
>>> and don't need cgit/GitWeb. Those are only required for standalone Git 
>>> repositories. Glad it's working :)
>>>
>>> Avatar images should upload fine so long as directory permissions are 
>>> correct throughout $sitedir/htdocs/media/uploaded/. What are you seeing?
>>>
>>> Christian
>>>
>>> On Tue, Apr 17, 2018 at 10:01 AM, 'Selim Tuvi' via Review Board 
>>> Community <revie...@googlegroups.com> wrote:
>>>
>>>> Hi Christian, we just tried 3.0.6 and it works out of the box with our 
>>>> GitLab server without having to use cgit/GitWeb and we don't have the 
>>>> repositories directly accessible via file paths. So somehow the API access 
>>>> works fine!
>>>>
>>>> Also, do you know why we can not upload any avatar images? Is that a 
>>>> known issue?
>>>>
>>>> Thanks
>>>> -Selim
>>>>
>>>>
>>>> On Monday, April 16, 2018 at 1:43:54 PM UTC-7, Selim Tuvi wrote:
>>>>>
>>>>> Thank you Christian, we'll give 3.0.5 a try.
>>>>>
>>>>> -Selim
>>>>>
>>>>> On Friday, March 23, 2018 at 12:49:40 AM UTC-7, Christian Hammond 
>>>>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We had a regression that came up very late in the release and broke 
>>>>>> part of the repository form. We just put out 3.0.5 (announcements coming 
>>>>>> in 
>>>>>> the morning) that address this. Try upgrading and see if it works any 
>>>>>> better for you.
>>>>>>
>>>>>> For self-hosted Git repositories not directly accessible via file 
>>>>>> paths by the Review Board server, you do need cgit/GitWeb. The reason is 
>>>>>> that Git's network protocol is *very* limited, and doesn't allow the 
>>>>>> same 
>>>>>> kind of queries that most other types of source code management systems 
>>>>>> use. We have a new, open source product in the works designed to give 
>>>>>> self-hosted Git repositories a functional API and deeper integration 
>>>>>> hooks. 
>>>>>> We're working on some of the last bits needed before we can release that.
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>> On Thu, Mar 22, 2018 at 9:16 AM, 'Selim Tuvi' via Review Board 
>>>>>> Community <revie...@googlegroups.com> wrote:
>>>>>>
>>>>>>> Hi, we are in the process of evaluating Review Board 3.0.4 and 
>>>>>>> wanted to try the GitLab integration.
>>>>>>>
>>>>>>> We have a self hosted GitLab CE installatin. When I try to add the 
>>>>>>> repository, I don't get to pick any values from the "Repository Plan". 
>>>>>>> See 
>>>>>>> attached image.
>>>>>>>
>>>>>>> And if I try to save it, I get an error about the plan.
>>>>>>>
>>>>>>> Also, I read here 
>>>>>>> <https://www.reviewboard.org/docs/manual/3.0/admin/configuration/repositories/git/#repository-scm-git-gitweb>
>>>>>>>  
>>>>>>> that for self hosted Git repositories we need to use GitWeb or cgit. Is 
>>>>>>> that still the case?
>>>>>>>
>>>>>>> Thanks
>>>>>>> -Selim
>>>>>>>
>>>>>>> -- 
>>>>>>> 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 "Review Board Community" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to reviewboard...@googlegroups.com.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Christian Hammond
>>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>>
>>>>> -- 
>>>> 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 "Review Board Community" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to reviewboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>>

-- 
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 
"Review Board Community" 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