[FLOW3-general] Install Problem - setfilepermissions does not work

Mathis Hoffmann mathis at hoffpost.de
Thu Feb 2 15:50:24 CET 2012


Ok, I've got that work now. I needed to use www-data instead of root -
still don't know why but now it runs.

But I still have some problems:

Now the welcome-screen appears. I tried to kickstart a package using
the cli: ./flow3 kickstart:package TYPO3.Blog . But when I run
/Web/typo3.blog in my browser I get
404 Page not found
Sorry, the page you requested was not found.
The technical reason is: No controller could be resolved which would
match your request.

I also tried /web/TYPO3.Blog - same result.

./flow3 package:list tells me that the package exists and is active:
ACTIVE PACKAGES:
 Doctrine                 2.2.0-dev      Doctrine
 Symfony.Component.Yaml   1.0.6          Symfony Components YAML Library
 TYPO3.Blog
 TYPO3.FLOW3              1.0.2          FLOW3
 TYPO3.Fluid              1.0.2          Fluid Templating Framework
 TYPO3.Kickstart          1.0.2          FLOW3 Kickstarter
 TYPO3.Party              1.0.2          Party Information Framework
 TYPO3.Welcome            1.0.2          Welcome package with default
view for FLOW3

What can I do? Do I have to define some routes? FLOW3 is running in
development-context but I also tried to clear the caches manually (by
deleting everything inside /Data/Temporary) - without any positive
effect.

Thanks for your help!



2012/2/2 Mathis Hoffmann <mathis at hoffpost.de>:
> Hello,
>
> I've got a Problem installing FLOW3 on my virtual Server. I downloaded
> the package and unpacked it. Then I tried to call
> ./flow3 core:setfilepermissions root www-data psacln
>
> That results in:
> PHP Deprecated:  Comments starting with '#' are deprecated in
> /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
> PHP Deprecated:  Comments starting with '#' are deprecated in
> /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
> PHP Warning:  Directive 'safe_mode' is deprecated in PHP 5.3 and
> greater in Unknown on line 0
> sh: /setfilepermissions.sh: No such file or directory
>
> In order to find out, where the system searches for
> setfilepermissions.sh I added the line
> exit(__DIR__);
>
> to /Packages/Framework/TYPO3.FLOW3/Scripts/flow3.php and found out
> that __DIR__ points to the basedir of the FLOW3 installation and not
> to /Packages/Framework/TYPO3.FLOW3/Scripts/ where the script is
> located. Therefore I manually ran the script using
> ./Packages/Framework/TYPO3.FLOW3/Scripts/setfilepermissions.sh root
> www-data psacln
>
> command. The script outputs
> FLOW3 File Permission Script
>
> Checking permissions from here upwards.
> Making sure Data and Web/_Resources exist.
> Setting file permissions, trying to set ACLs via chmod ...
> Setting file permissions, trying to set ACLs via setfacl ...
>
> Note: Access Control Lists seem not to be supported by your system.
>
> Setting file permissions per file, this might take a while ...
> Done.
>
> Looks fine.. But still does not work at all. When I call /Web in my
> browser I get an 403 Forbidden You don't have permission to access
> /FLOW3-1.0.2/Web on this server.
>
> What can I do?
> www-data is definitly the webserver user and psacln the
> webserver-group. I don't have an extra command line user and therefore
> added root as first argument.
>
> Any suggestions?
>
> Thanks in advance!
> M. Hoffmann


More information about the FLOW3-general mailing list