SQL Database Is Readonly

Hello, My SQL decided to stop working and when I try to log in I get “Invalid Request” So I checked my roundcube logs and found this DB Error: [8] attempt to write a readonly database (SQL Query: INSERT INTO "session" Can someone please help!

FIXED!!! After a day of headaches. The fix was “sudo chmod -R a+rwxt /home/user-data/”
I cant even begin to know how this even happened in the first place :laughing:

AFTER DOING SO PLEASE DO sudo chown mail:mail -R /home/user-data/mail/
IF YOU DONT MAIL WILL NOT BE READABLE