0.98.1104 update denied permissions

Started by DA_MAN, November 30, 2021, 05:07:19 AM

Previous topic - Next topic

DA_MAN

I ran the cron job to update the server (sh /scripts/update_cwp) but when it went to update after downloading, it came up with errors for everything. I was logged in as root. I don't think any files were updated. This is the end of my log but this same error scrolled across the screen from the time it downloaded and unzipped.

error:  cannot delete old admin/design/img/loaders/circular/064.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/circular/070.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/circular/041.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/circular/022.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/045.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/058.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/031.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/048.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/006.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/009.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/037.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/043.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/063.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/036.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/053.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/018.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/004.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/057.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/024.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/014.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/032.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/005.gif
        Permission denied
error:  cannot delete old admin/design/img/loaders/horizontal/062.gif
        Permission denied
error:  cannot delete old admin/design/img/thumbs-up.jpg
        Permission denied
error:  cannot delete old admin/design/img/online.gif
        Permission denied
error:  cannot delete old admin/design/img/offline.png
        Permission denied


Thanks in advance; hopefully people will be on the lookout for this if they run the cron job to update the server version. The only reason I was using the corn was because the Dashboard Interface was timing out with a 504 error.

studio4host

update doesn't delete those files so you have some other issue there.
try to run cwp update again
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

DA_MAN

I just recieve the following:
====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl restart httpd.service


Which is the same thing that showed after the end of all the errors I got yesterday. Is there a way to force the download of the update package? It would seem that CWP7 thinks it is updated properly and I don't know that it has with all of those hundreds or thousands of errors

studio4host

you should contact cwp support if you have strange issues
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.