[Flow] how to upgrade from flow 2.1 to 2.2 / 2.3

Mira mira at modifiziert.com
Wed Feb 18 11:57:46 CET 2015


Hi Steffen,
 
Thank you for the hint.
 
But unfortunately the error message is more scary after this:
 

Uncaught Exception: TYPO3\Flow\Error\Exception

Message
Notice: Undefined index: persistence in
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Persistence/AbstractPersistenceManager.php
line 57

More Information
Exception code 1
File Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Error/ErrorHandler.php
line 77
Reference code 2015021811554591c48b

Stack trace

#0 TYPO3\Flow\Error\ErrorHandler::handleError()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Persistence/AbstractPersistenceManager.php:57

#1 TYPO3\Flow\Persistence\AbstractPersistenceManager::injectSettings()
/var/www/flow3/green/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Persistence_Doctrine_PersistenceManager.php:678

#2
TYPO3\Flow\Persistence\Doctrine\PersistenceManager::Flow_Proxy_injectProperties()
/var/www/flow3/green/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Persistence_Doctrine_PersistenceManager.php:404

#3 TYPO3\Flow\Persistence\Doctrine\PersistenceManager::__construct()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Object/ObjectManager.php:476

#4 TYPO3\Flow\Object\ObjectManager::instantiateClass()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Object/ObjectManager.php:183

#5 TYPO3\Flow\Object\ObjectManager::get()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Scripts.php:477

#6 TYPO3\Flow\Core\Booting\Scripts::initializePersistence()

#7 ::call_user_func()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Step.php:49

#8 TYPO3\Flow\Core\Booting\Step::__invoke()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:101

#9 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:105

#10 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:105

#11 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:105

#12 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:105

#13 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:105

#14 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:105

#15 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:105

#16 TYPO3\Flow\Core\Booting\Sequence::invokeStep()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Sequence.php:85

#17 TYPO3\Flow\Core\Booting\Sequence::invoke()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cli/CommandRequestHandler.php:141

#18 TYPO3\Flow\Cli\CommandRequestHandler::boot()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cli/CommandRequestHandler.php:89

#19 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php:108

#20 TYPO3\Flow\Core\Bootstrap::run()
/var/www/flow3/green/Packages/Framework/TYPO3.Flow/Scripts/flow.php:55

#21 ::require()
/var/www/flow3/green/flow:18

 

 

 

 

 


> Steffen Wickham <steffen at gaming-inc.de> hat am 18. Februar 2015 um 11:52
> geschrieben:
>
>
> Had you tried to flush the Cache with the "-f" option? That's what
> helped me after updating last time.
>
> ./flow flow:cache:flush -f
>
>
>
>
>
> Am 18.02.15 um 11:48 schrieb Mira:
> > OK, thanks.
> > After removing several other packages the update was successful. Thanks for
> > this!
> >
> > Now, this error occurs:
> > root at websrv:/var/www/flow3/green# ./flow help
> > PHP Fatal error: Call to undefined method
> > TYPO3\Flow\Monitor\FileMonitor::createFileMonitorAtBoot() in
> > /var/www/flow3/red_dev/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Scripts.php
> > on line 401
> >
> > The webpage isn't reachable since updating. There is a blank page and no
> > error-log from apache is written.
> >
> > I'm so sorry for engaging you.. :(
> >
> >
> >
> >
> >> Christian Loock <chl at vkf-renzel.de> hat am 18. Februar 2015 um 11:35
> >> geschrieben:
> >>
> >>
> >>
> >> Seems like you are missing the git files for the flow package, which is
> >> weird. However, it should be okay if you just delete the package, since
> >> it will be reinstalled by composer again.
> >>
> >>
> >> Am 18.02.2015 um 11:35 schrieb Mira:
> >>> It is terrible :-( the composer will chasing me...
> >>>
> >>>
> >>>
> >>> root at websrv:/var/www/flow3/green# composer.phar update
> >>>
> >>> Loading composer repositories with package information
> >>> Updating dependencies (including require-dev)
> >>> Deleting Packages/Framework/TYPO3.Kickstart/ - deleted
> >>> Deleting Packages/Framework/TYPO3.Welcome/ - deleted
> >>> - Removing composer/installers (v1.0.18)
> >>> - Installing composer/installers (v1.0.20)
> >>> Downloading: 100%
> >>>
> >>> - Removing symfony/console (v2.5.6)
> >>> - Installing symfony/console (v2.6.4)
> >>> Downloading: 100%
> >>>
> >>> - Removing symfony/dom-crawler (v2.2.11)
> >>> - Installing symfony/dom-crawler (v2.5.10)
> >>> Downloading: 100%
> >>>
> >>> - Removing symfony/yaml (v2.1.13)
> >>> - Installing symfony/yaml (v2.5.10)
> >>> Downloading: 100%
> >>>
> >>> - Removing doctrine/lexer (v1.0)
> >>> - Installing doctrine/lexer (v1.0.1)
> >>> Downloading: 100%
> >>>
> >>> - Removing doctrine/inflector (v1.0)
> >>> - Installing doctrine/inflector (v1.0.1)
> >>> Downloading: 100%
> >>>
> >>> - Removing doctrine/cache (v1.3.1)
> >>> - Installing doctrine/cache (v1.4.0)
> >>> Downloading: 100%
> >>>
> >>> - Removing doctrine/annotations (v1.2.1)
> >>> - Installing doctrine/annotations (v1.2.3)
> >>> Downloading: 100%
> >>>
> >>> - Updating typo3/flow (2.1.1 => 2.3.1)
> >>>
> >>>
> >>>
> >>> [RuntimeException]
> >>> The .git directory is missing from Packages/Framework/TYPO3.Flow/, see
> >>> http://getcomposer.org/commit-deps for more information
> >>>
> >>>
> >>>
> >>> update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev]
> >>> [--lock]
> >>> [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts]
> >>> [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose]
> >>> [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable]
> >>> [--prefer-lowest] [packages1] ... [packagesN]
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>> Robin Lehrmann <role at vkf-renzel.de> hat am 18. Februar 2015 um 11:25
> >>>> geschrieben:
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> Am 18.02.2015 um 11:21 schrieb Mira:
> >>>>> Can I delete the line ""typo3/welcome": "2.1.*"," from require in
> >>>>> composer.json
> >>>>> ?
> >>>> yes. It is a demo package of typ3/flow
> >>>>
> >>>> Cheers,
> >>>>
> >>>> Robin
> >>>>
> >>> _______________________________________________
> >>> Flow mailing list
> >>> Flow at lists.typo3.org
> >>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
> >>
> > _______________________________________________
> > Flow mailing list
> > Flow at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>


More information about the Flow mailing list