Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: funnelx on June 27, 2020, 04:36:59 AM

Title: CWP Images & CSS Won't Load After Update
Post by: funnelx on June 27, 2020, 04:36:59 AM
I was updating CWP and the server had to be restarted before completing the update.

Now the Admin panel CSS and images won't load, which makes the panel unusable.

Client panel and file manager are working fine.

I tried to restart, run cwp update, no result.

I looked up /usr/local/cwpsrv/logs/error_log and found 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://web01.saadhost.com:2031/login/index.php"
2020/06/26 03:23:08 [error] 931#0: *17 open() "/usr/local/cwpsrv/htdocs/admin/login/design/images/cwp_small.png" failed (20: Not a directory), client: 54.38.148.178, server: localhost, request: "GET /login/design/images/cwp_small.png HTTP/1.1", host: "web01.saadhost.com:2031", referrer: "https://web01.saadhost.com:2031/login/index.php"

Title: Re: CWP Images & CSS Won't Load After Update
Post by: josemnunez on June 27, 2020, 07:58:37 PM
Running sh /scripts/update_cwp will suffice