LiteSpeed + Plesk: Set missing Cache Roots doesn't work

#1
Hi there,
Im using newest versions of:

CloudLinux
Plesk Obsidian
Litespeed 1.3-0 Plesk Extension.

When I checked it the last time it worked. At the evening I extend my DigitalOcean Droplet (only thing what I have changed)...

Today I want to check my litespeed installations and the following error occured:

"Cache Root Not Set"

-> "Cache Root Setup" -> "Set missing Cache Roots" -> "LSCache is not included in the current LiteSpeed license. Please purchase the LSCache add-on or upgrade to a license type that includes LSCache and try again."


I tried this too:
bash <(curl http://www.litespeedtech.com/packages/lscache/set_cache_root_policy.sh)
still the same.

When I use this command, following wrning is happening:
[root@~]# systemctl daemon-reload
[root@~]# service lsws restart
Redirecting to /bin/systemctl restart lsws.service
Warning: lsws.service changed on disk. Run 'systemctl daemon-reload' to reload units.
[root@~]#


It seems that the cache is still working...


Please check my images:
01-litespeed-bug.jpg

I posted a support ticket but only got this as an answer:
"In LiteSpeed plugin for plesk, when you checking cache root, it saying "set missing cache root".
Please click it to see if it helps." :(.


Thank you all in advance,
Thomas
 
#4
This doent appear to be fixed.

I am having the same issue but i have v1.4.4-0 of the LiteSpeed Extension.

Server Version is 5.4.11 build 2

Running Plesk Obsidian Version 18.0.32

CentOS Linux 8.2.2004 (Core)

Manage Cache Installations-->

Cache Root Not Set = Server and/or Virtual Host cache root has not yet been set. Please go to Cache Root Setup and set these first.

Cache Root Setup-->

Server level /var/www/vhosts/lscache/ (Current) /var/www/vhosts/lscache/ (Recommended)
VHost level not set! (Current) lscache* (Recommended)

Clicking "Set Missing Cache Roots" updates the table but when i come back to the page it has reverted to VHost level not set!

I have followed guidance from here:https://www.litespeedtech.com/suppo...d_wiki:cache:common_installation:plesk-shared but all was set as recommended except for /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php which had

<IfModule Litespeed>
CacheRoot lscache
</IfModule>

within the VirtualHost container at the end after <IfModule mod_rewrite.c>. I did remove this and add it after the mod_suexec.c block but this didnt work and the file has now also reverted, i am assuming due to /usr/local/psa/admin/bin/httpdmng --reconfigure-all

This is a Virtual Machine which will host a number of vhosts/plesk subscriptions.

Please can you help?
 
Top