Control Web Panel
WebPanel => CentOS Configuration => Topic started by: viskus 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?
-
here is an example of the admin panel having the issue
(https://i.ibb.co/tJCRX7H/example-of-cwp-not-loading.png)
-
Has this happened from the beginning?
Or something new on a stable system?
-
from the beginning, and it's been on multiple different installs
-
What disro are you install CWP on?
Is it a VPS or Dedicated box?
Specs?
-
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
-
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.
-
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?
-
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.
-
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 :)
-
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
-
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?