[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-12-06 Thread Night Librarian
Million thanks, Tim! I did the following: - backed up my post-migration assetstore, - replaced it by the pre-migration assetstore copy, - started Beyond Compare as root ("sudo QT_GRAPHICSSYSTEM=native bcompare") to compare the two directories, - batch copied the 100 or so found (sub)directories

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-12-02 Thread 'Tim Donohue' via DSpace Technical Support
Hi, A "FileNotFoundException" means that the file is completely missing from your "assetstore" folder. So, in your error above, DSpace thinks one of the bitstreams should be in this location "/dspace/assetstore/25/26/12/25261257736478383774210749798254768435", but it cannot find that

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-30 Thread Night Librarian
Thank you. I chowned /dspace/ to tomcat:tomcat. Then I revisited the issue and notice that only the last 4 PDFs we updated can be downloaded properly. I migrated from 4.x to 7.2 (then 7.4) in the summer, but we were not adding new materials for a few months. So, a couple weeks ago (after

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-30 Thread 'Tim Donohue' via DSpace Technical Support
Hi, I have to admit, I don't have a lot of ideas here. It doesn't make sense to me that some Bitstreams (Files) would be downloadable while others are not. Usually, a file permissions issue (in the local directories) would result in *all* files throwing an IOException or similar. But,

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-30 Thread Night Librarian
Could the fact that many files in my /dspace/ and its subdirectories are "root tomcat" owned be related to my downloading problem? And all files in /dspace-angular/ and its subdirectories are "dspace dspace" owned. Shall I "chown -R" all files in /dspace/ and /dspace-angular/ to "tomcat

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-29 Thread Night Librarian
A couple thing I notice in error logs that look strange: 1. error reading status line from remote server localhost:4000 *Not sure why localhost is called remote server.* 2. error reading from remote server returned by /xmlui/handle/12345/1169/browse *I have /xmlui/ in many lines in my logs.

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-22 Thread Mohammad S. AlMutairi
klaro is a suspect. Disable it and check. On Wednesday, November 23, 2022 at 7:12:35 AM UTC+3 Night Librarian wrote: > Turns out, the problem is not limited to pdf. All accdb, docx, mp3, pptx, > xlsx files also fail to download. Their download completion goes to near > 100%, after which I

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-22 Thread Night Librarian
Turns out, the problem is not limited to pdf. All accdb, docx, mp3, pptx, xlsx files also fail to download. Their download completion goes to near 100%, after which I get an error. So, none of our items is downloadable! At the same time, css, html and xml files (we had a couple of these in

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-22 Thread Night Librarian
Thank you for the suggestion. I tried downloading the file in Edge, Chrome and Firefox on a Windows PC from home (via VPN) and on the Ubuntu machine itself that runs DSpace. I did it before and after logging as admin. I tried inPrivate/Incognito mode. In all cases, the pdf opens in the

[dspace-tech] Re: Can view PDFs in browser (DSpace 7.4), but can't download

2022-11-22 Thread Mohammad S. AlMutairi
Seems like it is either a browser or a connection issue. Try another browser or go into Incognito/InPrivate/Private mode and try it. On Tuesday, November 22, 2022 at 10:13:28 PM UTC+3 Night Librarian wrote: > I have 7.4 on Ubuntu 20.04, with Tomcat 9. I can view pdfs in the browser > but