-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error ocurred during upload with ClamAV 1.0.3 #291
Comments
Hi |
1 similar comment
Hi |
Hi, |
Linshare 6.0.3
same issue, linshare can't use clamav since that. in debug I have this in linshare logs:
Any idea how to solve that? |
a downgrade of clamav on the previous version solve the problem. |
The issue is because linshare (through net.taldius.clamav.impl.NetworkScanner library) use the "STREAM" command to clamav but this command was deprecated since long time (Cisco-Talos/clamav@ba2cf44#diff-d6a46a940defaa8cfba03e20ba333673668ca0edac4934db4fd446820b19bc9dR50) and is not used anymore ("COMMAND NOT FOUND" responded by clamav on 1.0.7). |
Hi, |
Hi,
I have an issue with ClamAV remote scan since he was upgraded from 0.103 to 1.0.3 version.
I've tested and the remote scan works perfectly with clamdscan command on the linshare server.
But on Linshare, when I upload a file, there is an error : An error ocurred during upload
How can I fix that ? Thanks for help.
When I check the log, we can see that:
`
[2023-10-05 16:44:59] [info] Démarrage du gestionnaire de protocole ["http-nio-8080"]
[2023-10-05 16:44:59] [info] Le démarrage du serveur a pris [25090] millisecondes
[2023-10-05 16:45:35] [info] [INFO]:http-nio-8080-exec-2:20231005.164535:org.linagora.linshare.webservice.userv2.FlowDocumentUploaderRestService:testChunk:GET: .../webservice/rest/user/v2/flow.json:59792320-78c8-4b29-9a96-0f6ce43b642c: chunkNumber:1/1
[2023-10-05 16:45:35] [info] [INFO]:http-nio-8080-exec-2:20231005.164535:org.linagora.linshare.webservice.userv2.FlowDocumentUploaderRestService:testChunk:GET: .../webservice/rest/user/v2/flow.json:59792320-78c8-4b29-9a96-0f6ce43b642c: chunkNumber:1/1
[2023-10-05 16:45:35] [info] [INFO]:http-nio-8080-exec-4:20231005.164535:org.linagora.linshare.webservice.userv2.FlowDocumentUploaderRestService:getTransfertDuration:statistics:upload time:23ms.
[2023-10-05 16:45:35] [info] [INFO]:http-nio-8080-exec-4:20231005.164535:org.linagora.linshare.webservice.userv2.FlowDocumentUploaderRestService:getTransfertDuration:statistics:upload time:23ms.
[2023-10-05 16:45:35] [info] [INFO]:taskExecutor-1:20231005.164535:org.linagora.linshare.webservice.userv1.task.DocumentUploadAsyncTask:run:Begin processing async task : 7c2f2644-1a22-4308-83e4-335ea9ab0703
[2023-10-05 16:45:35] [info] [INFO]:taskExecutor-1:20231005.164535:org.linagora.linshare.webservice.userv1.task.DocumentUploadAsyncTask:run:Begin processing async task : 7c2f2644-1a22-4308-83e4-335ea9ab0703
[2023-10-05 16:45:36] [warning] org.xerial's sqlite-jdbc is not loaded.
[2023-10-05 16:45:36] [info] Please provide the jar on your classpath to parse sqlite files.
[2023-10-05 16:45:36] [info] See tika-parsers/pom.xml for the correct version.
[2023-10-05 16:45:36] [info] [ERROR]:taskExecutor-1:20231005.164536:org.linagora.linshare.webservice.userv1.task.DocumentUploadAsyncTask:run:java.lang.NullPointerException
[2023-10-05 16:45:36] [info] [ERROR]:taskExecutor-1:20231005.164536:org.linagora.linshare.webservice.userv1.task.DocumentUploadAsyncTask:run:java.lang.NullPointerException
[2023-10-05 16:45:36] [info] [ERROR]:taskExecutor-1:20231005.164536:org.linagora.linshare.webservice.userv1.task.DocumentUploadAsyncTask:run:Async task '7c2f2644-1a22-4308-83e4-335ea9ab0703' processed with final status : FAILED
[2023-10-05 16:45:36] [info] [ERROR]:taskExecutor-1:20231005.164536:org.linagora.linshare.webservice.userv1.task.DocumentUploadAsyncTask:run:Async task '7c2f2644-1a22-4308-83e4-335ea9ab0703' processed with final status : FAILED
`
The text was updated successfully, but these errors were encountered: