View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006646 | OXID eShop (all versions) | 6. ------ Setup ------- | public | 2017-06-01 13:42 | 2017-06-23 13:46 |
Reporter | rmaekeler | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 6.0.0-rc.1 | ||||
Summary | 0006646: Error while generating view during setup | ||||
Description | When trying to install the Oxid-EE I get an error while views are being generated during setup. After tracing the error a bit, my guess is that the scripts that add new database-fields for the upgrade to EE get executed AFTER setup tries to generating views which causes it to fail. | ||||
Steps To Reproduce | 1. composer create-project --no-dev oxid-esales/oxideshop-project my_oxid_eshop_project dev-b-6.0-beta-ee ...into web-folder of developement-vm 2. start setup process 3. click through until step 5 and error is thrown | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Not defined | ||||
Browser | Google Chrome | ||||
PHP Version | Other | ||||
Database Version | 5.6 | ||||
|
You can see from the exception message that the field "oxserial" does not yet exist in the "oxshops" table and therefore the setup can not be completed successfully. Because the Community Edition is the base, the field is not in the database. So the migration of CE -> PE -> EE has not yet been executed yet. This suggests that the bash scripts are not running properly. The statement to execute the migration scripts is in the file composer.json: "Scripts": { [...] "Oe: migration: run": "oe-eshop-facts oe-eshop-db_migrate" "Oe: migration: new": "oe-eshop-facts oe-eshop-db_generate_migration" "Oe: views: regenerate": "oe-eshop-facts oe-eshop-db_views_regenerate" } The files containing the SQL changes are located at the following location: vendor / oxide esales / oxides shop-pe / migration / data / Version20160919103142_ce_to_pe.php vendor / oxide esales / oxides shop-ee / migration / data / Version20160919103142_pe_to_ee.php Since the queries execute the SQL command "Alter table", the database user should be checked for sufficient rights. This might have been rejected by the database when you changed the table. Corresponding notes should be found in the activated MySQL log. |