I have the same error as @D_S . I am upgrading from 3.3.0-8 to 3.4.0-1 on the latest version of XAMPP on Windows and get:
[A pre-flight check failed. The software was successfully upgraded to 3.3.9.9 but could not be upgraded further (to 3.4.0.1). Check and correct the error, then try again.]
ERROR: Upgrade failed: DB: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘at.assoc_type’ in ‘where clause’ (SQL: select distinct at.type_id from announcement_types as at left join journals as c on at.assoc_id = c.journal_id where c.journal_id is null or at.assoc_type <> 256)
I looked at Error upgrade OJS to 3.4 - #4 by marc, but it talks about changing the email section in the config and changing the database type from mysqli to mysql. Changing mysqli to mysql didn’t help, the error is the same. Upgrade check shows the updated db version and no errors:
c:\xampp\htdocs\journal>php tools\upgrade.php check
Code version: 3.4.0.1
Database version: 3.3.9.9
Latest version: 3.4.0.1
Database version is older than code version
Run “tools\upgrade.php upgrade” to update
What else could I try to be able to upgrade?