question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[django] Internal server error / permission denied

See original GitHub issue

I’ve noticed a periodic internal server error on some instances.

At first sight it seems that some processes crash and exit because they can’t write to logs for permission reasons. It seems the permission of some logs change from www-data to root at some point. Further investigation is needed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nemesisdesigncommented, Oct 23, 2020

After https://github.com/openwisp/ansible-openwisp2/commit/17a9099b895d4fc90314737cf341cd776f58c01a I have not noticed this problem anymore, so I think it’s ok to close this issue now, I will reopen if I encounter it again.

1reaction
nemesisdesigncommented, Jan 18, 2019

@atb00ker the problem I found manifests on running instances, not during installation, the only thing we can do now is collect information and understand how to replicate this issue, if it can be replicated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django + Apache Internal Server Error: Permission denied
What's the LOG_ROOT in the settings look like? I feel like your app is trying to access the absolute directory /debug.log which is...
Read more >
Django + Apache Internal Server Error: Permission denied ...
[Solved]-Django + Apache Internal Server Error: Permission denied-django ... The problem is in your settings.py in the file, in the section that controls...
Read more >
Django Deployment on Ubuntu 16.04 with web server Nginx
The "permission denied" error is/was probably caused by the absence of the socket (/home/teddycrepineau/contoursandcolors/contoursandcolors.sock). This socket ...
Read more >
Django admin Server Error (500) when saving
Your app wasn't able to restart properly due to its tmp/uwsgi.pid being out of sync. I fixed that by running cd ~/apps/ibp; pgrep...
Read more >
Permission error on live server - Using Django
You then need to verify that if the file doesn't exist in the identified location, where it does exist and modify the code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found