librelist archives

« back to archive

geonode updatelayers

geonode updatelayers

From:
jude mwenda
Date:
2011-09-29 @ 09:11
Hi,
I noticed that upon running geonode updatelayers, this is after changing the
SITE_URL in the local_settings.py file, the data/search url turns out to be
broken. One has to restart apache for the page to resume t its state. Any
one seen this?

-- 
Regards,

Jude Mwenda
Skype id: jmwenda
Twitter: www.twitter.com/judemwenda
Web: www.africangeogeek.com

"Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
Johann Wolfgang von Goethe

Re: [geonode] geonode updatelayers

From:
David Winslow
Date:
2011-09-29 @ 13:49
Yes, this is normal behavior for Apache with mod_wsgi - part of the point of
mod_wsgi is that it does not re-interpret your Python scripts (including
settings) for each page view.  I'm told that updating the timestamp on the
.wsgi script should trigger a reload:
# touch /var/www/geonode/wsgi/geonode.wsgi

but this technique doesn't seem to work well for me and I usually just
restart the server.  It's entirely possible I'm missing a crucial detail
though, I've not spent much time troubleshooting it.

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Sep 29, 2011 at 5:11 AM, jude mwenda <judemwenda@gmail.com> wrote:

> Hi,
> I noticed that upon running geonode updatelayers, this is after changing
> the SITE_URL in the local_settings.py file, the data/search url turns out to
> be broken. One has to restart apache for the page to resume t its state. Any
> one seen this?
>
> --
> Regards,
>
> Jude Mwenda
> Skype id: jmwenda
> Twitter: www.twitter.com/judemwenda
> Web: www.africangeogeek.com
>
> "Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
> Johann Wolfgang von Goethe
>