isn't opcache disabled on cli?
Oh right, CLI uses a different php.ini and opcache is not enabled there. Then I don't know what happened, only that my attachments are gone since upgrading 1.6 to 1.7.
Wait, does the database upgrade happen via the CLI? After upgrading to 1.7 I visited my forum and got a form that asked me to input my database password. If that POST did the database upgrade, then it happened through FPM, not CLI.
Can you clarify why that table would have been dropped
My theory is that table should have been created by the 1.6 to 1.7 upgrade but was not. I thought because of opcache, but maybe there is some other reason.
At any rate, I have only 2 fof-upload tables: fof_upload_downloads and fof_upload_files. The discussion_id and post_id columns in both contain only NULL.
Is there a way to re-run the 1.6 to 1.7 database upgrade? I may need to restore those 2 fof-upload tables from a backup first.
I'm somewhat scared to think about what else might be broken. 🙁 I wonder if the database upgrade should require opcache to be turned off, if that indeed was the issue.