Unable to install or upgrade master (SQL migrations?)
ZaneA opened this issue · 12 comments
Hopefully I'm just missing something, I'm unable to get master (i.e. 4.3.x) running locally, it looks like there is some problem with the SQL migrations, I have tried installing into an empty database, as well as upgrading from a 4.2.2 database, and both fail in a similar way.
Logs (log/install.log and log/upgrade.log):
I also tried merging the patches in #702 and #703 but this didn't change much.
Any advice would be great, thanks!
what error you have on clean master install?
for now master installation is not finished but i would be happy to help you.
Thanks, the error that was shown was:
[2014-06-04 16:11:39] myapp.CRITICAL: RuntimeException:
[Doctrine\DBAL\DBALException]
An exception occurred while executing 'SELECT t0.Id AS Id1, t0.Name AS Name2, t0.Details AS Details3, t0.type AS type4, t0.installed_with AS installed_with5, t0.Description AS Description6, t0.Version AS Version7, t0.author AS author8, t0.license AS license9, t0.Enabled AS Enabled10, t0.installed_at AS installed_at11, t0.updated_at AS updated_at12 FROM Plugins t0': SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.Id' in 'field list'
[PDOException]
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.Id' in 'field list'
cache:clear [--no-warmup] [--no-optional-warmers] (uncaught exception) at /vagrant/newscoop/library/Newscoop/Installer/Services/DemositeService.php line 67 {"exception":"[object] (RuntimeException:
[Doctrine\\DBAL\\DBALException]
An exception occurred while executing 'SELECT t0.Id AS Id1, t0.Name AS Name2, t0.Details AS Details3, t0.type AS type4, t0.installed_with AS installed_with5, t0.Description AS Description6, t0.Version AS Version7, t0.author AS author8, t0.license AS license9, t0.Enabled AS Enabled10, t0.installed_at AS installed_at11, t0.updated_at AS updated_at12 FROM Plugins t0':
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.Id' in 'field list'
[PDOException]
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.Id' in 'field list'
cache:clear [--no-warmup] [--no-optional-warmers]\n\n\n at /vagrant/newscoop/library/Newscoop/Installer/Services/DemositeService.php:67)"} []
Here is a screenshot:
looks like our bug in demo tables - i will check it tomorrow morning! thanks!
Thanks Paweł, much appreciated!
sorry - i need some more time.
No problem, thanks for the update :)
I taked some time ;/ sorry for that - we've ben bussy making performance fixes. Installer is back on table - https://dev.sourcefabric.org/browse/CS-5445.
@ZaneA if you are still there then you can try install latest master from @takeit master branch.
git pull https://github.com/takeit/Newscoop.git master
Thanks Paweł, we ended up using Newscoop 4.2.x for now but I will try this again soon and let you know how I get on.
Looks good! Will try to test this weekend for you :)