I have a CentOS server on which I have Apache 2.4, mod_wsgi 4.8 and Flask on python 3.6 (running though https). My app is running online fine except when I try to write to my SQLite database. I get the error of sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) attempt to write a readonly database
Searching through diferent posts it is recomended to change the owenership of the database and respective containing folder which I did (I even gave 777 permissions for the sake of testing)
I doubled checked the user running the server cross checking with the PID and confirmed its the user apache.
Here is the ssl_error_log:
Your help would be apreciated.
P.S. Sorry for the lack of formatting it's my first post.