Problem with orders.db - file is not a database

afaik yes, see here

Please check, if your filesystem rights are correct. Doesn’t sound like that would be the case, when you have issues to move files.