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.


Messages - hunkah

Pages: [1]
1
Installation / Re: Changing Web Root
« on: March 13, 2022, 09:56:18 AM »
OH MY GOSH!  I figured it out.  FOUR HOURS this took me!  I didn't know there was another file called:
Code: [Select]
/usr/local/apache/conf.d/vhosts/<example.com>.ssl.conf
which needs to be edited as well.  The randomness was coming from the site being http:// and https:// .  Not sure why it loaded http:// and https:// randomly, but anyway, that's the fix if anyone has this same issue and doesn't want to have an episode.

2
Installation / Changing Web Root
« on: March 13, 2022, 09:46:02 AM »
I'm having the most bizarre and random issue, and I can't get it to stay solid for me to debug it.

I'm installing Drupal through PHP Composer, and it gives me a default web root of 'public_html/web', so I edit:
Code: [Select]
vi /usr/local/apache/conf.d/vhosts/<example.com>.conf
Change the document root to:
Code: [Select]
DocumentRoot /home/<username>/public_html/web

Restart the apache service:
Code: [Select]
systemctl restart httpd
Now here's where the weirdness happens.  Like about 50% of the time the website loads from /home/<user>/public_html/web, and just randomly for no reason, the site will load from /home/<user>/public_html

Does anyone have any idea why this is happening, like there's nothing in the error logs.  I feel like I'm going crazy!

3
Addons / Re: Not able to create Drupal or Wordpress CMS website
« on: September 27, 2021, 01:53:07 AM »
Any updates on the reason why this isn't working?

