Lighttpd SSL failures after upgrade from Buster to Bullseye

Hi,

after upgrading from Buster to Bullseye with working DietPi-LetsEncrypt, some SSL-related-settings in lighttpd are broken and it won’t start.
Error msg:
fdevent.c.1150) fdevent_load_file() /etc/lighttpd/server.pem: No such file or directory
server.c.1244) Initialization of plugins failed. Going down.

Solution:
After upgrading, there is a new generic conf-file in place:
/etc/lighttpd/conf-enabled/10-ssl.conf
that refers to a non existent
ssl.pemfile = “/etc/lighttpd/server.pem”
Should be
ssl.pemfile = “/etc/letsencrypt/live/yourdomain/combined.pem”
to respect the original LetsEncrypt certificate.

Further, there’s a warning:
WARNING: include-conf-enabled.pl is deprecated and slated for removal.
Replace in lighttpd.conf with:
include “/etc/lighttpd/conf-enabled/*.conf”

Just do as suggested, and the warning is gone.

hmm is that an older installation? Because it contains thinks we don’t use on current installations.

Further, there’s a warning:
WARNING: include-conf-enabled.pl is deprecated and slated for removal.
Replace in lighttpd.conf with:
include “/etc/lighttpd/conf-enabled/*.conf”

we use configuration file as is and it contains correct setting

include "/etc/lighttpd/conf-enabled/*.conf"



Error msg:
fdevent.c.1150) fdevent_load_file() /etc/lighttpd/server.pem: No such file or directory
server.c.1244) Initialization of plugins failed. Going down.

For SSL configuration, we use our own config file 98-dietpi-https_redirect.conf + 50-dietpi-https.conf. At least if you would use our own dietpi-letsencrypt to generate SSL certificates, 10-ssl.conf will not be activated.

And of course we use file path as created by letsencrypt.

# pemfile is cert+privkey, ca-file is the intermediate chain in one file
ssl.pemfile = "/etc/letsencrypt/live/my.ddns.com/combined.pem"
ssl.ca-file = "/etc/letsencrypt/live/my.ddns.com/fullchain.pem"

Thank you for the clarification. All the files you mentioned are still there.
Looking at the file-dates in the conf-directory, 10-ssl.conf seems to have been installed by the upgrade from stretch to buster.
Unlinked it and everything works fine.

strange that 10-ssl.conf got activated. At least not something our scripts do. Maybe Lighttpd package update detected an active SSL configuration and activated the config by it’s own? Anyway, good it is fixed now.

Hi Joulinar I have similar issue. I have problems with my nextcloud installation before (lighttpd) because I move from Rpi to MiniPC. Now I upgrade from Buster to Bullseye and everything went fine but my nextcloud dont work. I try to reinstall and try

ncc maintance:repair

. I reboot few times but still nothing.

dietpi@DietPi:~$ sudo dietpi-services status

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: status 

[  OK  ] DietPi-Services | avahi-daemon         : active (running) since Thu 2021-10-07 17:10:00 CEST; 1min 44s ago
[  OK  ] DietPi-Services | proftpd              : active (running) since Thu 2021-10-07 17:10:01 CEST; 1min 44s ago
[  OK  ] DietPi-Services | nfs-kernel-server    : active (exited) since Thu 2021-10-07 17:10:02 CEST; 1min 42s ago
[  OK  ] DietPi-Services | redis-server         : active (running) since Thu 2021-10-07 17:10:02 CEST; 1min 42s ago
[  OK  ] DietPi-Services | mariadb              : active (running) since Thu 2021-10-07 17:10:03 CEST; 1min 41s ago
[  OK  ] DietPi-Services | php7.4-fpm           : active (running) since Thu 2021-10-07 17:10:03 CEST; 1min 41s ago
[FAILED] DietPi-Services | ● lighttpd.service - Lighttpd Daemon
     Loaded: loaded (/lib/systemd/system/lighttpd.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2021-10-07 17:10:05 CEST; 1min 39s ago
    Process: 1372 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)
        CPU: 85ms

Oct 07 17:10:05 DietPi systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Oct 07 17:10:05 DietPi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Oct 07 17:10:05 DietPi systemd[1]: Failed to start Lighttpd Daemon.
Oct 07 17:10:05 DietPi systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Oct 07 17:10:05 DietPi systemd[1]: Stopped Lighttpd Daemon.
Oct 07 17:10:05 DietPi systemd[1]: lighttpd.service: Start request repeated too quickly.
Oct 07 17:10:05 DietPi systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Oct 07 17:10:05 DietPi systemd[1]: Failed to start Lighttpd Daemon.
[  OK  ] DietPi-Services | emby-server          : active (running) since Thu 2021-10-07 17:10:03 CEST; 1min 41s ago
[  OK  ] DietPi-Services | noip2                : active (running) since Thu 2021-10-07 17:10:03 CEST; 1min 41s ago
[  OK  ] DietPi-Services | cron                 : active (running) since Thu 2021-10-07 17:10:03 CEST; 1min 41s ago
[  OK  ] DietPi-Services | ssh                  : active (running) since Thu 2021-10-07 17:10:00 CEST; 1min 44s ago
[  OK  ] DietPi-Services | fail2ban             : active (running) since Thu 2021-10-07 17:09:48 CEST; 1min 56s ago
[ INFO ] DietPi-Services | dietpi-vpn           : inactive (dead)
[  OK  ] DietPi-Services | dietpi-ramlog        : active (exited) since Thu 2021-10-07 17:09:48 CEST; 1min 57s ago
[  OK  ] DietPi-Services | dietpi-preboot       : active (exited) since Thu 2021-10-07 17:09:48 CEST; 1min 57s ago
[  OK  ] DietPi-Services | dietpi-boot          : active (exited) since Thu 2021-10-07 17:10:00 CEST; 1min 44s ago
[  OK  ] DietPi-Services | dietpi-postboot      : active (exited) since Thu 2021-10-07 17:10:00 CEST; 1min 44s ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  : inactive (dead)

Regards,
Przemek

No need to reinstall or repair anything. Simply post following to check config

/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf

I have that:

dietpi@DietPi:~$ /usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
2021-10-07 17:40:01: configfile.c.461) Warning: "mod_compress" is DEPRECATED and has been replaced with "mod_deflate".  A future release of lighttpd 1.4.x will not contain mod_compress and lighttpd may fail to start up
2021-10-07 17:40:01: configfile.c.2274) server.upload-dirs doesn't exist: /var/cache/lighttpd/uploads
2021-10-07 17:40:01: plugin.c.195) dlopen() failed for: /usr/lib/lighttpd/mod_openssl.so /usr/lib/lighttpd/mod_openssl.so: cannot open shared object file: No such file or directory
2021-10-07 17:40:01: server.c.1238) loading plugins finally failed

Regards.

I find another topic and install mod-openssl and mod-deflate but don’t help. I see only https works but www site shows me 503 Service Unavailable.
regards.

Did you reboot your system. Are all services running afterwards?

I reboot system all services are working OK. Maybe dietpi-letsencrypt reinstall?

dietpi@DietPi:~$ sudo /usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
2021-10-07 18:16:14: configfile.c.461) Warning: "mod_compress" is DEPRECATED and has been replaced with "mod_deflate".  A future release of lighttpd 1.4.x will not contain mod_compress and lighttpd may fail to start up
2021-10-07 18:16:14: mod_openssl.c.2475) SSL: ssl.use-sslv2 is deprecated and will soon be removed.  It is disabled by default.  Many modern TLS libraries no longer support SSLv2.
2021-10-07 18:16:14: mod_openssl.c.2482) SSL: ssl.use-sslv3 is deprecated and will soon be removed.  It is disabled by default.  Many modern TLS libraries no longer support SSLv3.
2021-10-07 18:16:14: mod_deflate.c.567) DEPRECATED: compress.filetype replaced with deflate.mimetypes
2021-10-07 18:16:14: mod_deflate.c.580) DEPRECATED: compress.cache-dir replaced with deflate.cache-dir

regards.

are you able to access your DDNS address like https://your.ddnss.com without using /nextcloud sub path?

Yes I that placeholder page:

You should replace this page with your own web pages as soon as possible.
Unless you changed its configuration, your new server is configured as follows:
Configuration files can be found in /etc/lighttpd. Please read /etc/lighttpd/conf-available/README file.
The DocumentRoot, which is the directory under which all your HTML files should exist, is set to /var/www/html.
CGI scripts are looked for in /usr/lib/cgi-bin, which is where Debian packages will place their scripts. You can enable cgi module by using command "lighty-enable-mod cgi".
Log files are placed in /var/log/lighttpd, and will be rotated weekly. The frequency of rotation can be easily changed by editing /etc/logrotate.d/lighttpd.
The default directory index is index.html, meaning that requests for a directory /foo/bar/ will give the contents of the file /var/www/html/foo/bar/index.html if it exists (assuming that /var/www/html is your DocumentRoot).
You can enable user directories by using command "lighty-enable-mod userdir"
About this page
This is a placeholder page installed by the Debian release of the Lighttpd server package.

This computer has installed the Debian GNU/Linux operating system, but it has nothing to do with the Debian Project. Please do not contact the Debian Project about it.

If you find a bug in this Lighttpd package, or in Lighttpd itself, please file a bug report on it. Instructions on doing this, and the list of known bugs of this package, can be found in the Debian Bug Tracking System.

My emby server works fine on that ddns.net address.
Regards.

ok if you are able to see the placeholder page using HTTPS, all working fine on Lighttpd and SSL certificates side.

So do You have any ideas what may be wrong? Maybe move to upper version of php?

Regards.

what is your exact issue now?

My Nextcloud don’t work. On Https I have

503 Service Unavailable

and on http

...ERR_CONNECTION_REFUSED

like no internet page.

is the access working using http://ip/nextcloud ?

No, I have that page like when there’s no internet. As I say above

This site is unreachableServer 192.168.0.24 has rejected the connection.
Try these solutions:

Check the connection
Check your proxy server and firewall
ERR_CONNECTION_REFUSED

issue is with nextcloud and not with web server. Could you you try to reboot and check if there are error messages inside the nextcloud.log file

cat /mnt/dietpi_userdata/nextcloud_data/nextcloud.log

Don’t get confused, the output could be cryptic (if something is logged)

I reboot few times and log is always very, very long [55,9MB]. At the end I see something like this:

{"reqId":"8t1Be8cvrQgMzsdO0hWA","level":3,"time":"2021-01-15T19:10:06+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at /usr/bin/clamscan","Code":0,"Trace":[{"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\LocalClam","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OCA\\Files_Antivirus\\Scanner\\LocalClam","__class__":"ReflectionClass"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":414,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":133,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/ScannerFactory.php","line":45,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":334,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":121,"function":"scanOneFile","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"}]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":62,"function":"run","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":57,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"/var/www/nextcloud/cron.php","line":126,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/LocalClam.php","Line":43,"CustomMessage":"--"},"userAgent":"--","version":"19.0.5.2"}
{"reqId":"8t1Be8cvrQgMzsdO0hWA","level":3,"time":"2021-01-15T19:10:06+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at /usr/bin/clamscan","Code":0,"Trace":[{"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\LocalClam","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OCA\\Files_Antivirus\\Scanner\\LocalClam","__class__":"ReflectionClass"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":414,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":133,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/ScannerFactory.php","line":45,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":334,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":121,"function":"scanOneFile","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"}]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":62,"function":"run","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":57,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"/var/www/nextcloud/cron.php","line":126,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/LocalClam.php","Line":43,"CustomMessage":"--"},"userAgent":"--","version":"19.0.5.2"}
{"reqId":"8t1Be8cvrQgMzsdO0hWA","level":3,"time":"2021-01-15T19:10:06+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at /usr/bin/clamscan","Code":0,"Trace":[{"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\LocalClam","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OCA\\Files_Antivirus\\Scanner\\LocalClam","__class__":"ReflectionClass"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":414,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":133,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/ScannerFactory.php","line":45,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":334,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":121,"function":"scanOneFile","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"}]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":62,"function":"run","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":57,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"/var/www/nextcloud/cron.php","line":126,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/LocalClam.php","Line":43,"CustomMessage":"--"},"userAgent":"--","version":"19.0.5.2"}
{"reqId":"8t1Be8cvrQgMzsdO0hWA","level":3,"time":"2021-01-15T19:10:06+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at /usr/bin/clamscan","Code":0,"Trace":[{"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\LocalClam","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OCA\\Files_Antivirus\\Scanner\\LocalClam","__class__":"ReflectionClass"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":414,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":133,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/ScannerFactory.php","line":45,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":334,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"/var/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":121,"function":"scanOneFile","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"}]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":62,"function":"run","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":57,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"/var/www/nextcloud/cron.php","line":126,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"/var/www/nextcloud/apps/files_antivirus/lib/Scanner/LocalClam.php","Line":43,"CustomMessage":"--"},"userAgent":"--","version":"19.0.5.2"}
{"reqId":"8t1Be8cvrQgMzsdO0hWA","level":3,"time":"2021-01-15T19:10:06+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at /usr/bin/clamscan","Code":0,"Trace":[{"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\LocalClam","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]]},{"file":"/var/www/nextcloud/lib/pr^C