Thank you Tim Donohue

I was able to physically find the files on the server, and realized that 
some folders and files did not have the proper permissions.

Being in /dspace/assetstore/

Change the permissions of the directories:
find ./ -type d -exec chmod -R 0744 {} \;

Change file permissions
find ./ -type f -exec chmod -R 0644 {} \;

The above solved my problem

Thank you
El jueves, 17 de marzo de 2022 a la(s) 08:58:16 UTC-6, Tim Donohue escribió:

> Hi Evaristo,
>
> The location of the PDF file is only available in the database (in the 
> bitstream table).  However, when you encounter a "whitelabel error page" 
> when displaying a specific file, you should see an error in your 
> "dspace.log" directory which notes the exact location where the file was 
> expected to be.  It should be some sort of "File Not Found" error, and 
> it'll list a long filepath in your configured "assetstore.dir" folder (this 
> setting is in dspace.cfg or local.cfg).  
>
> That long filepath is the location where the file was expected to be 
> found.  For more information see the "Storage Layer" docs, especially the 
> "Bitstream Store" section (as DSpace calls files "bitstreams"): 
> https://wiki.lyrasis.org/display/DSDOC7x/Storage+Layer
>
> If you have more questions, let us know on this list.
>
> Tim
>
> On Thursday, March 17, 2022 at 6:56:18 AM UTC-5 [email protected] wrote:
>
>> Hello
>>
>> My name is Evaristo.
>>
>> I am new to dspace.
>>
>> I am migrating a repository from version 6.x (old server with centos) to 
>> the new version 7.2 (new server with ubuntu 20.04, tomcat9, postgresql 12).
>>
>> I already did the migration.
>>
>> I can display some pdf files in dspace 7.2 (already migrated), and other 
>> files not. When I can't display the pdf file, I get the error:
>>
>> "Whitelabel Error Page"
>>
>> I would like to know if the pdf file really exists in the 
>> /dspace/assetstore folder
>>
>> How can I get the path of the pdf file via the uuid? For example if my 
>> url was:
>>
>> https://mydomain.org/items/b23014e0-80fc-4a8e-949c-4fb0b3f35271
>>
>> Thanks in advance for the support you can give me.
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6cd70009-5c0f-49f3-852b-9fe2aaebad5cn%40googlegroups.com.

Reply via email to