Show Posts

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.


Topics - LPJon

Pages: [1]
1
Okay! Before you use this I have to make some disclaimers...lol. So here they are:

1. !!!YOU ARE USING THIS AT YOUR OWN RISK!!!
2. This fixes the automatic start issue of Netdata on reboot as well

All that said, all tests on a vanilla CWP install on CentOS 9 stream show good.

If you still want to try this then run the one liner command below:
Code: [Select]
cd /scripts && cp install_netdata install_netdata.orig && wget -O install_netdata https://github.com/LPJon/cwpfixes/raw/main/install_netdata && /scripts/./install_netdata

2
Okay! Before you use this I have to make some disclaimers...lol. So here they are:

1. !!!YOU ARE USING THIS AT YOUR OWN RISK!!!
2. This fixes the automatic start issue of Netdata on reboot

All that said, all tests on a vanilla CWP install on CentOS 7 show good.

If you still want to try this then run the one liner command below:
Code: [Select]
cd /scripts && cp install_netdata install_netdata.orig && wget -O install_netdata https://github.com/LPJon/cwpfixes/raw/main/install_netdata && /scripts/./install_netdata

3
This is a fix for Netdata on CentOS 8 Stream. Please read carefully!!

Okay! Before you use this I have to make some disclaimers...lol. So here they are:

1. !!!YOU ARE USING THIS AT YOUR OWN RISK!!!
2. Two packages are from the CentOS 9 Stream Repo (lz4-libs-1.9.3-5.el9.x86_64.rpm lz4-devel-1.9.3-5.el9.x86_64.rpm) and may cause issues later on since they are not officially for CentOS 8 Stream. They are required for Netdata so there is no getting around this on CentOS 8 Stream as it is EOL.
3. This will remove the old failed install of Netdata before trying to install it again.
4. This fixes the automatic start issue of Netdata on reboot
5. I have NO IDEA the long term effect this install could have because of the CentOS 9 Stream packages.
6. !!!THIS HAS NOT BEEN TESTED ON CENTOS 8 NON STREAM VERSION!!!

All that said, all tests on a vanilla CWP install on CentOS 8 Stream show good.

If you still want to try this then run the one liner command below:
Code: [Select]
cd /scripts && cp install_netdata install_netdata.orig && wget -O install_netdata https://github.com/LPJon/cwpfixes/raw/main/install_netdata && /scripts/./install_netdata

4
This is a fix for Netdata on CentOS 8 Stream. Please read carefully!!

Okay! Before you use this I have to make some disclaimers...lol. So here they are:

1. !!!YOU ARE USING THIS AT YOUR OWN RISK!!!
2. Two packages are from the CentOS 9 Stream Repo (lz4-libs-1.9.3-5.el9.x86_64.rpm lz4-devel-1.9.3-5.el9.x86_64.rpm) and may cause issues later on since they are not officially for CentOS 8 Stream. They are required for Netdata so there is no getting around this on CentOS 8 Stream as it is EOL.
3. This will remove the old failed install of Netdata before trying to install it again.
4. This fixes the automatic start issue of Netdata on reboot
5. I have NO IDEA the long term effect this install could have because of the CentOS 9 Stream packages.
6. !!!THIS HAS NOT BEEN TESTED ON CENTOS 8 NON STREAM VERSION!!!

All that said, all tests on a vanilla CWP install on CentOS 8 Stream show good.

If you still want to try this then run the one liner command below:
Code: [Select]
cd /scripts && cp install_netdata install_netdata.orig && wget -O install_netdata https://github.com/LPJon/cwpfixes/raw/main/install_netdata && /scripts/./install_netdata

5
So I have found an issue since the last few days as well. I believe it is related to this issue at the following link: https://forum.centos-webpanel.com/index.php?topic=13474.0. This is NOT a DNS problem, that is incorrectly reported by acme.sh. The challenge file that is placed in:
Code: [Select]
/usr/local/apache/autossl_tmp/.well-known/acme-challengeis not the same as what Letsencrypt is looking for resulting in a 404 error. That's why it's reporting a connection/DNS issue. I'm using Nginx->varnish->Apache setup. Not sure what happened but it looks like the file names are not being generated properly.

Example:
Letsencrypt is looking for the challenge in:
Code: [Select]
https://showme.laptop-pitstop.net/.well-known/acme-challenge/aedMkvm4D2h7A9T0MkGBsdTZya_IGEsu3uV7wjMB6H4
when it should be looking for the challenge in:
Code: [Select]
https://showme.laptop-pitstop.net/.well-known/acme-challenge/<actual file name for challenge>

6
Below is a github link to my repo where I have fixed both the netdata install and CWP Pro Terminal install scripts. I didn't know how else to report these so I made a topic here and posted on the forums at the links below. I tried setting up an account at bugs.centos-webpanel.com but could never get a confirmation email.

Forums:
Netdata
https://forum.centos-webpanel.com/index.php?topic=12874.0
CWP Pro Terminal
https://forum.centos-webpanel.com/index.php?topic=13054.0

My Github:
https://github.com/LPJon/cwpfixes

7
I have a fix for this but oddly enough the CWP forums refuse to let me post it on here with a 403 forbidden error. If you want this fixed reply to this forum topic and I will help you get it done. It's not hard, but it just looks like CWP does NOT want you/me/anyone posting code here for fixing issues with their platform. To those out there that are gonna say it....yes I tried using the CODE enclosures.....they don't work.

In general the problem has to do with GCC and G++ being too old (4.5 I believe) and needs to be updated to 7. But that isn't enough, you also have to rip out the old remnants of the failed install the botched up.

I honestly don't understand why this has been an issue for so long as it's not hard to fix. It did take me a whole week to track down though.

If you are having issues with this reply to this forum topic and I will help you with it. CWP is not on a fast track to fix this.

8
Scripts / CWP Pro Terminal Fails to load with a blank (black) Screen
« on: August 28, 2023, 03:19:23 AM »
I have a fix for this but oddly enough the CWP forums refuse to let me post it on here with a 403 forbidden error. If you want this fixed reply to this forum topic and I will help you get it done. It's not hard, but it just looks like CWP does NOT want you/me/anyone posting code here for fixing issues with their platform. To those out there that are gonna say it....yes I tried using the CODE enclosures.....they don't work.

In general the problem has to do with GCC and G++ being too old (4.5 I believe) and needs to be updated to 7. But that isn't enough, you also have to rip out the old remnants of the failed install the botched up.

I honestly don't understand why this has been an issue for so long as it's not hard to fix. It did take me a whole week to track down though.

If you are having issues with this reply to this forum topic and I will help you with it. CWP is not on a fast track to fix this.

Pages: [1]