[TYPO3-german] Typo3 Neos Site Import with Vagrant and Puppet

Rene zwinge at psy-grafix.com
Thu Jan 8 09:44:13 CET 2015


Hallo zusammen,
ich habe mir eine Vagrant Box gebaut, die mit Puppet alles Nötige konfiguriert bekommt.
Es funktioniert auch alles soweit. Am Ende des Prozesses möchte ich gerne die Sites.xml aus einem Package importieren.
Hierzu führe ich den Befehl aus:

exec { 'typo3.neos:site:import':
  cwd     => '/vagrant/www',
  user    => 'vagrant',
  command => 'sudo php ./flow typo3.neos:site:import --package-key Vendor.Website
',
  timeout => 1800
}

Als Fehler kommt zurück:

Error: During the import of the "Sites.xml" from the package "Vendor.Website
" an exception occurred: Error: Package "Vendor.Website
" is not active.

Wenn ich mich anschließend per "vagrant ssh" auf die VM anmelde und im Verzeichnis "/vagrant/www" exakt den selben Befahl ausführe, dann funktioniert es.
Die PackageStates.php liegt im Ordner Configuration vor und das Paket ist als Active markiert. Ich habe mir schon den Code vom Neos Package für den Import Command angeguckt und den Code bis zum Flow Package mit dem Package Manager weiterverfolgt und konnte auf Anhieb kein Problem finden.

Hat jemand eine Idee, was das Problem sein könnte, bzw. wie ich Debugging betreiben könnte um herauszufinden, was evtl. passiert? In den Logs steht nichts.

Danke schon mal :)

Gruß Rene


More information about the TYPO3-german mailing list