Since yesterday I’m trying to start with a new Neos site but I can’t create a blank site package neither with the setup tool nor with the command line. I get this error since Janurary’19, Neos 4.2 I think.
Last time I solved it with removing the distributionPackages in the repositories section in composer.json but I think that can’t be a permanent solution.
The only issue I am aware of is a configured private packagist in the repositories section. A fix for that is in the 5.2 brach but still has to be upmerged and released.
Other than the private-packagist issue I am not aware of problems. How does your setup look and what commands did you execute?
Now I just made a clean, new Neos project. I jumped right into the setup without installing custom repositories or making any changes. However, in the setup when creating a new site package I get an error again. It’s just a 500. So what I found in the logs:
CRITICAL Exception in line 673 of /var/www/example.com/Packages/Framework/Neos.Flow/Classes/Package/PackageManager.php: Argument 5 passed to Neos\Flow\Package\PackageFactory::create() must be of the type array, null given, called in /var/www/example.com/Packages/Framework/Neos.Flow/Classes/Package/PackageManager.php on line 673 - See also: 201904250734156eea5b.txt
My System: Debian 9.8, PHP 7.2, Composer 1.8.5
Since Neos 4.3 another problem on my system is that I have to manually do a ./flow cache:warmup, otherwise the setup page has no CSS and JS.
I hope you have a better overview no and thanks for the help!
Matthias
Oh and this it says in the further logs: 29 Neos\Flow\Package\PackageFactory::create("/var/www/example.com/Packages/", NULL, NULL, "vendor/examplecom", NULL, NULL)
The package was created successful with both commands (the package and kickstart). The packages were created in DistributionPackages and symlinked in Packages/Sites. Looks perfect!
However I just tested it with the setup tool and I still get the same error…
I can work with the command now on my project, but it would be interesting what causes the setup tool to fail.