Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 10 years ago
One year later, the fix was prefixing the command with "php-cli": php-cli bin/grav backup
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
It did not make a difference, same error message. :(
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
Probably wont' make a difference, but you could try: ./bin/grav backup
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
Yeah, I tried both. Check the last line of my post.
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
If you already cd into demo, you just need to write #!/bin/bash cd /home/myuser/publichtml/demo; echo “pwd: ${PWD}” bin/grav backup
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
By the way, /demo is Grav's root folder.
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
Hello Andy, the .sh is below. I added the pwd just to make sure I was in the right folder. !/bin/bash cd /home/myuser/public_html/demo; echo "pwd: ${PWD}" /home/twintech/public_html/demo/bin/grav back
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
Well that should work. Can you paste your script that you are running via cron?
-
Cron-job issue: "FATAL: Must be run from ROOT directory of Grav!"
· 11 years ago
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
-
Question about nucleus.css grid and 2/3 - 1/3 content/sidebar layout
· 10 years ago
You're close, you just need block on both to trigger the flex box columns, something like: <div class="grid"> <div class="block">content</div> <div class="block size-1-3">s