You can use the set-siteconfig management command, like so:

    rb-site manage $sitedir set-siteconfig -- --key=site_media_root
--value=...

Note the -- before the first flag. This is currently necessary for ensuring
the arguments are passed to set-siteconfig and not rb-site.

Christian


On Thu, Jun 27, 2019 at 03:04 Steve <[email protected]> wrote:

>
> Also console log.
>
> (index):28 GET
> http://10.132.40.199/reviewboard/static/rb/css/common.min.4a69e5741dc4.css
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):52 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-migrate-1.2.1.min.eb05d8d73b5b.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):256 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-ui-1.8.24.custom.min.f6148fb67d77.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):258 GET
> http://10.132.40.199/reviewboard/static/lib/js/3rdparty.min.1719e20827dd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):259 GET
> http://10.132.40.199/reviewboard/static/djblets/js/jquery.gravy.min.e24d040808fd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):260 GET
> http://10.132.40.199/reviewboard/static/djblets/js/utils.min.84b7b8c324db.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):261 GET
> http://10.132.40.199/reviewboard/static/djblets/js/extensions.min.1d8986b3c3cd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):100 GET
> http://10.132.40.199/reviewboard/static/rb/images/logo.cc81d3ae01b2.png
> 404 (NOT FOUND)
> (index):51 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-1.11.1.min.8101d596b2b8.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):52 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-migrate-1.2.1.min.eb05d8d73b5b.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):262 GET
> http://10.132.40.199/reviewboard/static/rb/js/base.min.af574b99af97.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):256 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-ui-1.8.24.custom.min.f6148fb67d77.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):258 GET
> http://10.132.40.199/reviewboard/static/lib/js/3rdparty.min.1719e20827dd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):259 GET
> http://10.132.40.199/reviewboard/static/djblets/js/jquery.gravy.min.e24d040808fd.js
> 404 (NOT FOUND)
> (index):260 GET
> http://10.132.40.199/reviewboard/static/djblets/js/utils.min.84b7b8c324db.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):261 GET
> http://10.132.40.199/reviewboard/static/djblets/js/extensions.min.1d8986b3c3cd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):262 GET
> http://10.132.40.199/reviewboard/static/rb/js/base.min.af574b99af97.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):264 Uncaught ReferenceError: RB is not defined
>     at (index):264
> (anonymous) @ (index):264
>
>
>
>
>
>
> On Thursday, 27 June 2019 10:19:58 UTC+1, Steve wrote:
>>
>> Hi Christian,
>>
>> Hm, the paths seem to have old references as well as new. site_media_root
>> is definitely a throw back from the original install. Originally
>> reviewboard was running on Gentoo and I created a working clone under
>> Ubuntu with a reviewboard default directory structure. All seemed to work
>> fine until the upgrade from 1.6.. to 3.0.. At that point the directory
>> structure changed so I assume these paths are not part of the upgrade
>> process.
>>
>> "logging_directory": "/var/log/reviewboard"
>> "site_media_root": "/var/www/localhost/htdocs/reviewboard/htdocs/media",
>> "site_static_root": "/var/www/reviewboard/htdocs/static",
>> "site_static_url": "/reviewboard/static/",
>> "site_media_url": "/reviewboard/media/",
>>
>> Where can I modify these.
>>
>> ------------------------
>>
>> DEBUG = False
>>
>>
>> Steve.
>>
>>
>>
>>
>> On Thursday, 27 June 2019 01:04:29 UTC+1, Christian Hammond wrote:
>>>
>>> Hi,
>>>
>>> Can you show me one of the URLs it’s trying to load (say, a CSS file)?
>>>
>>> Also, two things to check:
>>>
>>> 1) Make sure you have the following in your
>>> $sitedir/conf/settings_local.py
>>>
>>>     DEBUG = False
>>>
>>> 2) Run this and look at the paths that are set. Make sure they are what
>>> you expect:
>>>
>>>     rb-site manage $sitedir list-siteconfig
>>>
>>> Christian
>>>
>>>
>>> On Wed, Jun 26, 2019 at 09:06 Steve <[email protected]> wrote:
>>>
>>>> Yes all present and correct.
>>>>
>>>>
>>>>
>>>>
>>>> On Wednesday, 26 June 2019 16:39:44 UTC+1, Paul Mansfield wrote:
>>>>>
>>>>> check you have the following mappings in your apache config for
>>>>> reviewboard
>>>>>
>>>>> # Alias static media requests to filesystem
>>>>> Alias /media "/var/www/reviewboard/htdocs/media"
>>>>> Alias /static "/var/www/reviewboard/htdocs/static"
>>>>> Alias /errordocs "/var/www/reviewboard/htdocs/errordocs"
>>>>> Alias /favicon.ico
>>>>> "/var/www/reviewboard/htdocs/static/rb/images/favicon.png"
>>>>>
>>>>>
>>>>>
>>>>> --
>>>> 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].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/reviewboard/3519b207-35bb-46b1-bd41-442c4e5d29a4%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/reviewboard/3519b207-35bb-46b1-bd41-442c4e5d29a4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag
>>> Makers of Review Board
>>>
>> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/00413b2c-ce38-45b7-afd5-889d38fabe01%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/00413b2c-ce38-45b7-afd5-889d38fabe01%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3DjH5yXcuaYfUcP6jC9YNRPYMqH6hkhDoMNoCx_aiFBQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to