Control Web Panel
WebPanel => Updates => Topic started by: emar on January 11, 2023, 09:56:59 AM
-
Hi,
I'm trying to run the update command sh /scripts/update_cwp
First I used the CWP Pro Terminal and got this message:
[root@svr1 /]# sh /scripts/update_cwp
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
grep: write error
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
Redirecting to /bin/systemctl restart cwpsrv.service
[root@svr1 admin]# [root@svr1 admin]# [root@svr1 admin]# ^C
[root@svr1 admin]#
I then ran the same command in the Simple terminal
user@svr1.site.com ~$ sh /scripts/update_cwp
[ERROR] AJAX: error
Any advice appreciated.
Thanks
-
I fixed some other errors and everything works again.
If you get these two errors when running CWP update command: sh /scripts/update_cwp
Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Solution: https://forum.centos-webpanel.com/index.php?topic=9168.0 (https://forum.centos-webpanel.com/index.php?topic=9168.0)