I am trying to run a django project and the following error is displayed: ‘The session storage path ‘/home/billy/myapps/my_server/../my_server/sessions’ doesn’t exist. Please set your SESSION_FILE_PATH setting to an existing directory in which Django can store session data.’
I have tried googling out whats the problem but u have not found a specific answer to my problem. Any assistance is highly appreciated.
Thanks
The error message looks pretty clear to me. Solution 0:
Create the directory
/home/billy/myapps/my_server/sessionsFigure what user runs Django, ie. with
ps auxcommand,Give rwx permissions to that user on that directory.
Solution 1: use database backed sessions – in that case remove
settings.SESSION_ENGINEto restore the default.