Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system
/lib/systemd/system/clamav-freshclam.service
94a1c5c8ef5a0be38780fe96758aea1ec743e4e7
with a hot-fix. It includes updated scripts/ftp_upload.php
file.curl
have slightly changed the meaning of --tlsv1.1
flag. In older curl
versions this flag meant that only TLS 1.1 can be used in a secure connection, it will not allow neither higher nor lower TLS protocol version. In curl 7.54
behaviour of this flag was changed to mean that TLS 1.1 or higher can be used. FTP upload script was always adding --tlsv1.1
parameter, so on the systems where curl were downgraded to version older than curl 7.54
FTP uploads over secure connection started requiring exactly TLS 1.1 and not at least TLS 1.1. So this issue affected those hosts that met the following criteria:/usr/local/directadmin/custombuild/build clamav
or triggering ClamAV build via GUI.######################################################################## 100.0%
######################################################################## 100.0%
Installing clamav...
Repository copr:copr.fedorainfracloud.org:copart:restic is listed more than once in the configuration
Error: Nothing to do
Repository copr:copr.fedorainfracloud.org:copart:restic is listed more than once in the configuration
No Match for argument: clamav-update
Error: Nothing to do
grep: /etc/clamd.d/scan.conf: No such file or directory
/usr/local/directadmin/custombuild/build: line 18403: /etc/clamd.d/scan.conf: No such file or directory
grep: /etc/clamd.d/scan.conf: No such file or directory
/usr/local/directadmin/custombuild/build: line 18406: /etc/clamd.d/scan.conf: No such file or directory
grep: /etc/clamd.d/scan.conf: No such file or directory
Can't open /etc/clamd.d/scan.conf: No such file or directory.
grep: /etc/freshclam.conf: No such file or directory
Enabling clamd in systemd...
Failed to execute operation: No such file or directory
Failed to execute operation: No such file or directory
Restarting freshclam.
Failed to restart clamav-freshclam.service: Unit not found.
Restarting clamd.
Failed to restart [email protected]: Unit not found.
Restarting exim.
Done ClamAV.
User ... has been backed up. <22:09:30>
ftp_upload.php exit code: 18
ftp_upload.php output: curl: (18) server did not report OK, got 450
curl return code: 18
<22:09:32>
Please see this URL and check for curl exit code '(18)': https://help.directadmin.com/item.php?id=2127
Although a backup error has occurred, the upload of valid backups would have still been attempted to
scripts/ftp_upload.php
in 94a1c5c8ef5a0be38780fe96758aea1ec743e4e7
addresses the issue when backup upload with curl fails with error code 35:curl: (35) Peer reports incompatible or unsupported protocol version.
ftp_upload.php output: curl: (18) server did not report OK, got 450
Agreed, after update to 1.645 , it killed my clamd.scan and I need to remove itI know my views are useless as I use my owned licence(s), but, seriously, who tests before new 'updates' get pushed out? Are we all guinea pigs
There are too many bugs that creep out nearly every release, and the majority of them are critical......
(18) server did not report OK, got 450
in this case was in curl and FTPS provider TLS1.3 communication incompatibility. In addition to particular curl version and FTP server software combination its only triggered when uploading big files, small plain-text files can be uploaded fine.--tls-max 1.2
argument. For @exlhost it was fixed by creating a customized copy of scripts/ftp_upload.php
placed in scripts/custom/ftp_upload.php
which has --tls-max 1.2
added to the curl command.--tls-max 1.2
helps in your case?scripts/ftp_upload.php
script for everyone.