Hi Tim

I realized that the first error that I reported is generated because I did 
not enter the information: title, author, date and did not accept the 
license.

After adding that information, and trying to upload a pdf, I now get 2 
errors:

1. New error 500 "Internal Server Error", with the following message:

-------------------------------
{timestamp: "2022-04-07T20:31:08.653+00:00", status: 500, error: "Internal 
Server Error",…}
error: "Internal Server Error"
message: "An exception has occurred"
path: "/server/api/submission/workspaceitems/1332"
status: 500
timestamp: "2022-04-07T20:31:08.653+00:00"
--------------------------------

I checked the error path and found the following message:

https://mydomain.ml/server/api/submission/workspaceitems/1332


--------------------------------
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this 
as a fallback.

Thu Apr 07 22:01:23 UTC 2022
There was an unexpected error (type=Unauthorized, status=401).
Authentication is required

--------------------------------



2. Same startup error:

--------------------------------
{"id":1332,"errors":[{"message":"error.validation.filerequired","paths":["/sections/upload"]},{"message":"java.io.IOException:
 
No such file or 
directory","paths":["/sections/upload"]}],"lastModified":"2022-04-07T20:31:09.112+00:00","sections":{"license":{"url":null,"acceptanceDate":null,"granted":false},"upload":{"files":[]},"collection":"1be7156c-9cb1-4918-bef9-7b519b11d923","traditionalpagetwo":{},"traditionalpageone":{"dc.title":[{"value":"Artículo
 
de 
prueba4","language":null,"authority":null,"confidence":-1,"place":0}],"dc.date.issued":[{"value":"2021-04-05","language":null,"authority":null,"confidence":-1,"place":0}]}},"type":"workspaceitem","_links":{"collection":{"href":"https://mydomain.ml/server/api/submission/workspaceitems/1332/collection"},"item":{"href":"https://mydomain.ml/server/api/submission/workspaceitems/1332/item"},"submissionDefinition":{"href":"https://mydomain.ml/server/api/submission/workspaceitems/1332/submissionDefinition"},"submitter":{"href":"https://mydomain.ml/server/api/submission/workspaceitems/1332/submitter"},"self":{"href":"https://mydomain.ml/server/api/submission/workspaceitems/1332"}},"_embedded":{"submitter":{"id":"f676ebcf-7fba-426a-b652-1c3aaaaeab26","uuid":"f676ebcf-7fba-426a-b652-1c3aaaaeab26","name":"gsanch...@mydomain.mx","handle":null,"metadata":{"dspace.agreements.cookies":[{"value":"{\"authentication\":true,\"preferences\":true,\"acknowledgement\":true,\"google-analytics\":false}","language":null,"authority":null,"confidence":-1,"place":0}],"dspace.agreements.end-user":[{"value":"true","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.firstname":[{"value":"Guadalupe
 
Ivett","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.language":[{"value":"es","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.lastname":[{"value":"Sánchez
 
Bernal","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.phone":[{"value":"5581184777","language":null,"authority":null,"confidence":-1,"place":0}]},"netid":null,"lastActive":"2022-04-07T20:24:39.936+00:00","canLogIn":true,"email":"gsanch...@mydomain.mx","requireCertificate":false,"selfRegistered":false,"type":"eperson","_links":{"groups":{"href":"https://mydomain.ml/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3aaaaeab26/groups"},"self":{"href":"https://mydomain.ml/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3aaaaeab26"}}},"item":{"id":"400104b6-eafd-42b9-8868-c6fa44e23a78","uuid":"400104b6-eafd-42b9-8868-c6fa44e23a78","name":"Artículo
 
de 
prueba4","handle":null,"metadata":{"dc.date.issued":[{"value":"2021-04-05","language":null,"authority":null,"confidence":-1,"place":0}],"dc.title":[{"value":"Artículo
 
de 
prueba4","language":null,"authority":null,"confidence":-1,"place":0}]},"inArchive":false,"discoverable":true,"withdrawn":false,"lastModified":"2022-04-07T20:28:31.007+00:00","entityType":null,"type":"item","_links":{"bundles":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78/bundles"},"mappedCollections":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78/mappedCollections"},"owningCollection":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78/owningCollection"},"relationships":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78/relationships"},"version":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78/version"},"templateItemOf":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78/templateItemOf"},"thumbnail":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78/thumbnail"},"self":{"href":"https://mydomain.ml/server/api/core/items/400104b6-eafd-42b9-8868-c6fa44e23a78"}}},"submissionDefinition":{"id":"traditional","name":"traditional","type":"submissiondefinition","isDefault":true,"_links":{"collections":{"href":"https://mydomain.ml/server/api/config/submissiondefinitions/traditional/collections"},"sections":{"href":"https://mydomain.ml/server/api/config/submissiondefinitions/traditional/sections"},"self":{"href":"https://mydomain.ml/server/api/config/submissiondefinitions/traditional"}}},"collection":{"id":"1be7156c-9cb1-4918-bef9-7b519b11d923","uuid":"1be7156c-9cb1-4918-bef9-7b519b11d923","name":"Maestría
 
en Ciencias en Protección 
Vegetal","handle":"20.500.12098/944","metadata":{"dc.description":[{"value":"<p 
align=\"justify\">El Programa de la Maestría en Ciencias en Protección 
Vegetal de la Universidad Autónoma mydomain, programa educativo 
perteneciente a los programas reconocidos por el Consejo Nacional de 
Ciencia y Tecnología (CONACyT) desde 1996 y actualmente programa 
consolidado en el Programa Nacional de Posgrados de Calidad (PNPC) del 
CONACyT, les da la más cordial bienvenida a este medio de comunicación y 
les manifiesta su misión y constante interés por el fortalecimiento del 
desarrollo científico y la modernización tecnológica del país, formando 
recursos humanos de alto nivel con competencias para realizar investigación 
científica y tecnológica, así como, innovaciones para desarrollar 
estrategias de manejo de plagas de los vegetales, principalmente de los 
cultivos agrícolas, para contribuir al desarrollo sustentable del sector 
rural de 
México.</p>","language":null,"authority":null,"confidence":-1,"place":0}],"dc.description.abstract":[{"value":"Maestría
 
en Ciencias perteneciente al  Departamento de Parasitología 
Agrícola","language":null,"authority":null,"confidence":-1,"place":0}],"dc.identifier.uri":[{"value":"http://localhost:4000/handle/20.500.12098/944","language":null,"authority":null,"confidence":-1,"place":0}],"dc.rights":[{"value":";<a
 
rel=\"license\" 
href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\";><img 
alt=\"Licencia Creative Commons\" style=\"border-width:0\" 
src=\"https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png\"; /></a><br 
/>Esta obra está bajo una <a rel=\"license\" 
href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\";>Licencia 
Creative Commons Atribución-NoComercial-SinDerivadas 4.0 
Internacional</a>.","language":null,"authority":null,"confidence":-1,"place":0}],"dc.title":[{"value":"Maestría
 
en Ciencias en Protección 
Vegetal","language":null,"authority":null,"confidence":-1,"place":0}]},"type":"collection","_links":{"harvester":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/harvester"},"itemtemplate":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/itemtemplate"},"license":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/license"},"logo":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/logo"},"mappedItems":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/mappedItems"},"parentCommunity":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/parentCommunity"},"adminGroup":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/adminGroup"},"submittersGroup":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/submittersGroup"},"itemReadGroup":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/itemReadGroup"},"bitstreamReadGroup":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/bitstreamReadGroup"},"self":{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923"},"workflowGroups":[{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/workflowGroups/editor","name":"editor"},{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/workflowGroups/finaleditor","name":"finaleditor"},{"href":"https://mydomain.ml/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/workflowGroups/reviewer","name":"reviewer"}]}}}}

