CyberPanel Community

How to clear cache after changes to Login Page?

th
thesheryar #1

How do I clear the cache, I changed a few text in the /usr/local/CyberCP/loginSystem

I remember there was a command for it, but I forgot it now and can’t seem to find it anywhere.

7 replies
sh
shoaibkk #2

restart lscpd just and service will work well

th
thesheryar #3

I tried that, but I think there was some command to refresh the Django cache something… pycache

sh
shoaibkk #4

Have you rebooted the server?

th
thesheryar #5

Yes, I rebooted the entire server, tried to restart mariadb, lsws etc but no luck.

sh
shoaibkk #6

Open a ticket at Platfrom and let us check.

th
thesheryar #7

Thank you :smiley: I wish I could

SD
SaJeTek Developer #8

I use the following to clear pycache, restart lscpd and restart php.
See if it helps.

find /usr/local/CyberCP/ -type d -name __pycache__ -exec rm -r {} \+; service lscpd restart && service lsws restart; killall lsphp

Sign in to reply