Jump to content
Froxlor Forum
  • 0

Froxlor tasks Cronjob PHP Error - Argument #1 ($homeDir) must be of type string, null given


Linus Siebert

Question

Hi,

 

seit neustem kriege ich alle 5 Minuten eine Emailenachrichtigung mit einem Fehler zum tasks Cronjob. Der Fehler ist folgender;

 

Checking froxlor file permissions...OK
Running "tasks" job
PHP Fatal error:  Uncaught TypeError: Froxlor\FileDir::mkDirWithCorrectOwnership(): Argument #1 ($homeDir) must be of type string, null given, called in /var/www/froxlor/lib/Froxlor/Cron/System/TasksCron.php on line 288 and defined in /var/www/froxlor/lib/Froxlor/FileDir.php:51
Stack trace:
#0 /var/www/froxlor/lib/Froxlor/Cron/System/TasksCron.php(288): Froxlor\FileDir::mkDirWithCorrectOwnership()
#1 /var/www/froxlor/lib/Froxlor/Cron/System/TasksCron.php(84): Froxlor\Cron\System\TasksCron::createNewFtpHome()
#2 /var/www/froxlor/lib/Froxlor/Cli/MasterCron.php(139): Froxlor\Cron\System\TasksCron::run()
#3 /var/www/froxlor/vendor/symfony/console/Command/Command.php(298): Froxlor\Cli\MasterCron->execute()
#4 /var/www/froxlor/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()
#5 /var/www/froxlor/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#6 /var/www/froxlor/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#7 /var/www/froxlor/bin/froxlor-cli(64): Symfony\Component\Console\Application->run()
#8 {main}
  thrown in /var/www/froxlor/lib/Froxlor/FileDir.php on line 51

Woran liegt das?

Meine FroxlorVersion: 2.0.20

PHPVersion: 8.2.7

Danke für jegliche Hilfe

Liebe Grüße

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Also alle Kunden haben ein verzeichnis in /var/customers/webs angegeben, die FTP User entweder ein individuelles oder standardmäßig "/". Gibt es bei dem task cronjob irgendeine Möglichkeit herauszufinden, bei welchem Ordner der den Fehler bekommt? das wird leider nicht ausgegeben

Link to comment
Share on other sites

  • 0

Okay, der job ist entsprechend offen weil er nicht abgeschlossen werden kann. Jetzt bitte mal folgende SQL-Query ausführen und ergebnis mitteilen:

 

SELECT `f`.`homedir`, `f`.`uid`, `f`.`gid`, `c`.`documentroot` AS `customerroot`
FROM `ftp_users` `f` LEFT JOIN `panel_customers` `c` USING (`customerid`)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...