Re: [dspace-tech] Re: DSPACE 7.4 Upload failed

2023-02-23 Thread Jan Broulím
Hi,
thanks for the idea, it helped. The main problem was not the ownership, but
the following:
/etc/systemd/system/tomcat9.service.d/override.conf has to contain
a ReadWrite path for assetstore (for Debian systems).
Jan

On Fri, Feb 17, 2023 at 9:47 AM Matúš Formanek 
wrote:

> Hello. Check the ownership of the folders in dspace assetstore. Tomcat
> maybe cannot write there.
>
> sudo chown tomcat:tomcat /dspace/assetstore/ -R
> Dátum: štvrtok 16. februára 2023, čas: 11:13:43 UTC+1, odosielateľ: Jan
> Broulím
>
>> Hi,
>>
>> I did it. In browser I could see the following:
>>
>> ERROR TypeError: Cannot read properties of undefined (reading 'fields')
>> at B.inCurrentSubmissionScope (8791.36a9645826b35dd8.js:1:8)
>> at 8791.36a9645826b35dd8.js:1:86100
>> at Array.forEach ()
>> at B.hasMetadataEnrichment (8791.36a9645826b35dd8.js:1:86027)
>> at B.updateForm (8791.36a9645826b35dd8.js:1:87648)
>> at Object.next (8791.36a9645826b35dd8.js:1:88694)
>> at y.next (main.5740e328184b19c8.js:1:2546224)
>> at E._next (main.5740e328184b19c8.js:1:2545908)
>> at E.next (main.5740e328184b19c8.js:1:2545603)
>> at main.5740e328184b19c8.js:1:2558942
>> 
>> Jan
>>
>> On Mon, Feb 13, 2023 at 7:53 PM 'Tim Donohue' via DSpace Technical
>> Support  wrote:
>>
>>> Hi Jan,
>>>
>>> Please use our "Troubleshoot an error" guide to try to locate the
>>> underlying error message:
>>> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>>>
>>> The "Upload failed" announcement is just a user-facing notice, and it
>>> doesn't tell us what the core problem may be.  So, you should look for more
>>> specific error messages on either the frontend or backend by following the
>>> troubleshooting guide.  Once you find the detailed error, if you cannot
>>> figure out a solution, you can send it this email list and someone here may
>>> be able to help.
>>>
>>> Tim
>>>
>>> On Monday, February 13, 2023 at 3:43:47 AM UTC-6 jan.b...@gmail.com
>>> wrote:
>>>
 Hello,
 I am currently testing managing collections in DSpace 7.4. When I try
 to upload a new file (New -> Item within some collection), it crashes with
 "Upload failed" announcement.
 Tested in several browsers.
 Any suggestion for this will be useful.
 Thank you!
 Jan

>>> --
>>> 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 a topic in the
>>> Google Groups "DSpace Technical Support" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/dspace-tech/7YrTSCU-FQc/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> dspace-tech...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/6ea6bd74-0555-42e8-bf16-0e4c4960a54dn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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 a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/7YrTSCU-FQc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/2b426b7f-f6bd-41e3-b570-2e7de1d6bdaan%40googlegroups.com
> 
> .
>

-- 
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/CAJBgoDjOQYaWK7h7BTLCi45hzF8jhejd1nbekTiN2EogYxZNBw%40mail.gmail.com.


Re: [dspace-tech] Re: DSPACE 7.4 Upload failed

2023-02-17 Thread Matúš Formanek
Hello. Check the ownership of the folders in dspace assetstore. Tomcat 
maybe cannot write there. 

sudo chown tomcat:tomcat /dspace/assetstore/ -R
Dátum: štvrtok 16. februára 2023, čas: 11:13:43 UTC+1, odosielateľ: Jan 
Broulím

