Auto install Letsencrypt broke everything!!

Started by bozo, May 11, 2017, 07:20:22 PM

Previous topic - Next topic

bozo

So I installed it and now I can't load any webpages on any domains so I uninstalled it and still nothing. going to pages I know exist just create a 404 error and no subdomains are working.

Anyone have any ideas how to save everything?

Cheers.

Administrator

try checking apache status and apache error_log

bozo

Everything broke, Apache won't start I can't log into CWP. Nothing.

I've just done a fresh install of the latest version of CWP and am instead using SSL vHost Manager with the AutoSSL. I think I've installed the certificate correctly but there is now the error:

SSL Listen Port 443 Check
Looks like your port 443 is NOT enabled in apache/httpd configuration!

I've tried everything I know to get port 443 to listen and be enabled but can't seem to figure it out. Any ideas what I might have forgotten? Thanks.

6Sense

6Sense - Web Design, Development & Web Hosting

bozo

Silly me, I rebuilt vhosts but not Apache. That's sorted it out. Thanks.

Don't suppose you know anything about files in /var/www/html do you?

http://forum.centos-webpanel.com/centos-configuration/varwwwhtml-redirects/msg11817/#msg11817

Thanks.

eiipaw

I can't access CWP with port 2030 but I can access my website.
I don't know how to rebuild apache and vhosts from SSH

I can't start cwpsrv.service

eiipaw

SOLUTION FOR ME

1.Reinstalled CWP on top of the existing one

(All your files for domain will be preserved,only CWP will reinstall)

(using root)

cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest


reboot after

2.Apache Settings -> SSL Cert Manager

Delete every ssl that you have available(listed down)

3.Reboot system (should be able to login to CWP after that)

OPTIONAL FOR SSL

4.Apache Settings -> LetsEncrypt Manager

Make sure that port 443 is available for listen (find a tutorial)

Click Install LetsEncrypt
Fill out  Install Letsencrypt for Account/Main Domain
Click Install

Reboot


That should be it







banane

Quote from: eiipaw on June 20, 2017, 12:16:33 PM
SOLUTION FOR ME

1.Reinstalled CWP on top of the existing one

(All your files for domain will be preserved,only CWP will reinstall)

(using root)


what about all cwp configurations (users, mail server, apache, mariadb etc etc), do they get preserved or wiped?

vxdas

Fatal error: Uncaught Error: Call to undefined function cwp_cwppro() in /usr/local/cwpsrv/htdocs/admin/admin/index.php:0 Stack trace: #0 {main} thrown in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0 after install.....

n8v8r

Did you set at least one user prior installing the certificate? This error is common when there is no user account.