Project

General

Profile

Actions

Task #3810

closed

Crashreport - Permission to write to a folder in filesystem

Added by Juan José González 24 days ago. Updated 23 days ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

Hi,

I would like to write files to the filesystem, to /srv/crashreport/uploads/.
And inside let the app to create a folder structure like /srv/crashreport/uploads/<YEAR>/<MONTH>/<text_files>

Thank you in advance

PS. I was able to write to /srv/crashreport/temp, try to replicate the permissions but I was not able to make it work.

Actions #1

Updated by Guilhem Moulin 23 days ago

  • Status changed from New to Closed

Done (the directory needs to be marked RW in the .service file too).

Saw that the new django complained about ALLOWED_HOSTS not being a list, so I hard-coded the hostname in settings.py. Looks like uwsgi isn't happy with the new setup, but since you're working on it I didn't look further. Feel free to bounce it back to me if I should investigate.

Actions

Also available in: Atom PDF