View Issue Details

IDProjectCategoryView StatusLast Update
0006727OXID eShop (all versions)6. ------ Setup -------public2018-01-08 09:23
Reportermario_lorenz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version6.0.0 
Summary0006727: Installation without DemoData: Error Exception: The StreamOutput class needs a stream as its first argument
DescriptionDuring Install OXID6 CE i´ve got this error:

Fehler beim Ausführen des Kommandos 'Migration'. Returncode: '0'.
Das Kommando gibt folgende Meldung zurück:

The StreamOutput class needs a stream as its first argument.
FEHLER: (Demodaten)Probleme mit folgenden SQL Befehlen:

The installation stops.
Steps To ReproduceInstall OXID6 without Demodata
TagsNo tags attached.
Attached Files
ThemeAll
BrowserFirefox
PHP Version5.6
Database Version5.7

Activities

QA

2017-12-19 11:46

administrator   ~0012323

Last edited: 2017-12-20 08:40

I couldn't reproduce it.
But we had a similar case. This error occurred because the default charset was forced by the settings of the MySQL database. This shouldn't be. Please contact your provider to get this changed.

mario_lorenz

2018-01-05 09:21

developer   ~0012343

Dear Sir,

thanks for your note. I installed OXID6 on a WAMP-System. This makes me the provider myself. I checked the MySQL-DB and i found following. I have create the DB with Collation "utf8_general_ci", so i do it all time before. After the broken setup, i checked the DB again and i found that one of the new oxid-DBs ("oxmigrations_ce") has the collation "utf8_unicode_ci".
I change the Collation of the DB to "utf8_unicode_ci" and start the setup again. And now it works and the setup finished correctly.
BUT, I looked at the DB again. All Tables, except one, have the !Collation "utf8_general_ci"!. Only the "oxmigrations_ce" has "utf8_unicode_ci".

That is not consistent.

Either the Collation of all tables depends on the database, or the installscript checks on "utf_unicode_ci" and then installs all tables with "utf_unicode_ci". Both solutions would be Ok.

Can you check again?

QA

2018-01-08 08:55

administrator   ~0012347

Last edited: 2018-01-08 09:23

It's correct that "oxmigrations_ce" has "utf8_unicode_ci" while the other tables uses "utf8_general_ci". However, whether I create my database with "utf8_general_ci" or "utf8_unicode_ci" the installation finishes successfully. I couldn't reproduce your problem -> I close this issue, but you could create a new issue refering to the inconsistent collation, if you want.