[Flow] Get an 404 error after switching to "production"-context

Mira mira at modifiziert.com
Tue Mar 3 10:58:45 CET 2015


Yes, I have checked all logs.
 
System.log:

15-03-03 10:54:46 3413 NOTICE Flow Locking site. Lock file:
/var/www/flow3/timbo/Data/Temporary/Production/Flow.lock
15-03-03 10:54:47 3413 INFO Flow Aspect classes have been modified, flushing the
whole proxy classes cache.
15-03-03 10:54:47 3413 INFO Flow Domain model changes have been detected,
triggering Doctrine 2 proxy rebuilding.
15-03-03 10:54:47 3413 INFO Flow File Monitor "Flow_ClassFiles" detected 1828
changed files and 23 changed directories.
15-03-03 10:54:47 3413 INFO Flow A configuration file matching the pattern
"/Policy\.yaml/" has been changed, flushing related cache "Flow_Security_Policy"
15-03-03 10:54:47 3413 INFO Flow A configuration file matching the pattern
"/Views\.yaml/" has been changed, flushing related cache
"Flow_Mvc_ViewConfigurations"
15-03-03 10:54:47 3413 INFO Flow A configuration file matching the pattern
"/Routes([^\/]*)\.yaml/" has been changed, flushing related cache
"Flow_Mvc_Routing_Route"
15-03-03 10:54:47 3413 INFO Flow A configuration file matching the pattern
"/Routes([^\/]*)\.yaml/" has been changed, flushing related cache
"Flow_Mvc_Routing_Resolve"
15-03-03 10:54:47 3413 INFO Flow The configuration has changed, triggering an
AOP proxy class rebuild.
15-03-03 10:54:47 3413 INFO Flow File Monitor "Flow_ConfigurationFiles" detected
31 changed files and 6 changed directories.
15-03-03 10:54:47 3413 INFO Flow The localization files have changed, thus
flushing the I18n XML model cache.
15-03-03 10:54:47 3413 INFO Flow File Monitor "Flow_TranslationFiles" detected
90 changed files and 3 changed directories.
15-03-03 10:54:52 3413 INFO Flow Reflected 666 emerged classes.
15-03-03 10:54:52 3413 INFO Flow Aspects have been modified, therefore
rebuilding all target classes.
15-03-03 10:54:54 3413 INFO Flow Built and froze reflection runtime caches (698
classes).
15-03-03 10:54:54 3413 NOTICE Flow Unlocked site.

 
 
In apache-logs are no errors, only the GET with 404 response.
 
 
 

> Visay Keo <visay.keo at typo3.org> hat am 3. März 2015 um 10:47 geschrieben:
>
>
> Maybe check in the log (Data/Logs/System.log) to see if there is a hint?
> I would check in the webserver error log too.
>
> Visay
>
> On 3 មិនា 2015 15:10, Mira wrote:
> > Hi Visay,
> >
> > Both Settings.yaml are the same, but I have duplicated the
> > Development/Settings.yaml to Production again.
> >
> > After this I have deleted the PackageStates.php and directory Data/Temporary
> > and
> > hit FLOW_CONTEXT=Production ./flow typo3.flow:cache:warmup
> >
> > But the error is the same... :(
> >
> > Thanks,
> > Mira
> >
> >
> >
> >> Visay Keo <visay.keo at typo3.org> hat am 2. März 2015 um 16:17 geschrieben:
> >>
> >>
> >> I had that before and I did random stuff but you can try with manually
> >> deleting "Data/Temporary" and "Configuration/PackageStates.php", then
> >> warmup the cache again.
> >>
> >> Also check if you have any specific settings under
> >> Configuration/Development/Settings.yaml, if yes, that needs to be copied
> >> to Configuration/Production/Settings.yaml too.
> >>
> >> On 2 មិនា 2015 20:28, Mira wrote:
> >>> Hey,
> >>>
> >>> Everytime I work with my flow project, I develop and provide it to my
> >>> visitors
> >>> in development-context.
> >>> Now I want to switch to production-context for my online version. For this
> >>> I
> >>> edit my apache-config from SetEnv FLOW_CONTEXT Development to SetEnv
> >>> FLOW_CONTEXT Production.
> >>>
> >>> After this I flushed all caches with this command:
> >>> FLOW_CONTEXT=Production ./flow flow:cache:flush
> >>>
> >>> Now when I try to reach my site, I get an 404 error.
> >>> An axception is also thrown:
> >>>
> >>> Uncaught exception #1303209195 in line 77 of
> >>> /var/www/flow3/timbo/Data/Temporary/Production/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
> >>> No controller could be resolved which would match your request. Package
> >>> key:
> >>> "Timbo", controller name: "Standard".
> >>>
> >>> With "development"-context everything is working. Is it possible that flow
> >>> looks
> >>> for my package in another director instead of Packages/Application/Timbo ?
> >>>
> >>> Thanks,
> >>> Mira
> >>>
> >>
> >> --
> >> TYPO3 .... Inspiring People To Share!
> >> Participate: http://typo3.org/participate/
> >> _______________________________________________
> >> Flow mailing list
> >> Flow at lists.typo3.org
> >> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
> --
> TYPO3 .... Inspiring People To Share!
> Participate: http://typo3.org/participate/
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow


More information about the Flow mailing list