Hi Christian,

I did that and the result is still the same ;]. I noticed also that when 
only the second site is enabled none of the two works so there's probably 
some config error on my side.

These are the two .confs i'm using:
        WSGIDaemonProcess wpo_site display-name=%{GROUP} processes=6 
threads=30
        WSGIProcessGroup wpo_site
        WSGIScriptAlias "/" 
"/var/www/reviews.wpo.com/htdocs/reviewboard.wsgi/" process-group=wpo_site 
application-group=%{GLOBAL}
        WSGIImportScript /var/www/reviews.wpo.com/htdocs/reviewboard.wsgi 
process-group=wpo_site application-group=%{GLOBAL} 

and
        WSGIDaemonProcess moe_site display-name=%{GROUP} processes=6 
threads=30
        WSGIProcessGroup moe_site
        WSGIScriptAlias "/moe" 
"/var/www/reviews.moe.com/htdocs/reviewboard.wsgi/moe" 
process-group=moe_site application-group=%{GLOBAL}
        WSGIImportScript /var/www/reviews.moe.com/htdocs/reviewboard.wsgi 
process-group=moe_site application-group=%{GLOBAL}

ServerName is 10.59.10.25in both and the rest are set with default values

I'll continue tackling the problem by checking all possible log files for 
errors next Monday. Please share if you think of some clue and 10x for the 
support.

Regards,
Nikolay


петък, 29 юни 2018 г., 23:36:55 UTC+3, Christian Hammond написа:
>
> Hi Nikolay,
>
> When running multiple WSGI-based sites, it's important to separate them 
> into Application Groups in the WSGI configuration. This looks something 
> like:
>
>     WSGIDaemonProcess my_site_1 display-name=%{GROUP} processes=6 
> threads=30
>     WSGIProcessGroup my_site_1
>     WSGIScriptAlias "/" "/var/www/site1/htdocs/reviewboard.wsgi" 
> process-group=my_site_1 application-group=%{GLOBAL}
>     WSGIImportScript /var/www/site1/htdocs/reviewboard.wsgi 
> process-group=my_site_1 application-group=%{GLOBAL}
>
> Replace "my_site_1" with whatever identifier you want to use for that 
> configuration. Both Review Boards should have that.
>
> Without this, both sites will share the same memory space, same settings, 
> etc. It'll be a bit random as to which "wins."
>
> Christian
>
> On Fri, Jun 29, 2018 at 8:46 AM Nikolay Dimitrov <nikolay.di...@gmail.com 
> <javascript:>> wrote:
>
>> Hello,
>>
>> I'm trying to setup 2 Review Board sites on one linux machine with one 
>> Apache server, one memcached etc...
>>
>> My machine is running Debian GNU/Linux 8.8 (jessie). I'm installing the 
>> site following this guide: 
>> https://www.reviewboard.org/docs/manual/dev/admin/installation/linux/
>>
>> The first site I installed runs perfectly. It's configured with Apache + 
>> mod_wsgi, MySql database and memcached server.
>>
>> I created a second database in mysql for the second site, ran rb-site 
>> install /var/www/site2../  and the first site stopped working. 
>>
>> When i delete the second site installation folder the first site starts 
>> working again with no data loss. Also after deleting the second site some 
>> process (with user www-data, so probably apache) continues to automatically 
>> recreate 
>> .../htdocs/static/ext/rbintegrations.extension.RBIntegrationsExtension/ 
>> folder and I'm not sure why it does that and how to stop it.
>>
>> Can you please point me to some tutorial on how to install 2 or more 
>> Review Board sites on one machine.
>>
>> If this is not something easily done can someone at least tell me how to 
>> remove traces of the second installation - particularly the rbintegrations 
>> folder that gets recreated in /var/www/site2.../....  
>>
>> Regards,
>> Nikolay
>>
>> -- 
>> 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 <javascript:>.
>> 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