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

Pages: [1]
SSL / AutoSSL renewal setting wrong IP address in apache config
« on: September 30, 2021, 03:27:31 PM »
I have a bunch of accounts that are set to a secondary IP.

The last few AutoSSL renewals, I was getting certificate errors on the website (wrong certificate was being served by apache). Upon further investigation, the IP address in the apache conf for those domains was reset to the server's shared IP address, instead of the IP address set for that user account.

Last time this happened, I manually changed the IP in the apache virtual host file, updated + restarted the server. But this issue just happened again, so appears to be a bug in the AutoSSL renewal script.

If I delete + re-add auto ssl manually from the user panel, it will use the correct IP address, so seems to only be affected by AutoSSL renewal.

The reseller area in the Web Panel seems to have a bug. It is letting resellers create account names with longer than 8 characters. Which is also causing new databases to not have proper permissions.

If I auto login to a user's Web Panel from the Admin Panel, then click SQL Services > phpMyAdmin, phpMyAdmin give the error: "Login without a password is forbidden by configuration (see AllowNoPassword)."

But If I login to the user's Web Panel using their credentials then click SQL Services > phpMyAdmin, it will auto login.

Not sure if this is a bug or is done like this for security purposes? Would be nice, because I don't have the user's Web Panel credentials for some of my clients. And I don't like doing database functions as the root user.

E-Mail / SPF Issues for accounts on alternate IP address
« on: February 26, 2021, 10:48:10 PM »

Having some issues with SPF records on user accounts that are set to use a secondary IP address. It appears the SPF DNS entry is adding the secondary IP address, but emails when they are sent from these accounts are coming from the CWP machine's primary address.

I've been having to go in manually with each account to update the SPF record to the machine's primary IP.

Is there a way that either when the SPF record is automatically created it will use the primary IP instead of the IP that is on the user account. Or that when a user sends mail, it uses their assigned IP address to send instead of the machines primary address.

Would like to not have to go into each new account to change this manually every time.

SSL / Auto SSL services skipped
« on: February 23, 2021, 01:56:48 AM »
The passed few days I've been having issues with Auto SSL on some new domain names. When I try to add Auto SSL to a domain and check mail and webmail for additional services, I get an error message saying:

Some of the selected services will not be installed, due to DNS redirection problems.

Services that will be skipped: webmail

I've checked that the DNS entries are pointing to the right server (same server as CWP), and made sure they have propagated through the internet.

Some fail on webmail, some fail on mail. Doesn't seem to be any reason for it and doesn't show up in auto ssl logs.

E-Mail / Store email in user home directory?
« on: February 19, 2021, 05:38:46 PM »
Is it possible to change where email is stored per user? I would like mail to be stored in the user's home folder so they can access it from the File Manager.

Updates / CentOS 7 Update to CentOS 8 Stream
« on: December 13, 2020, 06:01:13 PM »

I've heard about the news of CentOS 7 EoL in 2024. Just wondering if there will be a way to upgrade to CentOS 8 Stream, keeping all CWP configuration + data in place?

Would be nice if there is an easy upgrade path as migrating everything over to a new machine is a pain in the neck.

PHP / PHP Version Switcher Stalled
« on: August 13, 2020, 04:46:45 AM »
Tried changing to PHP 7.4.9 using the version switcher & it has stalled out. Not sure how to revert back as I'm unable to access CWP via the web.

This is the php-rebuild.log:
Code: [Select]
/usr/local/src/php-build/php-7.4.9/build/shtool install -c ext/phar/phar.phar /usr/local/bin/phar.phar
ln -s -f phar.phar /usr/local/bin/phar
Installing PDO headers:           /usr/local/include/php/ext/pdo/
Make Install DONE!
PHP Rebuild Completed

Deleting cwp-php RPM

CentOS 7 Problems / No subdomains have been created.
« on: February 23, 2020, 12:51:24 AM »
Subdomains for one of my users is not working.

I have created 2 subdomains. Under the Sub Domain page, the count shows as 2/10 for Available/Contracted. But showing message of: "No subdomains have been created."

Pages: [1]