What app is this about, and its version: Nextcloud 33.0.2~ynh1
What YunoHost version are you running: YunoHost 12.1.39
What type of hardware are you using: Old laptop or computer
Describe your issue
Nextcloud can’t execute the background job for clamav
Step to reproduce:
- install the app “Antivirus for file”
- install clamav as explained here: Antivirus scanner — Nextcloud latest Administration Manual latest documentation
- (sudo apt-get install clamav clamav-daemon)
- ss -a|grep clam
u_str LISTEN 0 4096 /run/clamav/clamd.ctl 2276539 - configure nextcloud for: Daemon (socket), and socket to: /run/clamav/clamd.ctl
→ first error: clamav is not properly runnning so: - sudo systemctl restart clamav-daemon.service
- Configure again the Nextcloud socket for: /run/clamav/clamd.ctl
But then Nextcloud can’t execute the background job
Share relevant logs or error messages
Error Call to a member function getUID() on null
Error while running background job OCA\Files_Antivirus\BackgroundJob\BackgroundScanner (id: 245, arguments: null)