Author Topic: Pages randomly not loading fully  (Read 2220 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Pages randomly not loading fully
« on: August 10, 2023, 09:49:01 AM »
I'm not sure what is happening but I get heaps of pages not loading fully or correctly constantly

Example is the admin backend of CWP will just load text down the side and no images etc - i reload the page and sometimes it fixes it self and other times it won't.

This is the same for the client login area, where it won't load correctly and needs to be refreshed and with client websites where it won't always load correctly.

I have a feeling it has something to do with the webserver setup but can't say for sure.

Currently using NGINX&APACHE

can anyone assist?

Offline
*
Re: Pages randomly not loading fully
« Reply #1 on: August 10, 2023, 11:03:49 AM »
here is an example of the admin panel having the issue


Offline
****
Re: Pages randomly not loading fully
« Reply #2 on: August 11, 2023, 04:48:35 PM »
Has this happened from the beginning?

Or something new on a stable system?

Offline
*
Re: Pages randomly not loading fully
« Reply #3 on: August 14, 2023, 03:05:42 AM »
from the beginning, and it's been on multiple different installs

Offline
****
Re: Pages randomly not loading fully
« Reply #4 on: August 14, 2023, 07:14:10 AM »
What disro are you install CWP on?

Is it a VPS or Dedicated box?
Specs?

Offline
*
Re: Pages randomly not loading fully
« Reply #5 on: August 15, 2023, 07:18:47 AM »
What disro are you install CWP on?

Is it a VPS or Dedicated box?
Specs?

Thanks for the reply

It's CENTOS7 and installed as per the instructions on the CWP pages.

It's been installed on my own physical server that runs Windows Server 2022 with HyperV
CENTOS7 is installed on it's own hyperv and has 6 cores and up to 65gb of memory available to it

Offline
****
Re: Pages randomly not loading fully
« Reply #6 on: August 15, 2023, 03:52:38 PM »
New installs should be using AlmaLinux 8.x or Rocky Linux 8.x as a suggestion.

For some reason it seems like some of the CentOS 7 files are missing or depreciated, and hence causing problem on new installs not using images.

CentOS 7.x is EOL in June 2024.
But with what RedHat has been doing lately, I wouldn't really even count on that.

Also if you have Mod Security enabled, try changing it from OWASP to Comodo WAF.
« Last Edit: August 15, 2023, 03:54:32 PM by Starburst »

Offline
*
Re: Pages randomly not loading fully
« Reply #7 on: August 16, 2023, 05:27:35 AM »
Thanks, going to Alma or Rocky could be a bit of a pain now we have moved everything over to this

What would you suggest, doing a backup in CWP and then creating a new install and restoring at this point?

Offline
****
Re: Pages randomly not loading fully
« Reply #8 on: August 16, 2023, 10:19:13 PM »
If you have the option, I would create an image of the server.

Then you can follow the guide at: https://almalinux.org/elevate/

Bu with everything to do with computers, Create A Backup or better an Image before doing anything.

Offline
*
Re: Pages randomly not loading fully
« Reply #9 on: August 17, 2023, 08:53:30 AM »
Thanks a bunch

I've got a little stuck though, in the error log for elevate after the pre checks its letting me know that it needs to upgrade links in the root directory to be relative and gives a command to run which is:
sh -c -ln -snf usr/local/cwpsrv/htdocs/resources/scripts /scripts_

When i run that command i get an error which is:
ln: missing file operand

I've tried some trusty googling but can't figure out how to make it all work

thanks :)

Offline
*
Re: Pages randomly not loading fully
« Reply #10 on: August 17, 2023, 11:02:44 AM »
seems as though leapp was giving an incorrect command

I managed to get it to work with:
sudo -ln -snf /usr/local/cwpsrv/htdocs/resources/scripts /scripts

Offline
*
Re: Pages randomly not loading fully
« Reply #11 on: August 17, 2023, 12:14:29 PM »
Not sure what si going on but leapp doesn't seem to like or CWP well it's packages anyway.
I'm now stuck with an error about cmake not being compatible and found somewhere that someone removed it just temp until leapp finished and then reinstalled, i tried that, the cmake error is gone but now there is a new one which is openssl
I'm thinking it's just going to do it for each dependency which i really don't want to remove them all

did you have any similar problems or any fixes?