[Flow] how to upgrade from flow 2.1 to 2.2 / 2.3
Lienhart Woitok
Lienhart.Woitok at netlogix.de
Wed Feb 18 11:54:42 CET 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Mira,
try removing the contents of Data/Temporary, e.g.
$ rm -r Data/Temporary/*
This is always a good idea after an upgrade to force Flow to recompile all proxy classes and such.
An additional note: I see you executed ./flow as root. I assume your webserver or PHP processes don't run as user root. This often leads to problems with file permissions, if console user and webserver user are not the same but try to write the same files. The user www-data or apache may not write files owned by root if you do not adjust their permissions. Therefore, I recommend running ./flow commands as the user your webserver is running as (you can find out which user this is from phpinfo()). To do this, you can use su or sudo, depending on your system:
$ sudo -u USER -s
or
$ su USER
(replace USER with the user of your webserver).
Hope this helps you.
Regards,
Lienhart Woitok
Web-Entwickler | netlogix Media
Telefon: +49 (911) 539909 - 0
E-Mail: Lienhart.Woitok at netlogix.de
Web: media.netlogix.de
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Web: http://www.netlogix.de
netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt
- -----Original Message-----
From: flow-bounces at lists.typo3.org [mailto:flow-bounces at lists.typo3.org] On Behalf Of Mira
Sent: Mittwoch, 18. Februar 2015 11:48
To: TYPO3 Flow mailing list
Subject: Re: [Flow] how to upgrade from flow 2.1 to 2.2 / 2.3
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
-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.3.2 (Build 15704)
Charset: utf-8
wpUDBQFU5G90WevMF2ftbKMBCAQmBACAZ05b+r1+2BMDsf3xgTXsMX9tmBGJSh2j
n3X0UgP3klX8DAT/TGHEgs5xV/PHxkeWiX8QvNAAhLE+AVEoZ1XSQCMdTzwtDiT6
Sg4bMNTK3T8iduBVUGugVpSFIB5DJ78rsEKwcHLNYMktQ8eHcDPOmsQi8NzlGkYO
RIOlgugDlA==
=Z9aG
-----END PGP SIGNATURE-----
More information about the Flow
mailing list