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 <
[email protected]> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to