plugin issue

We installed svn mirror plugin in bitbucket-6.7 and it keep doing importing till 20 minutes but it does snow any branch or any data it shows same as new repository created and print that:

F:\atlassian\applicationdata\bitbucket\shared\data\subgit\repositories\22\db\uuid unable to read whereas user has full permission and it does not show any error of import repositories. And this file it creates while importing but no idea why it is reporting so.

And I going to put logs here:

2019-11-21 09:12:49,719 configure - Failed to load Subversion configuration at ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit.run\config’
2019-11-21 09:12:49,734 configure - server 6.7.1 6007001; add-on 4.0.5; single node server
2019-11-21 09:12:49,906 configure - repository is empty: true
2019-11-21 09:12:49,922 configure - extracting non-editable options from ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\config’ to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘core.shared’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘core.logs’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘core.authorsFile’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘core.authorsFileEncoding’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘core.defaultDomain’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘core.pathEncoding’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.url’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.minimalRevision’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.trunk’
2019-11-21 09:12:49,922 configure - option ‘svn.trunk’ is editable, remains
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.branches’
2019-11-21 09:12:49,922 configure - option ‘svn.branches’ is editable, remains
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.tags’
2019-11-21 09:12:49,922 configure - option ‘svn.tags’ is editable, remains
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.shelves’
2019-11-21 09:12:49,922 configure - option ‘svn.shelves’ is editable, remains
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.fetchInterval’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.connectTimeout’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.readTimeout’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.httpSpooling’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.keepGitCommitTime’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘svn.auth’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘auth.default.passwords’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘auth.default.useDefaultSubversionConfigurationDirectory’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘auth.default.subversionConfigurationDirectory’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘daemon.pidFile’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘daemon.idleTimeout’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - extracting option : ‘daemon.classpath’
2019-11-21 09:12:49,922 configure - option moved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\stash.config’
2019-11-21 09:12:49,922 configure - Applying user branches mapping to visible configuration file
2019-11-21 09:12:49,969 configure - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:12:49,969 configure - added user name credentials: Nsaini
2019-11-21 09:12:49,969 configure - explicit user name credentials: Nsaini
2019-11-21 09:12:49,984 configure - generating authors mapping from Subversion history at ‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles
2019-11-21 09:12:50,359 configure - 2 authors found
2019-11-21 09:12:50,359 configure - authors mapping saved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\authors.txt’
2019-11-21 09:12:50,359 configure - updating authors mapping to exclude Bitbucket users
2019-11-21 09:12:50,375 configure - 2 matching Bitbucket users found
2019-11-21 09:12:50,375 configure - authors mapping generated
2019-11-21 09:12:50,375 configure - authors mapping saved to ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\authors.txt’
2019-11-21 09:12:50,687 configure - ===
2019-11-21 09:13:39,423 start-import - server 6.7.1 6007001; add-on 4.0.5; single node server
2019-11-21 09:13:39,485 start-import - running install with refetch option set to ‘false’
2019-11-21 09:13:39,517 start-import - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:39,517 start-import - added user name credentials: Nsaini
2019-11-21 09:13:39,517 start-import - explicit user name credentials: Nsaini
2019-11-21 09:13:39,595 start-import - New active configuration file:

Subversion to Git mapping options

[svn]
# Subversion repository URL
url = https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles
minimalRevision = 1
keepGitCommitTime = false
auth = default

# Options below (trunk, branches, tags, shelves) define correspondence between Subversion
# directories and Git references. Depending on the actual Subversion project layout and whether
# all or only some of the branches have to be mirrored, these options might need to be adjusted.
#
#  Generic mapping syntax is:
#    <Subversion-Path-Pattern>:<Git-Reference-Pattern>
#
#  Subversion paths are relative to the URL defined by the svn.url option.
#
#  For more details refer to http://subgit.com/documentation pages.
trunk = branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles:refs/heads/master

[core]
shared = false
logs = subgit/logs
authorsFile = UTF-8
pathEncoding = UTF-8

[auth “default”]
subversionConfigurationDirectory = subgit
userName = hercule

