Are we talking about 2 different issues here?  In my case, I can upload the 
thumbnail, but I cannot display it.  I have confirmed that the image is 
there on disk, and it is present in the database.  However, the actual 
display of the image fails with a 400 - Bad Request error.

On Wednesday, January 31, 2024 at 1:36:19 PM UTC-6 Steve Michaels wrote:

> It appears that I'm having the same issue with regular item uploads; I'm 
> trying to create a new item with a 609KB main file, which I can't upload.
>
> I've checked the spring.servlet.multipart.max-file-size and 
> spring.servlet.multipart.max-request-size settings; they're both at 512MB.
>
> On Friday, January 26, 2024 at 11:15:38 AM UTC-5 DSpace Technical Support 
> wrote:
>
>> Steve,
>>
>> As far as I'm aware, the only limit is in the **maximum upload size** 
>> (for the application overall).   This is documented in our Submission docs 
>> here: 
>> https://wiki.lyrasis.org/display/DSDOC7x/Submission+User+Interface#SubmissionUserInterface-BasicSettings
>>   
>>  However, these max file size settings would also apply to any other upload 
>> interface, including the logo upload form, as they are configuration for 
>> the entire Spring Boot framework (which DSpace uses to run its backend)
>>
>> Tim
>>
>> On Thursday, January 25, 2024 at 11:20:31 AM UTC-6 
>> steve.m...@westernsem.edu wrote:
>>
>>> The problem seems to be an issue with the uploaded logo file size.
>>>
>>> Is there an inherent limit on the size of a logo file?
>>>
>>> On Wednesday, January 24, 2024 at 3:00:20 PM UTC-5 DSpace Technical 
>>> Support wrote:
>>>
>>>> Hi all,
>>>>
>>>> I can verify that Collection logo uploads work on our demo site (
>>>> https://demo.dspace.org) running 7.6.1 *provided that you are a site 
>>>> administrator*.   However, we still do have an open bug to get this logo 
>>>> upload working for Community/Collection admins (the ticket is waiting on a 
>>>> volunteer to claim it -- if anyone is interested, I'd love to see this 
>>>> fixed!).  https://github.com/DSpace/dspace-angular/issues/2240
>>>>
>>>> If you didn't have proper permissions, then I'd expect you'd see a 403 
>>>> error.  A 400 error is strange in this situation as that'd almost imply 
>>>> the 
>>>> user interface is sending the wrong command to the REST API, or somehow 
>>>> the 
>>>> command is being garbled or lost.  I'd recommend using our troubleshooting 
>>>> guide to see if you can find additional details about the 400 error either 
>>>> from your browser's DevTools, or from the backend logs. Finding those 
>>>> additional details may be necessary to understand what is going on. 
>>>> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>>>>
>>>> Tim
>>>>
>>>> On Wednesday, January 24, 2024 at 10:32:31 AM UTC-6 
>>>> steve.m...@westernsem.edu wrote:
>>>>
>>>>> I'm logged in as the site administrator.
>>>>>
>>>>> On Wednesday, January 24, 2024 at 3:02:03 AM UTC-5 Technologiczny 
>>>>> Informator wrote:
>>>>>
>>>>>> I wonder if this has anything to do with the error I reported in May 
>>>>>> 2023, and still, no one has fixed it.
>>>>>>
>>>>>> https://groups.google.com/g/dspace-tech/c/qGE3gRJoKQU/m/Q6KAGyAmCAAJ
>>>>>> https://github.com/DSpace/dspace-angular/issues/2240
>>>>>>
>>>>>> Are you inserting the logo as an administrator or another user?
>>>>>>
>>>>>> Regards
>>>>>> Mariusz
>>>>>> wtorek, 23 stycznia 2024 o 20:04:11 UTC+1 Steve Michaels napisał(a):
>>>>>>
>>>>>>> I'm trying to update a collection logo in 7.6.
>>>>>>>
>>>>>>> When I add the file to the uploader, nothing happens and I get a 
>>>>>>> Uploading Collection failed error.
>>>>>>>
>>>>>>> The console also shows a 400 error on the upload and also shows a 
>>>>>>> Syntax Error - Not valid JSON
>>>>>>>
>>>>>>

-- 
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/d6b69f85-ffba-472e-a258-aaaf94e11ce1n%40googlegroups.com.

Reply via email to