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 - hunkah

Pages: [1]
1
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!

2
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

3
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.

4
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.

5
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]