These settings are stored in the database. What’s happening when you run
list-siteconfig?

Christian


On Sat, Jun 29, 2019 at 01:53 Steve <steveb1...@gmail.com> wrote:

> The test site I created within 3.0..showed the same as you describe so I
> tried /static/ and /media/ but still get the same error message. Trouble is
> I now cant run list-siteconfig on the site i'm upgrading so cant check
> other settings for conflicts. What settings should I set that relate to
> domain, only I cant see anything in the test site that would give me a
> clue. Or are we talking about settings in another file.
>
>
> Steve.
>
>
>
>
> On Saturday, 29 June 2019 05:37:08 UTC+1, Christian Hammond wrote:
>>
>> Hi Steve,
>>
>> The URL parameters are used to build the URLs to media files. They must
>> be a path relative to the domain, or the absolute path to a server (CDN)
>> serving the files. You’re going to want to only set the “root” equivalents.
>>
>> Try setting site_static_url to /static/ and site_media_url to /media/.
>>
>> Christian
>>
>>
>> On Thu, Jun 27, 2019 at 05:03 Steve <steve...@gmail.com> wrote:
>>
>>> re-set site_media_root and tried again but still the same issue.
>>>
>>> re-set site_static_url and then tried site_madia_url but keep getting
>>> this back
>>>
>>>
>>>
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Djblets-1.0.12-py2.7.egg/djblets/siteconfig/django_settings.py",
>>> line 326, in apply_django_settings
>>>     setter(settings, setting_key, value)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line
>>> 242, in __setattr__
>>>     setattr(self._wrapped, name, value)
>>>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
>>> line 110, in __setattr__
>>>     raise ImproperlyConfigured("If set, %s must end with a slash" % name)
>>> django.core.exceptions.ImproperlyConfigured: If set, MEDIA_URL must end
>>> with a slash
>>>
>>>
>>> svnadmin@NEO-SVN-SVR:/var/www/reviewboard$ sudo rb-site manage
>>> /var/www/reviewboard set-siteconfig -- --key=site_media_url
>>> --value=/var/www/reviewboard/htdocs/media/
>>>
>>>
>>>
>>>
>>> can't seem to get a list-siteconfig without the same error.
>>>
>>>
>>> Steve.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thursday, 27 June 2019 12:17:49 UTC+1, Christian Hammond wrote:
>>>>
>>>> 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
>>>>
>>>>
>>>> --
>>> 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 revie...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/reviewboard/b0436597-3995-4349-ad4a-15b8d28615dd%40googlegroups.com
>>> <https://groups.google.com/d/msgid/reviewboard/b0436597-3995-4349-ad4a-15b8d28615dd%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 reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/74f2e570-c63a-49d0-a80f-e39966539536%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/74f2e570-c63a-49d0-a80f-e39966539536%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 reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vndn%2Bkn%3D%3DTnSBuO-J%2BebVaqRoPYZGo7kVO_pXDxdYwsThmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to