Thank you kindly!

Good thing I haven't read your post earlier, otherwise I would freak out.  
:)  I am sure it would work but having to do "database migrate" again just 
sends shivers down my spine!  I followed the path of least resistance, 
suggested by Tim in https://groups.google.com/g/dspace-tech/c/VvIy1U119E4.  
It was scary too, but I replaced the post-migration assetstore by the 
pre-migration one, and then batch copied the handful of items submitted 
post-migration (and which I did not corrupt during the migration).  

And since you helped me fix the Handle Server, I can now access all my 
items both in DSpace and using 
https://hdl.handle.net/my-handle-prefix/<item number>.

Thanks again.  I still have tons of work to do but fixing the items not 
displaying/downloading and Handle server not working were two major whales 
and they are of my system thanks to wonderful support from this group!
On Sunday, December 4, 2022 at 9:27:33 p.m. UTC-4 alo...@gmail.com wrote:

> You got the 404 page not found error because you needed to run 
> [dspace]/index-discovery after the change you have made to this item. Try 
> the steps you see below. It should fix it.
> 1) /dspace/bin/dspace database migrate
> 2) /dspace/bin/dspace database validate
> 3) /dspace/bin/dspace database status
> 4) Change using pgAdmin https://hdl.handle.net/your-handle-prefix/1916 to 
> https://your-server-domain-name/handle/your-handle-prefix/1916
> 5) /dspace/bin/dspace index-discovery -f -i 
> e56a5422-b32b-4000-95dd-86467ef21c35
> 6) Copy over the old assetstore folder from the old server to the new 
> Ubuntu server into /dspace/assetstore folder.
> 7) Try to access this item you changed and try download to PDF file.
>
> You are a stubborn man I must admin :-).
> Hop it helps you.
> On Saturday, November 26, 2022 at 2:47:04 AM UTC+3 Night Librarian wrote:
>
>> Thank you for the suggestion.  I changed the dc.identifier.uri from 
>> https://hdl.handle.net/your-handle-prefix/1916 by 
>> https://my-server-domain-name/handle/my-handle-prefix/1916. Now, if I 
>> try to open 
>> https://my-server-domain-name/handle/my-handle-prefix/1916 in the 
>> browser, I get 404 page not found.  If I search for the item's title in all 
>> of DSpace, and then try to download the pdf from there, I still can see the 
>> pdf in the browser, but downloading it still doesn't work.
>>
>> In terms of Handle server, I wonder whether copy/pasting 
>> [dspace]/handle-server directory's content from someone who has 7.4 on 
>> Ubuntu 20.04 would fix my issue?
>> On Friday, November 25, 2022 at 4:53:06 p.m. UTC-4 alo...@gmail.com 
>> wrote:
>>
>>> You should completely ignore that suggestion and here is why (  
>>> https://github.com/kiprotect/klaro ). I think the issue you have is 
>>> caused by how the migration from the Windows server to the Linux was done 
>>> and is related to the handle server specifically because it's down. As a 
>>> suggestion try to change one of the the items 
>>> (e56a5422-b32b-4000-95dd-86467ef21c35) dc.​identifier.​uri from 
>>> https://hdl.handle.net/your-handle-prefix/1916 to 
>>> https://your-server-domain-name/handle/your-handle-prefix/1916 and try 
>>> to access it and download it and see if that helps isolate the handle 
>>> server is the cause.
>>>
>>> Hope It help.
>>>
>>> On Friday, November 25, 2022 at 10:20:58 PM UTC+3 Night Librarian wrote:
>>>
>>>> I had a suggestion to disable klaro to solve a downloading problem on 
>>>> my DSpace 7.4, but I am not sure how to do that.  Can someone give me a 
>>>> hint?
>>>
>>>

-- 
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/86e4fc99-a34c-444c-a1aa-db7fe07c90a9n%40googlegroups.com.

Reply via email to