Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: DangerD2 on February 19, 2023, 08:30:40 PM

Title: Can't update CWP Files (The encoded file expired) (can't update CWP files)
Post by: DangerD2 on February 19, 2023, 08:30:40 PM
Well known problem, so i wan't to update files manually:
Code: [Select]
cd /usr/local/cwpsrv/htdocs

wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.945.zip
unzip -o cwp2-0.9.8.945.zip
rm -f cwp2-0.9.8.945.zip

But i have permission error...
Code: [Select]
[root@server]# rm -f /usr/local/cwpsrv/htdocs/admin/index.php
rm: cannot remove `/usr/local/cwpsrv/htdocs/admin/index.php': Operation not permitted
o_O

Any ideas?
Title: Re: Can't update CWP Files (The encoded file expired) (can't update CWP files)
Post by: DangerD2 on March 02, 2023, 09:06:42 AM
removed immutable tag, worked fine now
Title: Re: Can't update CWP Files (The encoded file expired) (can't update CWP files)
Post by: overseer on March 05, 2023, 03:28:46 AM
Yes, anything under /usr/local/cwpsrv you will have to clear the immutable bit.
Code: [Select]
chattr -i <file>