@Commifreak wrote:
Hi
I try out OJS3 currently, so I've copied the working 2.4.8.1 to a test server and adapted the whole config to reflect all OJS3 changes.I'm stuck at
php tools/upgrade.php upgrade
:$ php tools/upgrade.php upgrade [pre-install] [load: upgrade.xml] [version: 3.0.2.0] [code: Installer Installer::syncSeriesAssocType] [data: dbscripts/xml/upgrade/2.4.0_preupdate_usageStatistics.xml (skipped)] [data: dbscripts/xml/upgrade/2.4.0_preupdate_usageStatistics2.xml] [data: dbscripts/xml/upgrade/3.0.0_preupdate.xml] [data: dbscripts/xml/upgrade/3.0.0_adaptTimedViews.xml (skipped)] [data: dbscripts/xml/upgrade/3.0.0_adaptReferrals.xml] [data: dbscripts/xml/upgrade/3.0.0_adaptBooksForReview.xml] [data: dbscripts/xml/upgrade/remove_timed_views_bots.xml (skipped)] [code: Installer Installer::migrateCounterPluginUsageStatistics] <h1>DB Error: Unknown column 'pkp_section_id' in 'field list'</h1>ojs2: DB Error: Unknown column 'pkp_section_id' in 'field list'
I have absolutely no idea. Whats wrong here?
Thanks in advance!
EDIT:
Stacktrace:
<h1>DB Error: Unknown column 'pkp_section_id' in 'field list'</h1><h4>Stack Trace:</h4> <strong>File:</strong> /var/www/ojs3.jki.intern/lib/pkp/classes/statistics/PKPMetricsDAO.inc.php line 331<br /> <strong>Function:</strong> DAO->update("INSERT INTO metrics (load_id, assoc_type, assoc_id, metric_type,...", Array(13))<br /> <br/> <strong>File:</strong> /var/www/ojs3.jki.intern/classes/install/Upgrade.inc.php line 498<br /> <strong>Function:</strong> PKPMetricsDAO->insertRecord(Array(7))<br /> <br/> <strong>File:</strong> (unknown) line (unknown)<br /> <strong>Function:</strong> Upgrade->migrateCounterPluginUsageStatistics(Object(Upgrade), Array(2))<br /> <br/> <strong>File:</strong> /var/www/ojs3.jki.intern/lib/pkp/classes/install/Installer.inc.php line 415<br /> <strong>Function:</strong> call_user_func(Array(2), Object(Upgrade), Array(2))<br /> <br/> <strong>File:</strong> /var/www/ojs3.jki.intern/lib/pkp/classes/install/Installer.inc.php line 265<br /> <strong>Function:</strong> Installer->executeAction(Array(3))<br /> <br/> <strong>File:</strong> /var/www/ojs3.jki.intern/lib/pkp/classes/install/Installer.inc.php line 186<br /> <strong>Function:</strong> Installer->executeInstaller()<br /> <br/> <strong>File:</strong> /var/www/ojs3.jki.intern/lib/pkp/classes/cliTool/UpgradeTool.inc.php line 88<br /> <strong>Function:</strong> Installer->execute()<br /> <br/> <strong>File:</strong> /var/www/ojs3.jki.intern/lib/pkp/classes/cliTool/UpgradeTool.inc.php line 64<br /> <strong>Function:</strong> UpgradeTool->upgrade()<br /> <br/> <strong>File:</strong> /var/www/ojs3.jki.intern/tools/upgrade.php line 34<br /> <strong>Function:</strong> UpgradeTool->execute()<br /> <br/> ojs2: DB Error: Unknown column 'pkp_section_id' in 'field list'
Posts: 3
Participants: 2