I tried to upgrade from 3.3 to 4.0.
At ./flow flow:cache:flush --force I get
$ ./flow flow:cache:flush --force
PHP Notice: Undefined index: psr3 in /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Scripts.php on line 249
PHP Fatal error: Uncaught Error: Class name must be a valid object or a string in /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Scripts.php:255
Stack trace:
#0 [internal function]: Neos\Flow\Core\Booting\Scripts::initializeSystemLogger(Object(Neos\Flow\Core\Bootstrap))
#1 /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Step.php(52): call_user_func(Array, Object(Neos\Flow\Core\Bootstrap))
#2 /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Sequence.php(107): Neos\Flow\Core\Booting\Step->__invoke(Object(Neos\Flow\Core\Bootstrap))
#3 /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Sequence.php(111): Neos\Flow\Core\Booting\Sequence->invokeStep(Object(Neos\Flow\Core\Booting\Step), Object(Neos\Flow\Core\Bootstrap))
#4 /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Sequence.php(111): Neos\Flow\Core\Booting\Seq in /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Scripts.php on line 255
In frontend I get
PHP Fatal error: Cannot inherit previously-inherited or override constant DIRECTORY_CLASSES from interface Neos\Flow\Package\PackageInterface in /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Package/FlowPackageInterface.php on line 17
I can flush the cache now also by CLI. But I get still this Exception:
$ ./flow flow:cache:flush --force
Force-flushed caches for "Development" context.
$ ./flow database:setcharset
PHP Fatal error: Cannot inherit previously-inherited or override constant DIRECTORY_CLASSES from interface Neos\Flow\Package\PackageInterface in /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Package/FlowPackageInterface.php on line 17
Type: Neos\Flow\Core\Booting\Exception\SubProcessException
Code: 1355480641
File: Packages/Framework/Neos.Flow/Classes/Core/Booting/Scripts.php
Line: 641
Open Data/Logs/Exceptions/20180504035513c1fc9f.txt for a full stack trace.
Exception #1355480641 in line 312 of /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Core/Booting/Scripts.php: PHP Fatal error: Cannot inherit previously-inherited or override constant DIRECTORY_CLASSES from interface Neos\Flow\Package\PackageInterface in /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Packages/Framework/Neos.Flow/Classes/Package/FlowPackageInterface.php on line 17
Also, can you try removing the Packages/Framework and the install/update again?
I can finish the update now. But in frontend I get
An exception was thrown while Neos tried to render your page
Catchable Fatal Error: Object of class Neos\Fusion\FusionObjects\Helpers\FusionPathProxy could not be converted to string in /var/www/vhosts/itoop.de/dev.itoop.de/Neos/Data/Temporary/Development/Cache/Code/Fluid_TemplateCache/Frontend_Node_action_show_5a2134750feab9b388bd00685836cc7df6af2941.php line 547
page<Neos.Neos:Page>/
body<Neos.Fusion:Template>/
For a full stacktrace, open Data/Logs/Exceptions/201806120628109203eb.txt