Issue Bug Closed

#86785Calling scheduler command on CLI throws error if not in /var/www/html

Chris Müller 10/29/18, 12:12 updated 05/07/19, 12:15

Description

Calling the scheduler command on CLI throws an error, if the TYPO3 installation is not running in /var/www/html/.

Given the installation, e.g., in /var/www/example.org and calling on CLI

/var/www/example.org/public/typo3/sysext/core/bin/typo3 scheduler:run

the following error is given back:

In GeneralUtility.php line 2172:                                                     
Could not create directory “/var/www/html/var/log/”!

Yes, the script has no right to write there, but it is also the wrong directory. It should write into /var/www/example.org/var/log/.

Reviews 5