> Hi,
>
> I did it. In browser I could see the following:
>  
> ERROR TypeError: Cannot read properties of undefined (reading 'fields')
> at B.inCurrentSubmissionScope (8791.36a9645826b35dd8.js:1:8)
> at 8791.36a9645826b35dd8.js:1:86100
> at Array.forEach ()
> at B.hasMetadataEnrichment (8791.36a9645826b35dd8.js:1:86027)
> at B.updateForm (8791.36a9645826b35dd8.js:1:87648)
> at Object.next (8791.36a9645826b35dd8.js:1:88694)
> at y.next (main.5740e328184b19c8.js:1:2546224)
> at E._next (main.5740e328184b19c8.js:1:2545908)
> at E.next (main.5740e328184b19c8.js:1:2545603)
> at main.5740e328184b19c8.js:1:2558942
> 
> Jan
>
> On Mon, Feb 13, 2023 at 7:53 PM 'Tim Donohue' via DSpace Technical Support 
>  wrote:
>
>> Hi Jan,
>>
>> Please use our "Troubleshoot an error" guide to try to locate the 
>> underlying error message: 
>> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>>
>> The "Upload failed" announcement is just a user-facing notice, and it 
>> doesn't tell us what the core problem may be.  So, you should look for more 
>> specific error messages on either the frontend or backend by following the 
>> troubleshooting guide.  Once you find the detailed error, if you cannot 
>> figure out a solution, you can send it this email list and someone here may 
>> be able to help.
>>
>> Tim
>>
>> On Monday, February 13, 2023 at 3:43:47 AM UTC-6 jan.b...@gmail.com 
>> wrote:
>>
>>> Hello,
>>> I am currently testing managing collections in DSpace 7.4. When I try to 
>>> upload a new file (New -> Item within some collection), it crashes with 
>>> "Upload failed" announcement.
>>> Tested in several browsers.
>>> Any suggestion for this will be useful.
>>> Thank you!
>>> Jan
>>>
>> -- 
>> 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 a topic in the 
>> Google Groups "DSpace Technical Support" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/dspace-tech/7YrTSCU-FQc/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> dspace-tech...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-tech/6ea6bd74-0555-42e8-bf16-0e4c4960a54dn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/2b426b7f-f6bd-41e3-b570-2e7de1d6bdaan%40googlegroups.com.


Re: [dspace-tech] Re: DSPACE 7.4 Upload failed

2023-02-16 Thread Jan Broulím
Hi,

I did it. In browser I could see the following:

ERROR TypeError: Cannot read properties of undefined (reading 'fields')
at B.inCurrentSubmissionScope (8791.36a9645826b35dd8.js:1:8)
at 8791.36a9645826b35dd8.js:1:86100
at Array.forEach ()
at B.hasMetadataEnrichment (8791.36a9645826b35dd8.js:1:86027)
at B.updateForm (8791.36a9645826b35dd8.js:1:87648)
at Object.next (8791.36a9645826b35dd8.js:1:88694)
at y.next (main.5740e328184b19c8.js:1:2546224)
at E._next (main.5740e328184b19c8.js:1:2545908)
at E.next (main.5740e328184b19c8.js:1:2545603)
at main.5740e328184b19c8.js:1:2558942

Jan

On Mon, Feb 13, 2023 at 7:53 PM 'Tim Donohue' via DSpace Technical Support <
dspace-tech@googlegroups.com> wrote:

> Hi Jan,
>
> Please use our "Troubleshoot an error" guide to try to locate the
> underlying error message:
> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>
> The "Upload failed" announcement is just a user-facing notice, and it
> doesn't tell us what the core problem may be.  So, you should look for more
> specific error messages on either the frontend or backend by following the
> troubleshooting guide.  Once you find the detailed error, if you cannot
> figure out a solution, you can send it this email list and someone here may
> be able to help.
>
> Tim
>
> On Monday, February 13, 2023 at 3:43:47 AM UTC-6 jan.b...@gmail.com wrote:
>
>> Hello,
>> I am currently testing managing collections in DSpace 7.4. When I try to
>> upload a new file (New -> Item within some collection), it crashes with
>> "Upload failed" announcement.
>> Tested in several browsers.
>> Any suggestion for this will be useful.
>> Thank you!
>> Jan
>>
> --
> 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 a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/7YrTSCU-FQc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/6ea6bd74-0555-42e8-bf16-0e4c4960a54dn%40googlegroups.com
> 
> .
>

-- 
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/CAJBgoDiS%2BiSbPgPCdDe1%2B%2Buoy%2Bjytspz1-AvUaseo5fYb%3Dun-w%40mail.gmail.com.