Dear all, I have a similar problem.

i have a 3-tiered DSpace 7.6.1 architecture.
When i try uploading a file it gives a  java.io.IOException: No such file
or directory

The assetstore is on an NFS.
In my /lib/systemd/system/tomcat9.service  file, i have these settings

ReadWritePaths=/dspace
ReadWritePaths=/mnt/dspacedir

The /mnt/dspacedir has been mounted. I can read (access) files attached to
existing items but as stated earlier, i can't upload new files.
Thanks for the help.




On Thu, Jul 11, 2024 at 6:13 PM Andrew K <pkm...@gmail.com> wrote:

>
> Hi Mark,
>
> Thanks a lot for the information!
> I completely forgot that I did that.
>
> What is the other way to adjust tomcat9 ReadWritePaths?
>
> And, may I ask why updates like this go silently?
>
> WBR,
> Andrew
> четвер, 11 липня 2024 р. о 17:57:58 UTC+3 Walk, Martin пише:
>
>> Hi Andrew,
>>
>> this happens when you modified the tomcat9.service directly, usually by
>> adding
>>
>> ReadWritePaths=/path/to/your/dspace
>> ReadWritePaths=/path/to/your/dspace-asset-store
>>
>> When Tomcat is updating, tomcat9.service gets sometimes overridden and
>> your customisations get lost.
>> Check your tomcat9.service. And perhaps it’s better to make those
>> customisation in another place.
>>
>> Best regards,
>> Martin
>>
>> > On 10. Jul 2024, at 22:06, Andrew K <pkm...@gmail.com> wrote:
>> >
>> > Hi!
>> >
>> > I have a Dspace 7.6.1 server on Ubuntu 20.04.6 LTS working for a few
>> months now. No recent changes at all. But suddenly there's an error when
>> uploading a file:
>> > Upload failed
>> > Also it shows java.io.IOException: No such file or directory below on
>> item creation page.
>> >
>> > First, I can not find this java.io.IOException: No such file or
>> directory anywhere in the logs.
>> > Second, I tried
>> > chown -R tomcat:tomcat /dspace/
>> > setfacl -R -m u:tomcat:rwx /dspace/assetstore
>> > etc.
>> > Nothing.
>> >
>> > I also looked into the recent apt log:
>> >
>> > Log started: 2024-07-10 06:31:50
>> > (Reading database ... ^M(Reading database ... 5%^M(Reading database ...
>> 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading
>> database ... 25%^M(Reading da>Preparing to unpack
>> .../libtomcat9-java_9.0.31-1ubuntu0.5_all.deb ...
>> > Unpacking libtomcat9-java (9.0.31-1ubuntu0.5) over (9.0.31-1ubuntu0.4)
>> ...
>> > Preparing to unpack .../tomcat9-common_9.0.31-1ubuntu0.5_all.deb ...
>> > Unpacking tomcat9-common (9.0.31-1ubuntu0.5) over (9.0.31-1ubuntu0.4)
>> ...
>> > Setting up libtomcat9-java (9.0.31-1ubuntu0.5) ...
>> > Setting up tomcat9-common (9.0.31-1ubuntu0.5) ...
>> > Log ended: 2024-07-10 06:31:51
>> >
>> > Log started: 2024-07-10 06:31:54
>> > (Reading database ... ^M(Reading database ... 5%^M(Reading database ...
>> 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading
>> database ... 25%^M(Reading da>Preparing to unpack
>> .../tomcat9_9.0.31-1ubuntu0.5_all.deb ...
>> > Unpacking tomcat9 (9.0.31-1ubuntu0.5) over (9.0.31-1ubuntu0.4) ...
>> > Setting up tomcat9 (9.0.31-1ubuntu0.5) ...
>> > Processing triggers for rsyslog (8.2001.0-1ubuntu1.3) ...
>> > Log ended: 2024-07-10 06:31:59
>> >
>> > Could those tomcat updates (no one started them, must be automatic)
>> cause the upload problem?
>> > Where else should I look?
>> >
>> > Thanks,
>> > Andrew
>> >
>> > --
>> > 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...@googlegroups.com.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/5db0f3b9-86dc-4326-9f11-10f52f40a567n%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/040c1c1a-f267-4861-950f-9b9baa3789f5n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/040c1c1a-f267-4861-950f-9b9baa3789f5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
*Psalm 119:28 My Soul is weary with sorrow ; strengthen me according to
your Word.*
*Sincerely Yours,*

*Henry Atsu Agbodza*
*Commonwealth Fellow*
*Library Systems and Research Support, *
*Academic Computing Unit,*
*University of Ghana Computing Systems (UGCS)*
*Room G3, Ground Floor - East Wing, *
*Balme Library*
*Legon*
*Tel.: +233 (0) 207 027360*
*IP Phone: 2442*

*UG Repository <http://ugspace.ug.edu.gh>*
*UG Library <http://balme.ug.edu.gh>*


*UG Online Catalogue (UGCat) <http://library.ug.edu.gh/>UG Research Portal
<http://libguides.ug.edu.gh>UG Off - Campus Access to E - Resources
<http://ezproxy.ug.edu.gh/>*
*UG Chat with A Librarian Service <http://balme.ug.edu.gh/chat/client.php>*

-- 
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/CAMyaaXQfLzXUuypiH418rjQZFZOMB9DWdXCoZ%3DpaJurbHw16rA%40mail.gmail.com.

Reply via email to