I have been tasked with migrating a python web application to another Linux server. Frustratingly, the entire database is sqlite3. I have moved all related code and database files to the new server and set up the environment. Python does not seem to be able to open the database files as I get this message when running the app:
OperationalError: unable to open database file
I have checked the following:
- All paths are correct, the database connection is made.
- Read/Write permission is open to all users on the files for testing
One difference between the servers is, the old server has sqlite 3.5.6 and the new one has 3.6.20. Would there be file compatibility issues here? If so, is there a way to convert the database files to be compatible? Is there another problem I may be overlooking?