Hi everyone, in Alfresco 6.1 Community, I sent to /alfresco/service/api/upload file and metadata, as I sent in Alfresco 4.2 (I migrated from this).
Now the response is:
{
"status": {
"code": 404,
"name": "Not Found",
"description": "Requested resource is not available."
},
"message": " No disk space available",
"exception": "",
"callstack": [],
"server": "Community v6.1.2 (r589dc49b-b205) schema 13,001",
"time": "May 24, 2021 10:56:43 AM"
}I have 69GB free space and 200KB is my file.
This is the request:
curl -L -X POST 'http://my.host.com:8080/alfresco/service/api/upload' \
-H 'Authorization: Basic YWRtaW46YWRtaW4=' \
-F 'filedata=@"/path/to/file"' \
-F 'filename="filename"' \
-F 'description="some description"' \
-F 'siteid="my-fite"' \
-F 'containerid="documentLibrary"' \
-F 'uploaddirectory="Path/to/folder"' \
-F 'contenttype="my:content"'
I generate Path/to/folder calling POST /service/api/metadata/node/workspace/SpacesStore and I see the new folder in /share webapp.
There are no error in log file:
2021-05-21 17:11:43,692 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] Current authentication: unauthenticated
2021-05-21 17:11:43,692 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] Authentication required: user
2021-05-21 17:11:43,692 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] Guest login requested: false
2021-05-21 17:11:43,700 DEBUG [scripts.servlet.RemoteUserAuthenticatorFactory] [http-nio-8080-exec-20] Extracted external user ID from request: ad***
2021-05-21 17:11:43,700 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] Authentication: authenticated as admin
2021-05-21 17:11:43,701 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] Creating Transactional Response for ReadWrite transaction; buffersize=4096
2021-05-21 17:11:43,701 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] Begin retry transaction block: required,readwrite
2021-05-21 17:11:43,702 DEBUG [jscript.RhinoScriptProcessor.calls] [http-nio-8080-exec-20] upload.post.js Start
2021-05-21 17:11:43,710 DEBUG [jscript.RhinoScriptProcessor.calls] [http-nio-8080-exec-20] upload.post.js End 8 ms
2021-05-21 17:11:43,712 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] End retry transaction block: required,readwrite
2021-05-21 17:11:43,713 DEBUG [web.scripts.RepositoryContainer] [http-nio-8080-exec-20] Authentication reset: unauthenticated
Alfresco runs in bare metal, without screen.
How can I do troubleshooting?
Thanks