Question

My Server keeps crashing every time I open a django form

I have followed the tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04 but have included the postGIS extension with one change in that I have created the env in my user (su sammy) account instead of as root, when testing the application it open fine for all static pages but when opening a page with a form on it the server crashes.

How do I find out why the server is crashing or resolve the issue?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @stiofficeteam,

Can you please specify what you mean by your Droplet crashing? Is it any specific service that fails and you need to restart it, is it your Droplet that you need to reboot?

Additionally, if there is a specific service, have you checked the logs of them or not? Most specifically, it would be best to provide the list of services that are crashing in order to provide you with some useful advice in such cases.

Regards, KFSys