0

Is there a command or interface where I can restart GeoNode or reload GeoNode settings? Is it even necessary or are the settings (in geonode/settings.py) loaded instantly?

4
  • Do you mean is there a mechanism by which they are automatically loaded, once changed? Jun 22, 2015 at 10:23
  • I do. Or any option to make it manually. I made some changes in settings.py, but it doesn't seem to be applied. Jun 22, 2015 at 10:38
  • did you try to restart apache?
    – nickves
    Jun 22, 2015 at 11:48
  • Yes, I did. I'am afraid that there is a problem somewhere else, but it would be another question. Still, I wanted to know the restart / reload command and settings changes handling. Jun 22, 2015 at 12:40

1 Answer 1

1

even though this question is old I stumbled upon it through a google search, and found the answer elsewhere (and way later):

use the following command in the ubuntu shell:

sudo service apache2 restart

to restart apache and get the settings.py reloaded.

3
  • Yes, this question is 3 days old :-) Jun 25, 2015 at 11:58
  • This shell command restarts the whole Apache server. See the comments under the question, about restarting Apache. It works, but it doesn't seem to be necessary. I think settings.py is reloaded automatically. Jun 25, 2015 at 12:06
  • If you make changes in local_settings.py (/etc/geonode) you have to restart Apache (run this command) to apply them Nov 6, 2016 at 4:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.