4
Installation / Re: Issues with connection on CWP servers
« on: September 24, 2021, 02:56:44 AM »
Alright, just to be thorough, I tried installing the script on Rocky Linux, (which is the droplet I'm using on Digital Ocean).

I'm using VirtualBox with an install of Rocky Linux, as I like to test everything locally before I do anything on a live server.

I changed line 70 of the cwp-el8-latest script from this:
Code: [Select]
centosversion=`rpm -qa \*-release | grep -Ei "oracle|redhat|centos|cloudlinux" | cut -d"-" -f3|sed 's/\..$//'`


to this:
Code: [Select]
centosversion=`rpm -qa \*-release | grep -Ei "oracle|redhat|centos|cloudlinux|rocky" | cut -d"-" -f3|sed 's/\..$//'`


What I did differently was switch the VM's NAT network connection to a Bridged network connection and the installation failed for the exact same reason.

I tried it all again, leaving the VM's network connection as a NAT connection and everything worked.

So I'm not sure why that problem exists, or if it's supposed to be like that, but that's where the problem was.

If anyone wants to report this bug, and mark this thread as fixed or resolved, I'm cool with that.

5
Installation / Re: Issues with connection on CWP servers
« on: September 24, 2021, 12:41:12 AM »
OK, I figured it out. 

I must have somehow been blocked by the centos-webpanel server for some reason.  I just blew away all three of my VMs, and reinstalled CentOS 8.4 (non-stream), and used a different domain name during the install process, and everything worked.

I'm not sure how this fixed the problem, other than maybe I was blocked, but maybe if it happens to someone else, they will know how to fix it.

Thank you everyone for the help, even though it didn't fix the problem, it gave me enough clues to figure it out.

6
Installation / Re: Issues with connection on CWP servers
« on: September 23, 2021, 09:58:18 PM »
When I use wget In the CentOS 8.4 VM, this is what happens:

Code: [Select]
apr-1.5.2-2.x86_64.rpm          19%[+++++++++++++++++========>                       ]  41.23K  --.-KB/s    in 0.07s
2021-09-23 17:50:12 (195 KB/s) - Read error at byte 14092/5777628 (Connection reset by peer). Retrying.

Weirdly, and just to see the difference, when I am using Fedora on my local machine (not the VM/server), it downloads without any issues.

So that's weird.  Why would it work on my local machine, but not in the VM?  Is my VM being blocked or something?

7
Installation / Re: Issues with connection on CWP servers
« on: September 23, 2021, 03:34:31 AM »
Completely new install.  Minimal, no GUI, nothing done except and update.

8
Installation / Re: Issues with connection on CWP servers
« on: September 22, 2021, 09:24:36 PM »
I've tried running the script in CentOS 8 (non-stream), Rocky Linux and CentOS Stream, all of them say the same thing.

Code: [Select]
http://repo.centos-webpanel.com/repo/8/x86_64/apr-1.6.2-1.x86_64.rpm [Recv failure: Connection reset by peer]

Which looks like a problem with http://repo.centos-webpanel.com, I've tried to figure this out and the only thing I've seen is that there is either an issue with the SSL credentials on the server-side or that the server can't handle the amount of traffic.


9
Installation / Issues with connection on CWP servers
« on: September 21, 2021, 02:56:10 AM »
Hello there,

It seems for the past few days I've been getting an error when trying to run the installer script.

Code: [Select]
[Recv failure: Connection reset by peer]
Does anyone know what's going on?  I read that it had nothing to do with me or my server.

Code: [Select]
Transaction Summary
================================================================================
Install  111 Packages

Total download size: 17 M
Installed size: 57 M
Downloading Packages:
[MIRROR] apr-1.6.2-1.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://repo.centos-webpanel.com/repo/8/x86_64/apr-1.6.2-1.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] cwp-httpd-2.4.39-3.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://repo.centos-webpanel.com/repo/8/x86_64/cwp-httpd-2.4.39-3.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] apr-util-1.6.0-1.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://repo.centos-webpanel.com/repo/8/x86_64/apr-util-1.6.0-1.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] apr-1.6.2-1.x86_64.rpm: Curl error (56): Failure when receiving data from the peer for http://repo.centos-webpanel.com/repo/8/x86_64/apr-1.6.2-1.x86_64.rpm [Recv failure: Connection reset by peer]
[FAILED] apr-1.6.2-1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success

10
Installation / Re: Drupal 8
« on: August 12, 2019, 05:27:56 PM »
I figured it out. 

For some reason Drupal 8 has a setting that makes the css themes not work.  To fix it:
http://<your_site>/index.php/admin/config/development/performance
uncheck css aggregation
Save

11
Installation / Drupal 8
« on: August 11, 2019, 09:15:28 AM »
Has anyone had any success trying to install Drupal 8?

I've been trying for 2 days now.  Nothing seems to be working.  I feel like I've tried every walkthrough on the internet, but none of them work.

12
CentOS 7 Problems / Re: Everything I click, Logs me out
« on: July 31, 2019, 04:21:33 AM »
OK, bizarrely, it fixed itself.  I'm not sure what happened or how it got fixed, but it's working now.

13
CentOS 7 Problems / Everything I click, Logs me out
« on: July 31, 2019, 03:49:00 AM »
OK, so here's what I did.  I wanted to create a test account to play around with.  I called it "fake1".  That way I could play with it by going to <myserver>/~fake1

That brought me to the cwp landing page.  I did a Drupal install, and it still brought me to the cwp landing page.

Now if I login to the Admin section, everything I click logs me out of the Admin.

I've noticed similar issues that have been posted in the last couple of days.  I also got a 502 Bad Gateway cwpsrv, after I tried to "userdel -r fake1", but managed to fix it by adding the user back by "ueseradd fake1".  I'm still not able to do anything in the Admin panel, and usually I love figuring out what went wrong, but I'm stumped.  I don't know how to remove that user without some kind of script to see if that was the issue.

14
Postfix / Re: postfix cannot install dkim -unit not found
« on: August 27, 2018, 02:01:37 AM »
Checking the box - Installs DKIM & SPF, enables DKIM for New Accounts and Domains
Then clicking Rebuild worked for me.

15
DNS / Not setting hostname or NS1 causes weird issues
« on: August 26, 2018, 11:07:46 PM »
I am making this post, because of an issue I found and was able to fix, and because I have no idea what the problem was, it took me a really long time to figure out.  I'm hoping that someone can explain why this happened, but also I'm hoping that someone can be helped by seeing this.

To explain the situation, I'm going to use a domain example: server1.hunkah.com

I hadn't set my hostname properly.  I had just put hunkah.com as my hostname and left out server1.  So when the system was sending emails out they were going out as root@hunkah.yourdomain.com so basically replacing the ".com" with "yourdomain.com".

I tried to figure out where the yourdomain.com was coming from, and couldn't find a single file with that string in there.  After I did that, I pointed ns1.hunkah.com to my IP address, and everything was fixed after that.  So I'm not sure which of these changes fixed the issue or where the yourdomain.com was coming from.

Thanks for any insight and I hope this helps someone else with this problem.

Pages: [1]