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 11:15:57 PM CDT, Andre Foote <[email protected]> > 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/region/country/process_import/ >> *Django Version*: 3.0.10 >> *Exception Type*: FileNotFoundError >> *Exception Value*: >> [Errno 2] No such file or directory: '/tmp/tmpu31qxebf' >> *Exception Location*: >> /usr/local/lib/python3.8/site-packages/import_export/tmp_storages.py >> in open, line 29 >> *Python Executable*: /usr/local/bin/python >> *Python Version*: 3.8.3 >> >> I understand from the Django docs >> <https://docs.djangoproject.com/en/3.2/topics/http/sessions/#using-file-based-sessions> >> that >> when using File-based sessions, one must check that their "web server has >> permissions to read and write to this location" (I'm not sure how/where to >> enforce this, in my initial post, I tried to enforce inheritence of folder >> permissions but that didn't work - any pointers would be appreciated.) >> >> However I'm using the default configuration for sessions that's supposed >> to be database-backed. >> On Tuesday, April 27, 2021 at 9:52:03 PM UTC+2 Ryan Nowakowski wrote: >> >>> >>> >>> On April 26, 2021 11:31:24 PM CDT, Andre Foote <[email protected]> >>> 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 received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f4bcccbc-17b9-4507-9b17-7c477f0193aan%40googlegroups.com.

