Control Web Panel

WebPanel => Updates => Topic started by: funnelx on June 26, 2020, 01:51:03 AM

Title: CWP Broken After Update
Post by: funnelx on June 26, 2020, 01:51:03 AM
After update my CWP Pro looks like this:

(https://saadhost.com/wp-content/uploads/2020/06/cwp-corrupt.png)

Previously I was getting this error:

** (pkttyagent:26814): WARNING **: 03:54:40.789: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)

Which I handled with this:

groupadd -g 23 nohidproc
usermod -a -G nohidproc polkitd
mount -o remount,rw,hidepid=2,gid=nohidproc /proc
systemctl restart polkit

How can I fix this?
Title: Re: CWP Broken After Update
Post by: Alnork on June 26, 2020, 08:04:38 AM
Hi,

try restart the cwp service:
Code: [Select]
sh /scripts/restart_cwpsrv
Title: Re: CWP Broken After Update
Post by: funnelx on June 26, 2020, 08:52:03 AM
I tried that, I also rebooted the server, no change.
Title: Re: CWP Broken After Update
Post by: funnelx on June 26, 2020, 11:29:41 AM
I checked the CWP error log and I am finding errors like this:

2020/06/26 03:23:08 [error] 931#0: *17 open() "/usr/local/cwpsrv/htdocs/admin/login/design/img/login.css" failed (20: Not a directory), client: 54.38.148.178, server: localhost, request: "GET /login/design/img/login.css HTTP/1.1", host: "web01.saadhost.com:2031", referrer: "https://aaaa.xxxxx.com:2031/login/index.php"
Title: Re: CWP Broken After Update
Post by: monkeyking on July 14, 2020, 06:12:13 PM
Did you ever get this fixed? I'm having the same issue on CWPpro version: 0.9.8.997.
Title: Re: CWP Broken After Update
Post by: funnelx on July 14, 2020, 07:42:05 PM
I paid $7.50 for CWP 1-time support and they fixed it for me within an hour.

No idea what the problem was, but the service is fast and inexpensive.

http://centos-webpanel.com/support-services