I frequently apply upgrades from the console and occasionally the clients will freeze. The only thing that fixes it is to restart waptservice. When looking at the log on the client I see:
Code : Tout sélectionner
Get packages index
90 package(s) in the repository
Packages to be updated : hcrp-vlc(=3.0.5-3),hcrp-adobereader-en(=2019.10.20069-3),hcrp-cisco-jabber(=12.5.0.22884-2)
Exception in thread WaptTaskManager:
Traceback (most recent call last):
File "c:\wapt\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "c:\wapt\waptservice\service.py", line 1415, in run
self.update_runstatus('')
File "c:\wapt\waptservice\service.py", line 1184, in update_runstatus
self.events.post_event("STATUS",self.wapt.get_last_update_status())
File "c:\wapt\common.py", line 5043, in get_last_update_status
status = self.read_param('last_update_status',{"date": "", "running_tasks": [], "errors": [], "upgrades": []},ptype='json')
File "c:\wapt\common.py", line 6621, in read_param
return self.waptdb.get_param(name,default,ptype)
File "c:\wapt\common.py", line 336, in get_param
q = self.db.execute('select value,ptype from wapt_params where name=? order by create_date desc limit 1',(name,)).fetchone()
OperationalError: database is locked
2019-01-07 07:04:44,927 CRITICAL *********** error OperationalError: database is locked
2019-01-07 07:04:50,526 CRITICAL *********** error OperationalError: database is locked
2019-01-07 07:04:56,131 CRITICAL *********** error OperationalError: database is locked
2019-01-07 07:31:53,586 CRITICAL *********** error OperationalError: database is locked
Any ideas?
Thanks,
Chris Knowles