-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL 8.7 and Rocky Linux 8.6 Fails to open Update sites on joomla.org #39231
Comments
This is a server configuration issue. Not a joomla issue |
brianteeman you might think that, but if you review this post and comparisons, there is a pretty good case the Joomla is not performing the get/post the same way on these new Red Hats and Rocky spins. https://forum.joomla.org/viewtopic.php?f=811&t=997748 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39231. |
What happens when you do a plain curl call to the update server XMLs? |
curl https://update.joomla.org/core/extensions/com_joomlaupdate.xmlJoomla! Update Component Update Joomla Update Component com_joomlaupdate component administrator 3.6.1 https://www.joomla.org/ https://github.com/joomla/joomla-cms/releases/download/3.6.1/com_joomlaupdate-3.6.1.zip stable Joomla! Production Department https://www.joomla.org Joomla! Update Component Update Joomla Update Component com_joomlaupdate component administrator 4.0.2 https://www.joomla.org/announcements/release-news/5847-joomla-4-0-2-bug-fix.html https://downloads.joomla.org/cms/joomla4/4-0-2/com_joomlaupdate-4.0.2.zip https://github.com/joomla/joomla-cms/releases/download/4.0.2/com_joomlaupdate-4.0.2.zip https://update.joomla.org/releases/4.0.2/com_joomlaupdate-4.0.2.zip stable 7.2.5 5a16b2e000a0d8723e26fa340ee267bc78070fa85ff916f483f278f0684e3cdf e6c0dad8bfe27817ca3fffdbb2975db11d266bce0decbc7294fba9018235d556a5f536a00ff8f7a43f2d3ad69f9fa285 4e51154ed8580dbdeb6d7892ed68af652925415b25ab6b1b1e6a9affffd3abb09caa2f901db7f22570fbf114ca6463986504cbb687734f2a680c2edda68f9bfa Joomla! Production Department https://www.joomla.orgThis comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39231. |
SELinux on both Red Hat and Rocky are blocking updates. I set to Permissive via # setenforce 0 and now the updates are working. I am not sure where to allow this yet while keeping SELinux enforced, but I am working on it. The help page https://www.linuxshelltips.com/install-joomla-rhel/ did not have the SELinux settings for these updates. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39231. |
So false alarm no bug just a setting in SELinux: ~]# setsebool -P 'httpd_can_network_connect' on This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39231. |
closing thanks |
Exactly what I said. |
Steps to reproduce the issue
$ sudo dnf install httpd httpd-tools
$ sudo systemctl start httpd
$ sudo systemctl enable httpd
$ sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
$ sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
$ sudo dnf module list php
$ sudo dnf module reset php
$ sudo dnf module enable php:remi-8.1
$ sudo dnf install php php-opcache php-gd php-curl php-mysqlnd php-mbstring php-xml php-pear php-fpm php-mysql php-pdo php-json php-zip php-common php-cli php-xmlrpc php-xml php-tidy php-soap php-bcmath php-devel
$ sudo systemctl start php-fpm
$ sudo systemctl enable php-fpm
$ sudo setsebool -P httpd_execmem 1
$ sudo dnf install mysql-server
$ sudo systemctl start mysqld
$ sudo systemctl enable mysqld
$ mysql -u root -h localhost -p
mysql> CREATE USER 'usrjoomla'@'localhost' IDENTIFIED BY 'pAss1@7k(90432';
mysql> CREATE DATABASE joomla_db;
mysql> GRANT ALL PRIVILEGES ON joomla_db.* TO 'usrjoomla'@'localhost';
mysql> exit
$ wget https://downloads.joomla.org/us/cms/joomla4/4-2-5/Joomla_4-2-5-Stable-Full_Package.tar.gz
$ sudo mkdir -p /var/www/html/joomla
$ sudo tar -xvf Joomla_4-2-5-Stable-Full_Package.tar.gz -C /var/www/html/joomla
$ sudo chown -R apache:apache /var/www/html/joomla/
$ sudo chmod -R 755 /var/www/html/joomla/
$ sudo nano /etc/httpd/conf.d/joomla.conf
<VirtualHost *:80>
ServerAdmin admin@vmlocal.local
DocumentRoot /var/www/html/joomla/
ServerName vmlocal.local
ServerAlias vmlocal.local
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Expected result
XML updates show needed updates or no updates needed.
Actual result
Shows these errors:
Warning
Update: Could not open update site #1 "Joomla! Core", URL: https://update.joomla.org/core/list.xml
Update: Could not open update site #2 "Accredited Joomla! Translations", URL: https://update.joomla.org/language/translationlist_4.xml
Update: Could not open update site #3 "Joomla! Update Component", URL: https://update.joomla.org/core/extensions/com_joomlaupdate.xml
System information (as much as possible)
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterprise
Description: Red Hat Enterprise Linux release 8.7 (Ootpa)
Release: 8.7
Codename: Ootpa
PHP: 8.1
MYSQL Ver 8.0.30 for Linux on x86_64
Server version: Apache/2.4.37 (Red Hat Enterprise Linux)
Additional comments
I have tested this implementation on Debian 11.5 with PHP 8.1 and mysql 8.0.31 and it does not have this error looking for the XML file.
The text was updated successfully, but these errors were encountered: