Hi,
Getting error while using below state script provided in mender code,
mender/examples/state-scripts/dbus-notification/Download_Enter_00
RC=0
UPD=`dbus-send --system \
--dest=org.mender.updater \
--print-reply \
--type=method_call \
/ \
local.ServiceQtUpdater.CMenderQtUpdater.enableUpdate | \
grep "byte" | \
awk '{print $2}'`
RC=$UPD
Mender client error logs
Jul 07 11:38:46 ip-172-31-44-92 mender[8574]: time="2023-07-07T11:38:46Z" level=info msg="Executing script: Download_Enter_00"
Jul 07 11:39:02 ip-172-31-44-92 mender[8574]: time="2023-07-07T11:39:02Z" level=info msg="Collected output (stderr) while running script /etc/mender/scripts/Download_Enter_00\nmender:release-1.41: Download_Enter_00 was called!\nError org.freedesktop.DBus.Error.ServiceUnknown: The name org.mender.updater was not provided by any .service files\nmender:Returning from /etc/mender/scripts/Download_Enter_00 state script\n\n---------- end of script output"
Jul 07 11:39:02 ip-172-31-44-92 mender[8574]: time="2023-07-07T11:39:02Z" level=info msg="Running Mender client version: 3.5.0"
Regards,
Naresh