Unable to execute office commands

Sometimes I have these errors in my Nextcloud Log. But I couldn’t find any solutions to fix it.

{"reqId":"k0jMYigRYs0iDzKAly2c","level":3,"time":"2020-04-10T19:08:09+00:00","remoteAddr":"XXXX","user":"User","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/User/","message":"shell_exec(): Unable to execute 'command -v libreoffice' at /var/www/html/nextcloud/lib/private/PreviewManager.php#376","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36","version":"18.0.3.0"}
{"reqId":"k0jMYigRYs0iDzKAly2c","level":3,"time":"2020-04-10T19:08:09+00:00","remoteAddr":"XXXX","user":"User","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/User/","message":"shell_exec(): Unable to execute 'command -v openoffice' at /var/www/html/nextcloud/lib/private/PreviewManager.php#379","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36","version":"18.0.3.0"}
{"reqId":"BCfdBickLd4WOzqXiN5X","level":3,"time":"2020-04-10T19:08:10+00:00","remoteAddr":"XXXX","user":"User","app":"PHP","method":"GET","url":"/index.php/apps/recommendations/api/recommendations","message":"shell_exec(): Unable to execute 'command -v libreoffice' at /var/www/html/nextcloud/lib/private/PreviewManager.php#376","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36","version":"18.0.3.0"}
{"reqId":"BCfdBickLd4WOzqXiN5X","level":3,"time":"2020-04-10T19:08:10+00:00","remoteAddr":"XXXX","user":"User","app":"PHP","method":"GET","url":"/index.php/apps/recommendations/api/recommendations","message":"shell_exec(): Unable to execute 'command -v openoffice' at /var/www/html/nextcloud/lib/private/PreviewManager.php#379","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36","version":"18.0.3.0"}

Nextcloud version : 18.0.3.0
Operating system and version : Ubuntu 18.04.3 LTS
Apache version : 2.4.29
PHP version : 7.2.24

I hope you can advise me a little on this. Thanks for your help!