Closed dirtyharrywk closed 2 years ago
Same issue here too. Most of the logs are just: RuntimeException: The antivirus executable could not be found at /usr/bin/clamscan
.
Full log snippet here:
[files_antivirus] Error: RuntimeException: The antivirus executable could not be found at /usr/bin/clamscan at <<closure>>
0. <<closure>>
OCA\Files_Antivirus\Scanner\LocalClam->__construct(OCA\Files_Antivirus\AppConfig {}, OC\AppFramework\Logger {}, OCA\Files_Antivirus\StatusFactory {})
1. /snap/nextcloud/27434/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 101
ReflectionClass->newInstanceArgs([OCA\Files_Antiv ... }])
2. /snap/nextcloud/27434/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 109
OC\AppFramework\Utility\SimpleContainer->buildClass(ReflectionClass ... "})
3. /snap/nextcloud/27434/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 126
OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\Files_Anti ... m")
4. /snap/nextcloud/27434/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php line 455
OC\AppFramework\Utility\SimpleContainer->query("OCA\\Files_Anti ... m")
5. /snap/nextcloud/27434/htdocs/lib/private/ServerContainer.php line 140
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Files_Anti ... m")
6. /var/snap/nextcloud/27434/nextcloud/extra-apps/files_antivirus/lib/Scanner/ScannerFactory.php line 45
OC\ServerContainer->query("OCA\\Files_Anti ... m")
7. /var/snap/nextcloud/27434/nextcloud/extra-apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php line 334
OCA\Files_Antivirus\Scanner\ScannerFactory->getScanner()
8. /var/snap/nextcloud/27434/nextcloud/extra-apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php line 121
OCA\Files_Antivirus\BackgroundJob\BackgroundScanner->scanOneFile(OC\Files\Node\File {})
9. /snap/nextcloud/27434/htdocs/lib/private/BackgroundJob/Job.php line 52
OCA\Files_Antivirus\BackgroundJob\BackgroundScanner->run(null)
10. /snap/nextcloud/27434/htdocs/lib/private/BackgroundJob/TimedJob.php line 59
OC\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
11. /snap/nextcloud/27434/htdocs/cron.php line 127
OC\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
Thank you for taking the time to report a problem :+1:
As this seems to be a setup issue I would like to ask you to raise your question at https://help.nextcloud.com
Steps to reproduce
**
Expected behaviour
Files to be scanned
Actual behaviour
Errors in log.
Server configuration
Operating system: Debian 9
Web server:. Lighttpd
Database: Mysql
PHP version: 7.3.25
Nextcloud version: 20.0.4
Where did you install Nextcloud from: Dietpi
List of activated apps:. Plex, Pi Hole, Nextcloud.
dan@cs2:/var/www/nextcloud# sudo -u www-data php occ app:list Enabled:
Nextcloud configuration:
Client configuration
Browser:. Safari, Chrome and Firefox
Operating system:. MacOS
Logs
Nextcloud log (data/owncloud.log)
Browser log