After upgrade to stash 3.2 subgit mirroring stopped working

I just raised this issue in tmatesoft's support portal:


But would also like to try my luck here as its urgent.


We just did an upgrade from stash 2.10 to 3.2. The upgrade went smoothly, after that we are forced to upgrade the subgit plugin to the latest, which we did.

Then we cannot push to git at all, but the git pull or svn commit all worked (svn checkin will commit to git repo and pulling git repo will give you the latest version).

Here is the error on the client side:

seek_master git:(master): git push origin master

remote: Synchronizing SVN and Git...

remote:   translating SVN revisions to Git commits...

remote:   translating Git commits to SVN revisions...

remote: ... done.


remote: SubGit ERROR REPORT (SubGit version 2.0.3-EAP ('Patrick') build #2788):


remote: You've received this message because SubGit ( is installed in your repository

remote: and an error that needs to be dealt with has occurred in SubGit translation engine.



remote:         Failed to push some refs to Subversion repository.

remote: svn: E175002: COPY of /svn/seek/!svn/bc/20762/trunk: 501 Method Not Implemented (http://ak1vsvrpap03.finzoffice:81)




remote:         Both Git and Subversion repository are open for pushes or commits.

remote:         Your commit was not committed, but you may retry it.


remote: TO RECOVER:

remote:           A) Address the problem if possible and then retry commit

remote:         OR

remote:           B) Run on the server

remote:              $ subgit uninstall D:\stash_home\shared\data\repositories\131


remote:         IMPORTANT: As soon as SubGit is uninstalled, both Git and Subversion repositories

remote:                    will become open, but no synchronization will take place.


remote: TO REPORT:

remote:         Report an issue at

remote:         You may find logs on the server at 'D:\stash_home\shared\data\repositories\131\subgit\logs'


remote: THANK YOU!

To ssh://git@ak1vsvrpap03.finzoffice:7999/seek_svn/seek_svn.git

 ! [remote rejected] master -> master (pre-receive hook declined)

error: failed to push some refs to 'ssh://git@ak1vsvrpap03.finzoffice:7999/seek_svn/seek_svn.git'



On the server side, in the subgit logs:



[2014-09-10 10:08:15.847][pre-receive-hook][333] Failed to push some refs to Subversion repository.
svn: E175002: COPY of /svn/seek/!svn/bc/20762/trunk: 501 Method Not Implemented (http://ak1vsvrpap03.finzoffice:81)

org.tmatesoft.translator.util.e: Failed to push some refs to Subversion repository.
svn: E175002: COPY of /svn/seek/!svn/bc/20762/trunk: 501 Method Not Implemented (http://ak1vsvrpap03.finzoffice:81)


 at org.tmatesoft.translator.util.e.b(SourceFile:24)
 at org.tmatesoft.translator.c.g.a(SourceFile:249)
 at org.tmatesoft.translator.d.c.doExecute(SourceFile:123)
 at org.tmatesoft.translator.d.h.doExecute(SourceFile:54)
 at org.tmatesoft.translator.d.c.execute(SourceFile:62)
 at org.tmatesoft.subgit.stash.web.hooks.SgPreReceiveRepositoryHook.doPreReceive(SourceFile:106)
 at org.tmatesoft.subgit.stash.web.hooks.SgPreReceiveRepositoryHook.onReceive(SourceFile:68)
 at com.atlassian.stash.internal.hook.DefaultBuiltInHookHandlerFactory$1.handle(
 at com.atlassian.stash.internal.hook.DefaultHookService.doHandleRequest(
 at com.atlassian.stash.internal.hook.DefaultHookService.handleRequest(
 at com.atlassian.stash.internal.hook.DefaultHookService.handleRawRequest(
 at com.atlassian.stash.internal.hook.DefaultHookService$2$
 at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$
 at java.util.concurrent.Executors$ Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$ Source)
 at Source)



Any help will be appreciated!

2 answers

1 accepted

0 votes
Accepted answer

This issue is a bug that existed in 2.0.12 of the svn mirroring addon, after we reported it now they fixed it in CHeers


0 votes

Hi Jason,

After the Stash 3.0 release, some plugins became incompatible due to the removal of some REST API's (please refer to the Plugin incompatibility with Stash 3.0. I noticed on the vendor's plugin in Marketplace that the 2.0.10 is their oldest release compatible with Stash.

That being said, could you please review your plugin version? If it is 2.0.3 as I could see from your logs above, that should help you fix the issue.

Best regards,
Thiago Bomfim
Atlassian Support

Thanks for the prompt reply, Thiago, I just checked the addon version, it definitely says 2.0.12. You are quite right about the log on the client side, looks like the old version is still in play! Whats the best way for me to be certain we are using the 2.0.10 version? Can I physically remove some file? Thanks Jason

Just realized the version 2.0.3 is the sub git server version, which is the latest and 2.0.12 is the stash add on svn mirroring version. They do not need to match I guess. So that would not be the cause...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,961 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you