Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

froxlor-cli froxlorcron 'tasks' wirft "no such file or directory" bei "checking froxlor file permissions"

Featured Replies

Hallo,

wie kann ich der Ursache für folgendes Verhalten auf den Grund gehen, wenn potenziertes "verbose" nichts hilft?

root@froxlor /var/www/php-fcgi-scripts/ckt/tools.***.de # /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli -vvv froxlor:cron 'tasks'
Checking froxlor file permissions...sh: 0: getcwd() failed: No such file or directory
OK
Running "tasks" job

 

Solved by d00p

Go to solution

als erstes mal das "-q" (quiet) von php weglassen...

  • Author

Das Entfernen von "-q" am php ändert nix an der Ausgabe.

Ich habe direkt über "FileDir::safe_exec('chown -R ' . $user . ':' . $group . ' ' . escapeshellarg($_mypath));" in der Funktion validateOwnership der MasterCron.php mal folgendes hinzugefügt:
 

$output->writeln('chown -R ' . $user . ':' . $group . ' ' . escapeshellarg($_mypath));

Die Ausgabe ist nun:
 

root@froxlor /var/www/php-fcgi-scripts/ckt/tools.***.de # /usr/bin/php /var/www/html/froxlor/bin/froxlor-cli -vvv froxlor:cron 'tasks'
Checking froxlor file permissions...
chown -R froxlorlocal:froxlorlocal '/var/www/html/froxlor/'
sh: 0: getcwd() failed: No such file or directory
OK
Running "tasks" job
root@froxlor /var/www/php-fcgi-scripts/ckt/tools.***.de # chown -R froxlorlocal:froxlorlocal '/var/www/html/froxlor/'
root@froxlor /var/www/php-fcgi-scripts/ckt/tools.***.de # 

Der aufzurufende Befehl funktioniert also grundsätzlich.

  • Solution

ah du bist im ordner "/var/www/php-fcgi-scripts/ckt/tools.***.de" - die php-fcgi-scripts ordner werden vom cron komplett geleert und neuerstellt...daher der fehler.

  • Author

Danke fürs genau Hingucken. Das war unnötiger Lärm, den ich dadurch gemacht habe, sorry.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.