No Code Attached Yet
avatar jhrenshaw
jhrenshaw
17 Aug 2022

Steps to reproduce the issue

php /path-to-root-directory/cli/joomla.php update:extensions:check

Expected result

Fetching Extension Updates

! [NOTE] There are available updates to apply

Actual result

RuntimeException {#1797
#message: "Could not parse the requested URI http://path-to-root-directory/cli/joomla.php"
#code: 0
#file: "/path-to-root-directory/libraries/vendor/joomla/uri/src/AbstractUri.php"
#line: 373
trace: {
/path-to-root-directory/libraries/vendor/joomla/uri/src/AbstractUri.php:373 { …}
/path-to-root-directory/libraries/src/Uri/Uri.php:286 {
Joomla\CMS\Uri\Uri->parse($uri)^
› {
› return parent::parse($uri);
› }
arguments: {
$uri: "http://path-to-root-directory/cli/joomla.php"
}
}

System information (as much as possible)

Redhat Linux 8
PHP 7.4.30
Mysql 8.0.26

Additional comments

If you try

cd /path-to-root-directory/cli/
php joomla.php update:extensions:check

then all is ok.

Works fine with the full path using Joomla 4.1

avatar jhrenshaw jhrenshaw - open - 17 Aug 2022
avatar jhrenshaw jhrenshaw - change - 17 Aug 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 17 Aug 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Aug 2022
avatar alikon alikon - change - 18 Aug 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-08-18 16:26:18
Closed_By alikon
avatar alikon alikon - close - 18 Aug 2022
avatar alikon
alikon - comment - 18 Aug 2022

thanks for reporting
please follow here #38518

Add a Comment

Login with GitHub to post a comment