--------------------------------


Any suggestion?

I thank you in advance for any support.

El jueves, 31 de marzo de 2022 a la(s) 15:51:22 UTC-6, Tim Donohue escribió:

> Hi,
>
> Buried in that text, I see this message:  " java.io.IOException: No such 
> file or directory".   That implies to me that there's a Java-level error 
> that is occurring here, but the rest of the error is cut off (it doesn't 
> show what file/directory is missing).  You should check your backend's 
> "dspace.log" and Tomcat logs, as it's highly likely there's a Java-level 
> error displayed in those logs which corresponds to that "IOException: No 
> such file or directory". 
>
> My best guess at this point is there might be a permissions error or 
> configuration error.  But, it's really hard to say which one without more 
> information.  There's likely a more descriptive error message on the 
> backend for this error.
>
> Tim
>
> On Thursday, March 31, 2022 at 10:40:08 AM UTC-5 voky...@gmail.com wrote:
>
>> Thank you Tim
>>
>> When I try to upload a file, I get the following error in Chrome's 
>> "Developer Tools".
>> ----------------------------
>>
>> {"id":1322,"errors":[{"message":"error.validation.required","paths":["/sections/traditionalpageone/dc.title","/sections/traditionalpageone/dc.date.issued"]},{"message":"error.validation.filerequired","paths":["/sections/upload"]},{"message":"java.io.IOException:
>>  
>> No such file or 
>> directory","paths":["/sections/upload/files/0"]}],"lastModified":"2022-03-31T15:31:11.809+00:00","sections":{"license":{"url":null,"acceptanceDate":null,"granted":false},"upload":{"files":[]},"collection":"1be7156c-9cb1-4918-bef9-7b519b11d923","traditionalpagetwo":{},"traditionalpageone":{}},"type":"workspaceitem","_links":{"collection":{"href":"
>> https://mydomain.test/server/api/submission/workspaceitems/1322/collection
>> "},"item":{"href":"
>> https://mydomain.test/server/api/submission/workspaceitems/1322/item
>> "},"submissionDefinition":{"href":"
>> https://mydomain.test/server/api/submission/workspaceitems/1322/submissionDefinition
>> "},"submitter":{"href":"
>> https://mydomain.test/server/api/submission/workspaceitems/1322/submitter
>> "},"self":{"href":"
>> https://mydomain.test/server/api/submission/workspaceitems/1322"}},"_embedded":{"submitter":{"id":"f676ebcf-7fba-426a-b652-1c3aaaaeab26","uuid":"f676ebcf-7fba-426a-b652-1c3aaaaeab26","name":"gsan...@mydomain.test","handle":null,"metadata":{"dspace.agreements.cookies":[{"value":"{\"authentication\":true,\"preferences\":true,\"acknowledgement\":true,\"google-analytics\":false}","language":null,"authority":null,"confidence":-1,"place":0}],"dspace.agreements.end-user":[{"value":"true","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.firstname":[{"value":"Guadalupe
>>  
>> Ivett","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.language":[{"value":"es","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.lastname":[{"value":"Sánchez
>>  
>> Bernal","language":null,"authority":null,"confidence":-1,"place":0}],"eperson.phone":[{"value":"5581184777","language":null,"authority":null,"confidence":-1,"place":0}]},"netid":null,"lastActive":"2022-03-31T15:24:48.503+00:00","canLogIn":true,"email":"gsan...@mydomain.test","requireCertificate":false,"selfRegistered":false,"type":"eperson","_links":{"groups":{"href":"
>> https://mydomain.test/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3aaaaeab26/groups
>> "},"self":{"href":"
>> https://mydomain.test/server/api/eperson/epersons/f676ebcf-7fba-426a-b652-1c3aaaaeab26
>> "}}},"item":{"id":"5832aca6-49d3-4b2b-94ab-790d722d9bf0","uuid":"5832aca6-49d3-4b2b-94ab-790d722d9bf0","name":null,"handle":null,"metadata":{},"inArchive":false,"discoverable":true,"withdrawn":false,"lastModified":"2022-03-31T15:25:03.723+00:00","entityType":null,"type":"item","_links":{"bundles":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/bundles
>> "},"mappedCollections":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/mappedCollections
>> "},"owningCollection":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/owningCollection
>> "},"relationships":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/relationships
>> "},"version":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/version
>> "},"templateItemOf":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/templateItemOf
>> "},"thumbnail":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0/thumbnail
>> "},"self":{"href":"
>> https://mydomain.test/server/api/core/items/5832aca6-49d3-4b2b-94ab-790d722d9bf0
>> "}}},"submissionDefinition":{"id":"traditional","name":"traditional","type":"submissiondefinition","isDefault":true,"_links":{"collections":{"href":"
>> https://mydomain.test/server/api/config/submissiondefinitions/traditional/collections
>> "},"sections":{"href":"
>> https://mydomain.test/server/api/config/submissiondefinitions/traditional/sections
>> "},"self":{"href":"
>> https://mydomain.test/server/api/config/submissiondefinitions/traditional"}}},"collection":{"id":"1be7156c-9cb1-4918-bef9-7b519b11d923","uuid":"1be7156c-9cb1-4918-bef9-7b519b11d923","name":"Maestría
>>  
>> en Ciencias en Protección 
>> Vegetal","handle":"20.500.12098/944","metadata":{"dc.description":[{"value":"<p
>>  
>> align=\"justify\">El Programa de la Maestría en Ciencias en Protección 
>> Vegetal de la Universidad Autónoma Chapingo, programa educativo 
>> perteneciente a los programas reconocidos por el Consejo Nacional de 
>> Ciencia y Tecnología (CONACyT) desde 1996 y actualmente programa 
>> consolidado en el Programa Nacional de Posgrados de Calidad (PNPC) del 
>> CONACyT, les da la más cordial bienvenida a este medio de comunicación y 
>> les manifiesta su misión y constante interés por el fortalecimiento del 
>> desarrollo científico y la modernización tecnológica del país, formando 
>> recursos humanos de alto nivel con competencias para realizar investigación 
>> científica y tecnológica, así como, innovaciones para desarrollar 
>> estrategias de manejo de plagas de los vegetales, principalmente de los 
>> cultivos agrícolas, para contribuir al desarrollo sustentable del sector 
>> rural de 
>> México.</p>","language":null,"authority":null,"confidence":-1,"place":0}],"dc.description.abstract":[{"value":"Maestría
>>  
>> en Ciencias perteneciente al  Departamento de Parasitología 
>> Agrícola","language":null,"authority":null,"confidence":-1,"place":0}],"dc.identifier.uri":[{"value":"
>> http://localhost:4000/handle/20.500.12098/944","language":null,"authority":null,"confidence":-1,"place":0}],"dc.rights":[{"value":";<a
>>  
>> rel=\"license\" 
>> href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\";><img 
>> alt=\"Licencia Creative Commons\" style=\"border-width:0\" src=\"
>> https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png\"; /></a><br 
>> />Esta obra está bajo una <a rel=\"license\" href=\"
>> http://creativecommons.org/licenses/by-nc-nd/4.0/\";>Licencia Creative 
>> Commons Atribución-NoComercial-SinDerivadas 4.0 
>> Internacional</a>.","language":null,"authority":null,"confidence":-1,"place":0}],"dc.title":[{"value":"Maestría
>>  
>> en Ciencias en Protección 
>> Vegetal","language":null,"authority":null,"confidence":-1,"place":0}]},"type":"collection","_links":{"harvester":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/harvester
>> "},"itemtemplate":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/itemtemplate
>> "},"license":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/license
>> "},"logo":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/logo
>> "},"mappedItems":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/mappedItems
>> "},"parentCommunity":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/parentCommunity
>> "},"adminGroup":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/adminGroup
>> "},"submittersGroup":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/submittersGroup
>> "},"itemReadGroup":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/itemReadGroup
>> "},"bitstreamReadGroup":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/bitstreamReadGroup
>> "},"self":{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923
>> "},"workflowGroups":[{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/workflowGroups/editor
>> ","name":"editor"},{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/workflowGroups/finaleditor
>> ","name":"finaleditor"},{"href":"
>> https://mydomain.test/server/api/core/collections/1be7156c-9cb1-4918-bef9-7b519b11d923/workflowGroups/reviewer
>> ","name":"reviewer"}]}}}}
>>
>> ------------------------------
>>
>> Thanks in advance
>>
>>
>> El jueves, 31 de marzo de 2022 a la(s) 07:51:44 UTC-6, Tim Donohue 
>> escribió:
>>
>>> Here's our troubleshooting guide for locating errors in DSpace 7.  Keep 
>>> in mind some errors may only appear in your browser, so you may need to use 
>>> your browser's DevTools to see if an error occurs there. See the guide for 
>>> more details.
>>>
>>>
>>> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>>>
>>> Once you locate the underlying error, you can send it to this list if 
>>> you need help diagnosing the problem.
>>>
>>> Tim
>>>
>>> On Wednesday, March 30, 2022 at 8:29:36 PM UTC-5 voky...@gmail.com 
>>> wrote:
>>>
>>>> Migrate from dspace 6.x to 7.2
>>>>
>>>> I can see everything that existed before, even download the pdfs that 
>>>> existed.
>>>>
>>>> But when I want to add a new article, it gives me an error when trying 
>>>> to upload a file: "upload failed"
>>>>
>>>> Does anyone know where I can check what is the error that is generated 
>>>> when trying to upload a file? In /dspace/log/dspace.log nothing appears.
>>>>
>>>> Thanks in advance
>>>>
>>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8b21615c-daa2-41f0-87bf-7a02d3098f88n%40googlegroups.com.

Reply via email to