Hello,
I upgraded to Joomla 4 and PHP 8.2 using RO CSVI 8.10.0. I setup a cronjob earlier on STRATO which worked properly:
/bin/php /xxx/xxx/xxx/xxx/xxx/htdocs/domain.de/www/administrator/components/com_csvi/helper/cron.php --key="XXX" --template_name="XXX"
Now I read the docs but it is not working at all:
/bin/php /xxx/xxx/xxx/xxx/xxx/htdocs/domain.de/www/cli/joomla.php rocsvi:export --key=XXX --template_name=XXX
It is also not working from the SSH console directly but I am not getting any error logs. Am I missing something?
Kind regards,
Tobias
- TRmediendesign
- RO CSVI
- Wednesday, 24 April 2024
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello Tobias,
Instead of giving full path to file try with below cron command and see if it works
/bin/php /xxx/xxx/xxx/xxx/xxx/htdocs/domain.de/www/cli/joomla.php rocsvi:export --key=XXX --template_name=XXX
Instead of giving full path to file try with below cron command and see if it works
/bin/php joomla.php rocsvi:export --key=XXX --template_name=XXX
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello Tobias,
Let me know.
It is also not working from the SSH console directly but I am not getting any error logs. Am I missing something?When you run just
/bin/php /xxx/xxx/xxx/xxx/xxx/htdocs/domain.de/www/cli/joomla.php
do you get any output? The RO CSVI CLI plugin is enabled?Let me know.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
@rolandd
The Console plugin was disabled and I enabled it now. Running /bin/php /xxx/xxx/xxx/xxx/xxx/htdocs/domain.de/www/cli/joomla.php shows this result:
X-Powered-By: PHP/8.2.18
Content-type: text/html; charset=UTF-8
@tharuna
Running /bin/php joomla.php rocsvi:export --key=XXX --template_name=XXX shows this result:
Status: 404 Not Found
X-Powered-By: PHP/8.2.18
Content-type: text/html; charset=UTF-8
No input file specified.
The Console plugin was disabled and I enabled it now. Running /bin/php /xxx/xxx/xxx/xxx/xxx/htdocs/domain.de/www/cli/joomla.php shows this result:
X-Powered-By: PHP/8.2.18
Content-type: text/html; charset=UTF-8
@tharuna
Running /bin/php joomla.php rocsvi:export --key=XXX --template_name=XXX shows this result:
Status: 404 Not Found
X-Powered-By: PHP/8.2.18
Content-type: text/html; charset=UTF-8
No input file specified.
Accepted Answer
Pending Moderation
Hello Tobias,
Let me know what you find.
Running /bin/php /xxx/xxx/xxx/xxx/xxx/htdocs/domain.de/www/cli/joomla.phpThis is the basic command to run any Joomla CLI command and is not limited to or restricted by RO CSVI. Running just this command I would expect an output like this:
root@ba979526bbcc:/var/www/html/cli# php joomla.php
Joomla! 5.0.2 (debug: No)
Usage:
command [options] [arguments]
Options:
--live-site[=LIVE-SITE] The URL to your site, e.g. https://www.example.com
-h, --help Display the help information
-q, --quiet Flag indicating that all output should be silenced
......
If you are not seeing that, something else is going on however I do not really have a clue why. One thing I wonder is if the PHP executable is correct, often it is located in /usr/bin/ or /usr/local/bin. Other than that I would advise to check with your hosting provider as this basic Joomla functionality is not working. They may be able to tell you how to run the Joomla CLI on their hosting package.Let me know what you find.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »