Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-06-13 Thread Ryan Nowakowski
You probably don't want to use file-based sessions if you're load balancing your application across multiple nodes. If your session gets created on one application node, how will the other application nodes have access to it? This might work if you have access to each file-based session on every

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-06-08 Thread Andre Foote
Because this is all coming from when I enabled sessions and the server admin tried to implement the application on multiple nodes. On Wednesday, April 28, 2021 at 6:41:24 PM UTC+7 Ryan Nowakowski wrote: > What makes you think this has anything to do with Django sessions? > > > On April 27, 2021

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-28 Thread Ryan Nowakowski
What makes you think this has anything to do with Django sessions? On April 27, 2021 11:15:57 PM CDT, Andre Foote wrote: >FileNotFoundError at /admin/region/country/process_import/ >[Errno 2] No such file or directory: '/tmp/tmpu31qxebf' >*Request Method*: POST >*Request URL*: http://myurl/admin/

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-27 Thread Andre Foote
FileNotFoundError at /admin/region/country/process_import/ [Errno 2] No such file or directory: '/tmp/tmpu31qxebf' *Request Method*: POST *Request URL*: http://myurl/admin/region/country/process_import/ *Django Version*: 3.0.10 *Exception Type*: FileNotFoundError *Exception Value*: [Errno 2] No su

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-27 Thread Ryan Nowakowski
On April 26, 2021 11:31:24 PM CDT, Andre Foote wrote: >However, the application crashes with the error stating that it is >unable >to read the session data stored in "/tmp". Please post the full error including any exception messages and the full Python trace back if available. -- You rec

DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-27 Thread Andre Foote
I've wired up a Django 3.0.1 Application using the default, DB-backed session configurations. MIDDLEWARE has "django.contrib.sessions.middleware.SessionMiddleware", INSTALLED_APPS has "django.contrib.sessions". During file import (using django-import-export) I see that while session records are