[daemon]
pidFile = subgit/daemon.pid
idleTimeout = 0
classpath = M:/ApplicationData/Bitbucket/shared/data/subgit/lib/3.3.8-9999999

[translate]
eols = false
ignores = true

2019-11-21 09:13:39,610 start-import - Skip upgrade tasks: daemon binaries located in non-standard directory
2019-11-21 09:13:39,782 start-import - Created installation report:
ErrorReport[description=‘Push rejected: SubGit installation is in progress.
Pushes will be allowed as soon as SubGit installation is completed.’, warning=true, git enabled=false, svn enabled=true]
2019-11-21 09:13:39,782 start-import - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:39,782 start-import - added user name credentials: Nsaini
2019-11-21 09:13:39,782 start-import - explicit user name credentials: Nsaini
2019-11-21 09:13:39,923 start-import - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:39,923 start-import - added user name credentials: Nsaini
2019-11-21 09:13:39,923 start-import - explicit user name credentials: Nsaini
2019-11-21 09:13:40,282 start-import - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:40,282 start-import - added user name credentials: Nsaini
2019-11-21 09:13:40,282 start-import - explicit user name credentials: Nsaini
2019-11-21 09:13:40,329 start-import - Uninstall Git hooks: M:\ApplicationData\Bitbucket\shared\data\repositories\22\hooks\pre-receive and M:\ApplicationData\Bitbucket\shared\data\repositories\22\hooks\post-receive
2019-11-21 09:13:40,345 start-import - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:40,345 start-import - added user name credentials: Nsaini
2019-11-21 09:13:40,345 start-import - explicit user name credentials: Nsaini
2019-11-21 09:13:40,392 start-import - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:40,392 start-import - added user name credentials: Nsaini
2019-11-21 09:13:40,392 start-import - explicit user name credentials: Nsaini
2019-11-21 09:13:40,501 start-import - License check; EAP: false; types: [SUPPORTED_VERSIONS_MISMATCH, UPGRADE_UNTIL_LIMIT_EXCEEDED, REPOSITORIES_LIMIT_EXCEEDED, SUPPORTED_REPOSITORY_ID_MISMATCH, LICENSE_EXPIRED]
2019-11-21 09:13:40,501 start-import - License supports version: ‘..*’ >= ‘3’
2019-11-21 09:13:40,501 start-import - License violations: none
2019-11-21 09:13:40,548 start-import - Deleted error report ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22\subgit\error’
2019-11-21 09:13:40,610 start-import - License check; external license: Atlassian Stash; types: [LICENSE_EXPIRED]
2019-11-21 09:13:40,610 start-import - License violations: none
2019-11-21 09:13:41,429 start-import - ===
2019-11-21 09:13:41,648 verify - server 6.7.1 6007001; add-on 4.0.5; single node server
2019-11-21 09:13:41,648 verify - core.trustfolderstat : about to unset
2019-11-21 09:13:41,674 verify - core.trustfolderstat option is set to ‘true’ or not set
2019-11-21 09:13:41,674 verify - starting verify from revision: 1
2019-11-21 09:13:41,810 verify - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:41,810 verify - added user name credentials: Nsaini
2019-11-21 09:13:41,810 verify - explicit user name credentials: Nsaini
2019-11-21 09:13:41,810 verify - Verifying ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22’, revisions [0:0].
2019-11-21 09:13:41,810 verify - verifying revision range: 0:0
2019-11-21 09:13:41,810 verify - Verification of ‘M:\ApplicationData\Bitbucket\shared\data\subgit\repositories\22’ finished.
2019-11-21 09:13:42,013 verify - updating verify information:
2019-11-21 09:13:42,029 verify - version: 4.0.5
2019-11-21 09:13:42,029 verify - revision: 0
2019-11-21 09:13:42,029 verify - completed: true
2019-11-21 09:13:42,029 verify - errors:
2019-11-21 09:13:42,029 verify - ===
2019-11-21 09:13:42,232 sync - server 6.7.1 6007001; add-on 4.0.5; single node server
2019-11-21 09:13:42,342 sync - Repository fetch started.
2019-11-21 09:13:42,435 sync - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:42,435 sync - added user name credentials: Nsaini
2019-11-21 09:13:42,435 sync - explicit user name credentials: Nsaini
2019-11-21 09:13:42,435 sync - Checking remote ‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’.
2019-11-21 09:13:42,467 sync - Revisions: <fetched=-1; last=2230>
2019-11-21 09:13:42,545 sync - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:42,545 sync - added user name credentials: Nsaini
2019-11-21 09:13:42,545 sync - explicit user name credentials: Nsaini
2019-11-21 09:13:42,576 sync - progress range: Fetching revisions from r-1 to r2230
2019-11-21 09:13:42,638 sync - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:42,638 sync - added user name credentials: Nsaini
2019-11-21 09:13:42,638 sync - explicit user name credentials: Nsaini
2019-11-21 09:13:42,654 sync - Starting fetch-back preventing procedure.
2019-11-21 09:13:42,732 sync - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:42,732 sync - added user name credentials: Nsaini
2019-11-21 09:13:42,732 sync - explicit user name credentials: Nsaini
2019-11-21 09:13:42,748 sync - Checking for fetch-back phase prevention feasibility.
2019-11-21 09:13:42,826 sync - svn authentication manager for ‘‘https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles’’
2019-11-21 09:13:42,826 sync - added user name credentials: Nsaini
2019-11-21 09:13:42,826 sync - explicit user name credentials: Nsaini
2019-11-21 09:13:42,826 sync - Fetching https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles up to revision=HEAD
2019-11-21 09:13:42,920 sync - Getting content of “” directory at revision 2237
2019-11-21 09:13:42,935 sync - SET_PATH ‘’ 2237 empty depth=infinity
2019-11-21 09:13:42,951 sync - Updating latest fetched revision for svn-remote “svn” to r2237
2019-11-21 09:13:42,967 sync - Running periodical Git garbage collector.
2019-11-21 09:13:42,967 sync - Executing [git, -c, gc.autoDetach=0, gc]; environmentVariables={};workingDirectory=M:\ApplicationData\Bitbucket\shared\data\repositories\22
2019-11-21 09:13:44,013 sync - Updating latest fetched revision for svn-remote “svn” to r2239
2019-11-21 09:13:44,107 sync - Restoring refs to reflect SVN state.
2019-11-21 09:13:44,123 sync - Refs were successfully updated
2019-11-21 09:13:44,123 sync - Location ‘22’ fetch completed, fetch took 1766 ms.
2019-11-21 09:13:44,123 sync - Repository fetch completed, fetch took 1781 ms.
2019-11-21 09:13:44,123 sync - about to refresh repository
2019-11-21 09:13:44,623 sync - ===

