[TYPO3-linux] Fresh install of 6.2.4: Path /site/htdocs exists, but no file underneath it can be created.
Richard McMahon
rgm at ast.cam.ac.uk
Sat Aug 23 12:12:16 CEST 2014
Hello,
I am doing a fresh "newbie to TYPO3" installation of 6.2.4 onto a managed Webserver where I
have command line access.
I followed:
docs.typo3.org/typo3cms/InstallationGuide/
-> QuickInstall
The basic path layout is:
ln -s /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/ /sites/htdocs/typo3_src
I do not have write access below htdocs but I do have write access within /home/rm21
The installer is giving the error:
Directory / is not writable
Path /site/htdocs exists, but no file underneath it can be created.
I decided to continue with the installation tool to see what happened.
new-www.clarehall.cam.ac.uk/typo3/sysext/install/Start/Install.php
gives:
Fatal error: Uncaught exception 'TYPO3\CMS\Install\FolderStructure\Exception' with message 'Permission on /site/htdocs are already ok' in /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/typo3/sysext/install/Classes/FolderStructure/AbstractNode.php:137 Stack trace: #0 /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/typo3/sysext/install/Classes/FolderStructure/DirectoryNode.php(135): TYPO3\CMS\Install\FolderStructure\AbstractNode->fixPermission() #1 /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/typo3/sysext/install/Classes/FolderStructure/DirectoryNode.php(105): TYPO3\CMS\Install\FolderStructure\DirectoryNode->fixSelf() #2 /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/typo3/sysext/install/Classes/FolderStructure/StructureFacade.php(55): TYPO3\CMS\Install\FolderStructure\DirectoryNode->fix() #3 /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/typo3/sysext/install/Classes/Controller/Action/Step/EnvironmentAndFolders.php(38): TYPO3\CMS\Install\FolderStructure\StructureFacade->fix() #4 /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/typo3/sysext/install/Classes/Controller/StepC in /home/rm21/TYPO3/6.2.4/typo3_src-6.2.4/typo3/sysext/install/Classes/FolderStructure/AbstractNode.php on line 137
To see this I turned on php_messages in my .htaccess with:
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_value error_log /site/htdocs/PHP_errors.log
I can reinstall in e.g. /htdocs/site/somedir and modify the htaccess file TYPO3root but I am
uneasy about going that route yet.
There is some discussion about the topic here: forum.typo3.org/index.php/t/199701/
which says:
why should be the root of the site writable? It is not a error to
have it write protected. Only certain directories should be writable by
TYPO3 and not the root of the site.
thanks Richard
Thanks
More information about the TYPO3-linux
mailing list