Skip to content
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

Open
Flopil opened this issue Oct 5, 2023 · 2 comments
Open

An error ocurred during upload with ClamAV 1.0.3 #291

Flopil opened this issue Oct 5, 2023 · 2 comments

Comments

@Flopil
Copy link

Flopil commented Oct 5, 2023

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

`

@wboudiche
Copy link
Contributor

Hi
Did you tried the upload without enabling the antivirus ?
If it's the same result, enable the trace log level in log4j and send us logs.

1 similar comment
@wboudiche
Copy link
Contributor

Hi
Did you tried the upload without enabling the antivirus ?
If it's the same result, enable the trace log level in log4j and send us logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants