I set up a cron-job to make backups from a shell script but I get the message “FATAL: Must be run from ROOT directory of Grav!”. Any ideas how to fix this?
The shell script navigates to the Grav root folder and then executes “bin/grav backup” (no quotes). I saved the script outside the /public_html folder and also in Grav’s root but no luck so far.
Ah that’s a very server specific solution. Your server configuration obviously has php bound to the FCGI version, and requires you to specify the CLI version with php-cli