This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 8 Problems / Re: Problems installing packages and updates with Almalinux8
« on: March 22, 2025, 09:05:58 PM »
hi,
you're welcome, I don't question the precise instructions to copy and paste from the CWP site for a correct installation; the same goes for your precious instructions. Only that despite having done so, some things continued not to work; that's why I opened a post here. However, having quick needs for work, I also tried other ways (unfortunately wrong).
However, I would like to ask you for advice: for correct functionality, compatibility and stability, which version of PHP do you recommend? Keep in mind that I will be dealing mostly with WooCommerce sites with high traffic and at the moment on the old active server I have PHP 8.2.3. Some always recommend the latest possible version, but I think that not all plugins or themes are compatible, right?
Thank you very much
you're welcome, I don't question the precise instructions to copy and paste from the CWP site for a correct installation; the same goes for your precious instructions. Only that despite having done so, some things continued not to work; that's why I opened a post here. However, having quick needs for work, I also tried other ways (unfortunately wrong).
However, I would like to ask you for advice: for correct functionality, compatibility and stability, which version of PHP do you recommend? Keep in mind that I will be dealing mostly with WooCommerce sites with high traffic and at the moment on the old active server I have PHP 8.2.3. Some always recommend the latest possible version, but I think that not all plugins or themes are compatible, right?
Thank you very much
2
CentOS 8 Problems / Re: Problems installing packages and updates with Almalinux8
« on: March 22, 2025, 09:13:33 AM »
Hi,
I solved it by directly opening a support ticket and they installed CWP for me in a professional and complete way. Thanks anyway for the suggestions
I solved it by directly opening a support ticket and they installed CWP for me in a professional and complete way. Thanks anyway for the suggestions
3
CentOS 8 Problems / Re: Problems installing packages and updates with Almalinux8
« on: March 20, 2025, 07:21:32 PM »
hello guys,
yes but in fact I had tried almalinux 9 with both PHP 7.4 and PHP 8.2.3 but I had the same problem with woocommerce for wp_remote_post, which was essential for me since I needed Paypal as a payment system.
By installing Almalinux8 I solved this problem, but now I have problems with updates. By following chatGPT a bit I managed to install some updates, while Maria DB doesn't want to hear of it and the usual message that I mentioned at the beginning appears.
The commands used with Chat GPT are the following:
yes but in fact I had tried almalinux 9 with both PHP 7.4 and PHP 8.2.3 but I had the same problem with woocommerce for wp_remote_post, which was essential for me since I needed Paypal as a payment system.
By installing Almalinux8 I solved this problem, but now I have problems with updates. By following chatGPT a bit I managed to install some updates, while Maria DB doesn't want to hear of it and the usual message that I mentioned at the beginning appears.
The commands used with Chat GPT are the following:
Code: [Select]
yum clean all
yum makecache
yum update --nobest
4
CentOS 8 Problems / Re: Problems installing packages and updates with Almalinux8
« on: March 20, 2025, 02:58:08 PM »If nothing is on the server, then yes, that would be your best solutions I think.hello,
Would also suggest AL9, since unless you need to run PHP under 7.4.x
Most of the bugs are in the migration part, like CWP -> CWP Migration, which they are working on.
I come from alma9 and I had to "run away" because after installing CWP I immediately started having problems with updates, account migration and wp_remote_post for wordpress.
5
CentOS 8 Problems / Re: Problems installing packages and updates with Almalinux8
« on: March 19, 2025, 11:00:29 PM »You would only get that error manually installing a .rpm that shouldn't have been, and now has corrupted the system.I didn't install any package manually via terminal. I just mounted a new hard disk and then from cwp selected apache and nginix as server and installed PHP fpm. Stop But from the terminal nothing of the sort. As you say, should I format and reinstall almalinux8 from scratch?
There would have been information above those lines to tell you what package(s) broke the system.
Best bet is to start over to avoid any gremlins later.
6
CentOS 8 Problems / Re: Problems installing packages and updates with Almalinux8
« on: March 19, 2025, 05:37:31 PM »Did you add some extra repositories or install binary packages (.RPMs) manually ?Hi! Absolutely not! Other than following the CWP installation I have not installed anything manually. Can you help me or do I have to open a ticket?
7
CentOS 8 Problems / Problems installing packages and updates with Almalinux8
« on: March 18, 2025, 08:59:17 PM »
Hi, I just installed Almalinux8 on my new server and was configuring CWP.
I find myself with about 12 updates to do, but as soon as I try to do them I get this error:
I find myself with about 12 updates to do, but as soon as I try to do them I get this error:
Code: [Select]
Last metadata expiration check: 0:39:32 ago on Tue Mar 18 21:19:23 2025.
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Can anyone help me?
8
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 18, 2025, 08:55:46 PM »
Hi! I solved it by changing the server, because having problems with Centos 9 and Almalinux 9, the processor was not compatible with older installations. I have now installed Almalinux 8 on a new server and I am configuring CWP at best.
9
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 13, 2025, 06:16:14 PM »Ok, install traceroute and telnet using dnf:Here the results:Code: [Select]dnf -y install telnet traceroute
the run the commands from the previous post again.
Code: [Select]
[root@srv ~]# telnet www.paypal.com 443
Trying 146.75.121.21...
Connected to www.paypal.com.
Escape character is '^]'.
Connection closed by foreign host.
Code: [Select]
[root@srv ~]# traceroute www.paypal.com
traceroute to www.paypal.com (146.75.121.21), 30 hops max, 60 byte packets
1 static.1.48.4.46.clients.your-server.de (46.4.48.1) 0.271 ms 0.311 ms 0.349 ms
2 core23.fsn1.hetzner.com (213.239.229.121) 0.299 ms 0.281 ms core24.fsn1.hetzner.com (213.239.229.125) 0.369 ms
3 core4.fra.hetzner.com (213.239.224.114) 4.817 ms core4.fra.hetzner.com (213.239.224.106) 4.842 ms 4.835 ms
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Code: [Select]
[root@srv ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
10
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 13, 2025, 02:02:43 PM »Disable firewall and then in shell run:Hi,Code: [Select]telnet www.paypal.com 443
show us results and run firewall on your vps/server again.
traceroute www.paypal.com
iptables -L -n
here the results:
Code: [Select]
[root@srv ~]# telnet www.paypal.com 443
-bash: telnet: command not found
[root@srv ~]# traceroute www.paypal.com
-bash: traceroute: command not found
[root@srv ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@srv ~]# telnet www.paypal.com 443
-bash: telnet: command not found
[root@srv ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I think there is something wrong with sending commands.
11
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 13, 2025, 10:18:01 AM »Before you get too far, CentOS Stream is a beta-quality OS, only good for local testing or to get a sense of where RHEL is going but not a good foundation for a server. If you can before you get too far with setup, switch now to AlmaLinux 9 -- it will be supported till the end of the decade!hello,
https://endoflife.date/almalinux
thanks for the advice. Except that I have already tried Almalinux and I have the same problem... That's why I tried Centos 9 Stream.
12
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 13, 2025, 10:13:22 AM »
Hi,
The function name wp_remote_post() allows me think the function sends some post request to some host. To investigate the problem you need to know where the function wp_remote_post() sends the request to (host) and then emulate the request using "curl" or similar utility, make attempt to connect to the host using "telnet", etc.
Anyway, the problem could be caused by bad DNS resolvers, firewall, error in your script, etc.
hi,
i'm not very expert in this thing, can you explain to me how to do it?
I can only tell you that I disabled firewall and selinux. I also did a test told by woocommerce support of curl that failed. Here it is:
URL
[2] https://www.paypal.com/cgi-bin/webscr
Richiesta
Code: [Select]
{
"metodo": "POST",
"timeout": 10,
"redirection": 5,
"httpversion": "1.1",
"user-agent": "WooCommerce/9.7.1; [url]https://testsimulazione.it[/url] ",
"reject_unsafe_urls": true,
"blocking": true,
"headers": [],
"cookies": [],
"body": {
"cmd": "_notify-validate"
},
"compress": false,
"decompress": true,
"sslverify": true,
"sslcertificates": "/home/simula/public_html/wp-includes/certificates/ca-bundle.crt",
"stream": false,
"filename": null,
"limit_response_size": null,
"_redirection": 5
}[/codice]
Risposta
[codice]{
"errors": {
"http_request_failed": [
"cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received"
]
},
"error_data": []
}
He advised me to check if the PHP modules (curl, mbstring, openssl) are installed (and from the PHP-FPM 8.2 modules they are enabled) and increase the PHP execution time from 300 to 1200 (done).
Hetzner also assured me that the server is not covered by any Firewall. However, I discovered among other forms that the problem could also depend on "remote Send" and "remote get" that are not enabled (but I don't know where to enable them in that case).
13
CentOS 9 Problems / wp_remote_post() failed
« on: March 12, 2025, 04:05:13 PM »
Hello everyone,
on my new server I installed the Centos 9 Stream operating system (my provider Hetzner only allows Centos 9 or Alma Linux 9). After installing CWP for Centos 9 I proceed to do some usage tests by installing a test website with woocommerce. From here I notice that I cannot use payment systems because in woocommerce status I have the error wp_remote_post() failed .
On my previous server with Centos 7 I do not have this problem.
CWP support tells me that everything is fine and there is no incompatibility between installed PHP and to contact woocommerce support. Woocommerce tells me that it could be a server problem, giving me some commands to disable selinux, modsecurity (already disabled), and test curl.
Unfortunately the problem persists... I also contacted the owner of the server, Hetzner, and he assured me that there are no active firewalls on their part.
Can anyone help me? I don't know who to trust anymore.
A thousand thanks
on my new server I installed the Centos 9 Stream operating system (my provider Hetzner only allows Centos 9 or Alma Linux 9). After installing CWP for Centos 9 I proceed to do some usage tests by installing a test website with woocommerce. From here I notice that I cannot use payment systems because in woocommerce status I have the error wp_remote_post() failed .
On my previous server with Centos 7 I do not have this problem.
CWP support tells me that everything is fine and there is no incompatibility between installed PHP and to contact woocommerce support. Woocommerce tells me that it could be a server problem, giving me some commands to disable selinux, modsecurity (already disabled), and test curl.
Unfortunately the problem persists... I also contacted the owner of the server, Hetzner, and he assured me that there are no active firewalls on their part.
Can anyone help me? I don't know who to trust anymore.
A thousand thanks
Pages: [1]