Project

General

Profile

Actions

Bug #86785

closed

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

Added by Chris Müller about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2018-12-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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/.


Files

screenshot.png (72.8 KB) screenshot.png Joerg Boesche, 2018-12-19 16:02

Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #87261: Upgrade wizard for scheduler tasks with invalid Logger instance pathsClosedJoerg Boesche2018-12-21

Actions
Related to TYPO3 Core - Bug #87780: Extbase Task should call parents __sleep and __wakeup MethodsClosed2019-02-25

Actions
Related to TYPO3 Core - Bug #86941: Logger instances in scheduler tasks are deserialized with outdated pathsClosed2018-11-16

Actions
Related to TYPO3 Core - Task #90415: Clarify change "Important: #86785 - Calling scheduler command on CLI throws error if not in /var/www/html" ?Closed2020-02-18

Actions
Has duplicate TYPO3 Core - Bug #87715: Exception while deserialization of a task objectClosed2019-02-14

Actions
Has duplicate TYPO3 Core - Bug #87094: A Symfony Console based scheduler task can't be executed and breaks the scheduler moduleClosed2018-12-07

Actions
Actions

Also available in: Atom PDF