To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/040c1c1a-f267-4861-950f-9b9baa3789f5n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/f8bb7ea3-8c62-4fc3-bf18-10075ee1e2fbn%40googlegroups.com.
Why it happens:
How to fix it:
The correct way to add or modify ReadWritePaths is to create an override file for the Tomcat service. This ensures that your changes are preserved across updates.
Here's how:
Create the override directory:
Create the override file:
Create a file named override.conf inside the directory you just created:
Add your ReadWritePaths:
Inside override.conf, add the following, making sure to replace /dspace/ with the actual path you need:
If you need to grant access to multiple paths, list them separated by spaces:
Reload systemd and restart Tomcat:
Apply the changes and restart Tomcat: