Problem solved
I have removed all the old sessions and had to give read/write permissions to the moodledata folder. I thought that I already did that but apparently not.
Problem solved
I have removed all the old sessions and had to give read/write permissions to the moodledata folder. I thought that I already did that but apparently not.