Let me know any more logs you need

Hello Nehru

first of all, I’d like to note that configuration doesn’t seem to be correct: you set URL to

https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles

which appear to be complete URL to “Common_PropertyFiles” directory. At the same time, the ‘trunk’ is set to “branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles” which makes the addon to search for the trunk at

https://bpswscvsa01.bealls.com/svn/bealls/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles/branches/Independent_21_GiftWrapFee_Fix/Common_PropertyFiles

which, I believe, is not correct. If that URL leads to a non-existing directory, then the add-on will import noting and indeed will show nothing in Bitbucket. My understanding is that the URL should be set as follows:

 https://bpswscvsa01.bealls.com/svn/bealls

I didn’t completely understand about 20 minutes – did you mean the import lasted 20 minutes? Actually, for a real-life repository 20 minutes is usually is not much, hours are more typical, for very big repositories it may take even days. If the configuration is really incorrect, then 20 minutes seems reasonable, the add-on only scanned SVN history and prepared the import, but actually imported nothing due to incorrect mapping.

The log you have posted looks like a regular add-on log, only it indeed looks like add-on found no data at the given path and thus imported nothing.

As for the logs – the most convenient way to get logs is to collect them in the add-on UI using Creat ZIP feature that is available on the Support tab. I suggest changing the mapping configuration according to the SVN repository layout and re-run the import. If the import will not show any data again - please collect the Support Zip on the Support tab and let us know your SVN repository layout. Also, if the “unable to read” message appears again let us know where does it appear.