Error: You don't have permission to make a new submission.

94 views
Skip to first unread message

Kirana Kumar D

unread,
May 18, 2025, 10:01:54 AM5/18/25
to DSpace Technical Support

Hello!

I am using DSpace 8 and working fine till yesterday I upgrade the Debian 12. after upgrading when i try to submit new item to the repository as administer I getting the below error

" You don't have permission to make a new submission." and also getting an "Error fetching search results" at the administer workflow page.

Kindly help!

Many thanks

george veranis

unread,
May 18, 2025, 11:32:11 AM5/18/25
to Kirana Kumar D, DSpace Technical Support
Probably your tomcat doesn’t have access to write . 
Check the service of tomcat the paths 

George Veranis
Dataly Tech
Tel: +30 6936 35 14 03
SkypeId: gveranis

Disclaimer:
The information contained in this e-mail is intended only for the use of the individuals or entities to which it is addressed and may contain information that is privileged and confidential, the disclosure of which is prohibited by law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately on webm...@dataly.gr  or send an email to in...@dataly.gr and delete this e-mail from your system. Company with distinctive title Dataly Tech Single Member P.C., cannot accept any responsibility for the accuracy or completeness of this message and does not accept any liability for any errors or omissions in the context of this message as it has been transmitted over a public network. Internet communications cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, or contain viruses. Attachments to this e-mail are checked for viruses; however, we do not accept any liability for any damage sustained by viruses and therefore you are kindly requested to check for viruses upon receipt.


--
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 visit https://groups.google.com/d/msgid/dspace-tech/56b8ee91-b66a-45d6-b830-2f2ae1eef4den%40googlegroups.com.

Michael Plate

unread,
May 19, 2025, 3:41:46 AM5/19/25
to dspac...@googlegroups.com
Hi

Am 18.05.25 um 07:37 schrieb Kirana Kumar D:
[…]

as written before this might be a restriction on the systemd unit for
Tomcat.

If you want a short try, stop Tomcat and as DSpace user run

java -jar webapps/server-boot.jar

Now try a submission. If everything works, you need to add

ReadWritePaths=

to the systemd unit with the directory / dircetories of your dspace
installation (we have a "split install" with separate dirs for config
and assetstore, so all of them are needed)

In Debian 12 its placed in /lib/systemd/system/tomcat9.service

Kirana Kumar D

unread,
May 19, 2025, 7:17:08 AM5/19/25
to DSpace Technical Support
As advised I ran the command  "java -jar webapps/server-boot.jar" as dspace user. I got attached errors. Please help.
Picture3.png
Picture1.png
Picture4.png
Picture2.png

Kirana Kumar D

unread,
May 19, 2025, 7:17:09 AM5/19/25
to DSpace Technical Support
Thanks for the reply, 
The ReadWrite path to /dspace is already set to tomcat. still issue persists. 

Michael Plate

unread,
May 19, 2025, 12:40:31 PM5/19/25
to dspac...@googlegroups.com
Hi,

Am 19.05.25 um 12:37 schrieb Kirana Kumar D:
> As advised I ran the command  "java -jar webapps/server-boot.jar" as
> dspace user. I got attached errors. Please help.

[…]

did you have a look on the permissions ?

Kirana Kumar D

unread,
May 22, 2025, 10:10:30 AM5/22/25
to DSpace Technical Support
I have attached the DSpace error log of the issue. please help
dsapce error log.txt

ntcan...@gmail.com

unread,
May 23, 2025, 2:37:20 AM5/23/25
to DSpace Technical Support

In our case, when a popup message appeared on the upper right side announcing that we did not have permission to add an item, it was an error in SOLR.

It may be that it has not been indexed or that there has been an error in the indexing.

First we check the permissions on the directory:

/var/solr/data/... (they should be solr:solr).

And also in /dspace/log/ (must be dspace:dspace)

If in SOLR there are files .../index/write.lock we delete them and restart the service:

[dspace] /opt/solr/bin/solr restart.

Now we reindex again:

[dspace] nohup /dspace/bin/dspace index-discovery -b

With nohup we make sure that, even if the communication is interrupted, the process continues running. It will create a file “nohup.out” with the process log. This way we will see if the indexing has errors.

If everything went well, we will be able to add items.

Kirana Kumar D

unread,
May 23, 2025, 6:12:32 AM5/23/25
to DSpace Technical Support

Thanks for the reply. All the permissions are the same as you mentioned. I haven't found a file named 'write.lock' anywhere and I also reindexed, but nothing changed

Ghousson

unread,
Jul 17, 2025, 5:10:27 AM7/17/25
to DSpace Technical Support
Hello

We encountered the same error messages. In our case, the problem was with the item-submission.xml file. Our test instance had 6 collections configured, but the production instance only had 3. However, the item-submission.xml file on both instances still referenced all 6 collections.

After removing the 3 unused collection references from the file on production, everything worked correctly.

Here’s an example of one configuration entry:

 <name-map collection-handle="item/1" submission-name="Journal"/>

Hope this helps

Best regards
Dana
Reply all
Reply to author
Forward
0 new messages