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?

  • Do you mean is there a mechanism by which they are automatically loaded, once changed? – John Powell Jun 22 '15 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. – froggiewalker Jun 22 '15 at 10:38
  • did you try to restart apache? – nickves Jun 22 '15 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. – froggiewalker Jun 22 '15 at 12:40

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.

  • Yes, this question is 3 days old :-) – froggiewalker Jun 25 '15 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. – froggiewalker Jun 25 '15 at 12:06
  • If you make changes in local_settings.py (/etc/geonode) you have to restart Apache (run this command) to apply them – Rodrigo E. Principe Nov 6 '16 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.