youngmon/atlassian-qna huggingface dataset:
Running FishEye on Windows with unprivileged user fails
Asked by Svein Seldal:

I'm trying to install FishEye on a Windows server using a service run as an unprivileged user. I have followed the FishEye install guide and the install-as-service guide. But I cannot start the service.

I have C:\\FishEye\\Program as \<FishEye home directory\> and I have C:\\FishEye\\Data for the instance data. FISHEYE_INST is set to the latter path. The service is setup to run as the fisheye user. The fisheye user has RO access to Program, and RW access to Data. The guides does not specifiy if there are any directories within Program that should be RW (which Jira does).

How is intended to use the wrapper script is to be used in regards of permissions? According to the guide the wrapper is to be installed under Program. Yet when I start the service it fails because it has no RW access to the Program directories. What am I missing here?


Answers:
author: Svein Seldal
body: Nothing?


author: Julian Riedinger [Decadis AG]
body: Is the path is also set for the unprivileged user?

Can you provide the startup log?

comments: author: Svein Seldal
body: The FISHEYE_INST variable is global so it is set for all users and services.

The \<Fisheye home\>/wrapper/conf/wrapper.conf sets wrapper.working.dir=../.. which it needs to access the java classes. However it blindly assumes that it should use \<FishEye home\>/config.xml as base for the instance, and not FISHEYE_INST.

The attached log shows that the wrapper make FishEye attempt to access the instance data in \<Fisheye home\> and are disregarding the FISHEYE_INST variable.

Perhaps the wrapper binary erases the FISHEYE_INST variable?  
(failed_wrapper_run.txt)


Tags: fisheye-crucible-administration
Empty source tab in Jira
Asked by Rumceisz:

Dear All,

we have a problem with Fisheye/Crucible: in Fisheye we have 40 GIT repositories configured which are linked to 1 Crucible project. The repos have been added to the project as so: 1 project is the default and the others are in "Fisheye project content".

The 1 Crucible project has been linked with 1 JIRA project. All the users of the JIRA project have access to the Crucible project and all repos as well.

The problem: in a JIRA issue - which is mentioned in a repository - when clicking the Source tab is empty. Once again: the issue is mentioned in the repo. If we get directly to the Fisheye repo we can see the commits to this issue.

In JIRA all users have "View issue source tab" right.

Could you please help what is the problem here?

Thanks in advance,  
Rumi


Answers:
author: Ryan Dunn
body: Dear Rumeceisz,

Couple of things we can try.

First, make sure the 'Allow Remote API Calls' is turned ON in Jira under Administration \> General Configuration.

Also, can you confirm that the below step was done?

<https://confluence.atlassian.com/display/CRUCIBLE/JIRA+integration+in+Crucible#JIRAintegrationinCrucible-1.ConfiguringanapplicationlinkwithJIRA>

If the application link is configured and API calls turned on, you should be good. If not I would dive into the crucible logs and see if there is a connection error to Jira.

Let me know if this helps.

Cheers,

Ryan


author: Mark Bickford
body: One issue I have noticed occasionally that will cause this, is the system times being out of sync between the JIRA and Fisheye/Crucible servers. Correcting that issue may fix the sync problem.
Browse is not displaying any files for SVN repository
Asked by Doug Clancey:

Configured SVN repository and update calls completed. No errors being displayed in web page or displaying in console. But I select "browse" from the "Actions" column, the browse display is empty. No files are displayed. Not sure what I missed.


Answers:
author: Vignesh Vee
body: I'm also having same issue


author: Norman Abramovitz
body: Have someone check the fisheye log file. Most likely the fisheye indexing failed.


author: Iona Augustine
body: I have the same problem and I checked my permission everyone has read permission.


author: Felipe Kraemer
body: Hi Doug,

I'm wondering if this could be a permissions problem. Could you please check your repository [permissions](https://confluence.atlassian.com/display/FISHEYE/Permissions) to see if you belong to any of the groups allowed to browse it?

I hope this helps!


Tags: fisheye-crucible-administration
Changing Fisheye repository from Github to Stash - how?
Asked by Glen Coates:

We're trying to transition from Github to Stash at the moment, and of course one side-effect of this is that our Fisheye / Crucible instance that tracked all of our Github repos is now tracking the wrong code.

Given that our Github repo was mirrored to Stash as per the online docs, I would hope that there is a simple way to just re-point the repo in Fisheye and have everything just magically keep working. But alas, this is what happened when I tried to do that:

<http://cl.ly/image/2f303p2O1S2C>

Is there any way to achieve this transition without dropping the repo from Fisheye and adding a new one? I can only assume that dropping the repo will be extremely destructive to our existing (long) history of Crucible reviews that link to that code.


Answers:
author: Conor
body: Glen,

You should be able to update the repository location, then reclone and reindex which will recreate the FishEye index without disrupting the Crucible data.

First step would be to make a backup :-)

comments: author: Glen Coates
body: Thanks Conor - that did the trick.


author: Felipe Kraemer
body: Hi Glenn,

There is currently no way to automatically import Stash repositories into FishEye. However, we have an open issue to address this which can be tracked, commented or voted on here: <https://jira.atlassian.com/browse/STASH-2589>

As suggested in the above link, if you're using FishEye 2.10.0 - 2.10.7 you can try to use this plugin:

<https://marketplace.atlassian.com/plugins/com.atlassian.fecru.reposync.reposync>

I hope this helps!

comments: author: Glen Coates
body: Hi Felipe,

Thanks for the response, but that's not really what I'm after. The solutions you're talking about are for automatically adding Stash repos to Fisheye. We only have a handful of repos so I'm not concerned with the manual effort of adding Stash repos to Fisheye.

What I am concerned with is preserving the history of reviews that we have (that stretches back years) based on the commits in our Github repo on Fisheye. What I want to do is remove the Github repo from Fisheye and add the Stash repo to Fisheye, and have all the Crucible reviews that reference commits from the old Github Fisheye repo now point to the Stash Fisheye repo.

Put another way:

- If I delete the Github repo from Fisheye, then add the Stash repo, will Crucible be smart enough to link up all the commits for the old reviews with the new Stash-based repo?


Tags: bitbucket-server

fisheye-crucible-administration

github
Fisheye - Change Author
Asked by aram.dermenjian:

So I noticed that I had 2 accounts accidentally and so when I would do a push to the server, fisheye would associate my pushes with my secondary account. Is there anyway to alter the 'author' in order to show the proper account as the secondary one will be deleted shortly.

We're using Fisheye 3.0.3 if that helps.


Answers:
author: Felipe Kraemer
body: Hi Aram,

You can map multiple committers (authors) with a single FishEye user, by going to /admin/userMappingAdmin.do (FishEye Admin -\> User Settings -\> User Mappings)

If you're not an administrator, you can do this from your User Profile:

<https://confluence.atlassian.com/display/FISHEYE/Changing+your+user+profile#Changingyouruserprofile-AuthorMapping>

I hope this helps!

comments: author: aram.dermenjian
body: Weird way of doing it as you'd think it would be global, but since I only have 1 repository it works =) Thanks!


Tags: fisheye-crucible-administration
Fisheye / Crucible backup fail
Asked by Martin Burton:

Hi. We have Fisheye \& crucible 2.10.0.

I have attempted to take a full backup with repository and application caches included, but am getting the error "The process cannot access the file because another process has locked a portion of the file". This has happened twice. I disabled the anti-virus scanning for the second attempt. how can I find out what other process could be locking the file \& which file is being locked?

Thanks,

Martin.


Answers:
author: CelsoA
body: Hi there Martin,

Can you please try stopping Crucible instance and follow the steps found on this link?

<https://confluence.atlassian.com/display/CRUCIBLE/Backing+up+and+restoring+Crucible+data>

The command line should be able to create your backup after the instance be stopped.

Regards,

Celso Yoshioka


author: Martin Burton
body: Hi. Thanks for both answers. I tried Celso's suggestion of running the backup from the command line, although I had to leave Fisheye / Crucible running as stated in thelink. This was succesfull.

I was concerned that Handle.exe would only list the files locked at the time it was run, and I expect it was just temporary, and would be released by the time I got to it.

Martin.


author: aram.dermenjian
body: From the sounds of it you are using a Windows Server? If so, you can figure out a little more on what process is locking your file through [Handle](http://technet.microsoft.com/en-us/sysinternals/bb896655) by SysInternals. It shows what process is locking your file.

```
&gt;Handle.exe &gt;C:\Temp\Temp.txt
```

The above will write all file handles to 'C:\\Temp\\Temp.txt'. From there you can find your file by name in the temp file and see who is locking it.


Tags: backup
Browse a specific revision of repository in Fisheye
Asked by Martin Leopold:

Hi,

Is it possible to browse the repository as it looked at specic revision (or changeset)? A bit like the way you can currently browse it by branch or tag - couldn't I just enter any changeset hash and browse from there?

Br,

Martin Leopold


Answers:
author: Martin Leopold
body: Hi,My solution was to simply add a tag to the revision in question and browse that.- Martin


author: Foong
body: Hi Martin,

How about searching for the commit hash with the Quick Search on the top right?


author: Martin Leopold
body: Hi,

I'm using Mercurial (HG).

Br,

Martin


author: EddieW
body: WHat SCM are you using? SVN, CVS, Git, Mercurial?
Getting error: git status failed with code -1, system.componentmodel.win32exception access is denied
Asked by Ankur Srivastava:

I have some issue with sourcetree. So, I uninstalled it and the I reinstalled it again. But after this getting this error**git status failed with code -1, system.componentmodel.win32exception access is denied**. Does anybody has any idea how to fix it ?

![SourceTreeError.PNG](/t5/image/serverpage/image-id/109783i08F0C33D148632B0/image-size/large?v=v2&px=999 "SourceTreeError.PNG")


Answers:
author: Ankur Srivastava
body: After a long investigation, I came to know it's the version issue as the versions higher than 3.0.17 are not stable. So I've reinstalled 3.0.17 in order to fix this issue.

But would like to hear more solutions if we have another.

comments: author: Hemal Fofaria
body: Old version mentioned above 3.0.17 is not working at Windows 10.  
Any other solution will be helpful.
getting constant password popup request (again) when trying to pull. eventual 403 error
Asked by Long Neck Games:

I've had this happen in the past, and remembered beating my head against the desk then as well. Went through a ton of old threads suggesting all sorts of solutions to no avail. was originally able to just re-verify Oath in settings and that seemed to work, but now I'm just at a total loss of what to try next. Command line is now giving me a 403 too many passwords error, and I can't get that to stop no matter what I do either.

Using windows 10, Sourcetree version 3.3.6.3829, git system version 2.25.0

Repo is on bitbucket.

So far I've tried:

* switching from embedded to system git,
* deleting pswd file.
* changed passwords like 3 times
* fiddled with every stupid account log in spot possible (seriously, why does it need to be like this?)
* Deleting account info and resetting it up with a new password or auth
* setting up two factor auth
* can get Oauth green check, but sourcetree doesn't seem to care about that anymore.

If I seem frustrated it's because I am, I seriously don't understand how this program will work one minute then magically forget how to do basically anything. I'm fortunate to only need to dabble in source control every so often, I have no idea how folks put up with this for a living.


Answers:
author: Kre?imir Jurkovi?
body: same here, tried all your steps, nothing.
Source doesn't detect changes in .github/workflows directory
Asked by Puchatek:

OS: OSX 10.15.6

Sourcetree version: 4.0.2

For whatever reason Sourcetree doesn't seem to notice changes to files in .github/workflow directory.

This directory is tracked, and I can confirm changes are picked up by git with \`git status\`, but Sourcetree doesn't notice them.

It does once I run \`git add .\`, and shows modified files correctly once commited.


Answers:
author: Matt Savino
body: I'm having the same issue. If I kill SourceTree and restart it, it detects the changes.
Can we no longer use private Git Servers?
Asked by mnjew:

I remember using Sourcetree to work with my private Git Server.

I cannot figure out how to make my private Git Server a Remote.

Has this capability been taken away?


Answers:
author: Nic Brough -Adaptavist-
body: No, you can use it with any git repository you want.

What errors are you getting when you try to connect to your repo?

comments: author: mnjew
body: It isn't that there are errors.

The problem is that I can't find a way to configure a repository other than the commercial services listed in the "Accounts" window: BitBucket, GitHub, GitLab, and Azure.

If I already have a local repository, how am I supposed to specify my private Git Server to create the remote and push it?
Problems with denycurrentbranch setting when pushing commits to origin
Asked by Lynna Landstreet:

I set up a Git repository for a development site I'm working on. It's a non-bare repository, since it's the actual development site, so the files need to be there. But I'm running into problems when trying to push changes from my local computer to the dev site.   

Initially I was getting the error message "fatal: bad config value for 'receive.denycurrentbranch' in ./config". After checking its value (it was set to "updateInstead"), and doing some searching online and reading various articles, forum posts, etc., it looked like some versions of Git don't support that value, and if that's the case then you need to set it to "refuse" or "ignore".

I updated Git on my local computer and made sure SourceTree was using the most recent version available for Mac OS X (2.27.0), but I still got the same error.

So I tried both the other settings I'd seen recommended, but refuse just gave me a different error instead ("error: refusing to update checked out branch: refs/heads/master"). Ignore appeared to work, in that it didn't generate any error messages, but then I found that it hadn't actually pushed any changes, just failed silently. So it looks like updateInstead IS the only setting that would allow actually pushing changes, but for some reason SourceTree (and command-line Git also) keep telling me that's invalid.

I did a little more reading to try and get a better understanding of what was happening, and apparently Git doesn't like to push changes to a non-bare repository if it's to the current branch? But this is a fairly simple respository, on which I'm the only developer, so there only IS one branch. I tried to get a better understanding of what "checked out" meant with regard to the master branch, but as far as I've been able to determine (I am not a Git expert by any means), it just means that's the current active branch?  

Obviously I'm doing something wrong, but I'm not sure what. I just want to be able to push changes from my local computer, but also to be able to work directly on the dev site sometimes, and then commit the changes there and pull them to my local. Is there a better way I can make that happen?


Answers:
author: Gab Ri Ella
body: were you able to resolve this?

Are you able to push into dev and pull into the local?
SourceTree Mac and Gitlab CE
Asked by marek_bakalarczuk:

Is there any possibility to connect ST on Mac with Gitlab CE account?

I tried everything, but no luck


Answers:
author: Vladimir Jucov
body: Yes, you can.   

1) Go to SourceTree Preferences -\> Accounts  
![2020-09-08_12-03-16.png](https://community.atlassian.com/t5/image/serverpage/image-id/109515i39BEED0B111C4DA6/image-size/large?v=v2&px=999 "2020-09-08_12-03-16.png")  
2) Press Add... button  
3) Fill all fields **BUT** in the "Password" field you must to enter **personal access token!**   

Creating a personal access token {#toc-hId--1323961329}
-------------------------------------------------------

You can create as many personal access tokens as you like from your GitLab profile.

1. Sign in to GitLab.
2. In the upper-right corner, click your avatar and select **Settings**.
3. On the **User Settings** menu, select **Access Tokens**.
4. Choose a name and optional expiry date for the token.
5. Choose the desired scopes.
6. Click the **Create personal access token** button.
7. Save the personal access token somewhere safe. If you navigate away or refresh your page, and you did not save the token, you must create a new one.

comments: author: marek_bakalarczuk
body: Thanks, but when I give all credentials, still got this:  

We couldn't connect to GitLab CE with your (MarekBakalarczuk) credentials. Check your username and try the password again.


author: Vladimir Jucov
body: Did you create access token in GitLab with all scopes? You must to use it password field. Its look like "W543dfG3zQddsd6kMq29Z"


author: marek_bakalarczuk
body: Yes I did. But it look like "sd1fafYMPBYQ5za-xfsm"


author: marek_bakalarczuk
body: OK. I did token again and it has proper format.

But still I cannot make an account.

Maybe it is username matter? It has to be a Gitlab CE login or profile user name?


author: marek_bakalarczuk
body: Or maybe I need to enable two-factor authentication?


author: Vladimir Jucov
body: username must be a Gitlab CE login  

in my Gitlab i has no two-factor authentication


author: marek_bakalarczuk
body: It is not working either. Thanks anyway.


author: alex
body: It was not working for me either. However: After waiting a couple of minutes after creating the access token, I tried again. This time, when I clicked "Save" I pressed it three times in rapid succession (originally, when I clicked it, nothing happened.) Then... it worked.

I'm not sure if rapid clicking made it work or if I just had to wait for GitLab CE to propagate the access token.


Tags: mac
Global Git Config is ignored after Windows update
Asked by Brice:

Hello. After upgrading from Win10 1709 to 1909 my SourceTree installation neither honors nor can reach the global .gitconfig. Thus, when committing, SourceTree uses my Windows user name as well as associated e-mail address, which are both different from the configured name and address in .gitconfig.

Furthermore, even though the setting to allow SourceTree to edit the global .gitconfig is indeed checked, SourceTree does not modify the file when I change name or address in the settings. It looks like it completely ignores the file.

This occurs for both system and embedded binaries. However if I commit manually from the terminal, or if I uncheck "use global settings" in a repo, then the correct information is used.

How can I fix this behaviour?

EDIT: I of course uninstalled/cleared all AppData folders/reinstalled, to no avail.


Answers:
author: Brice
body: I moved the user config (\[user\], user.name, user.email) to the system gitconfig (in C:\\Users\\\<user\>\\AppData\\Local\\Atlassian\\SourceTree\\git_local\\etc) and now it works. Figures!
Gsuite????????SourceTree??????????????
Asked by hi-oka:

Gsuite????????????SourceTree??????????????????????????????????????????????

???Gsuite?????????????????????????????????????Gsuite??????????????????????????????????????

?????????????????????

![???????????.png](/t5/image/serverpage/image-id/109177i44067BEACB0C47C3/image-size/large?v=v2&px=999 "???????????.png")

Atlassian?????????????????????????Bitbucket???????????????????????SourceTree????????????SourceTree????????????????????????????

????????????????

?????????????

Hiromi Oka


Answers:
author: Tomoko Suzuki
body: ?????????????????????????

?????????????????????????????

* [Cannot login with Bitbucket in SourceTree after linking with Atlassian ID/Google](https://community.atlassian.com/t5/Bitbucket-questions/Cannot-login-with-Bitbucket-in-SourceTree-after-linking-with/qaq-p/145231)

??? Windows Git Credential Manager ???????????????????????

* <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases>

???????????????????


Tags: language-ja
Azure DevOps Server (earlier called TFS) - Problem adding remote account
Asked by egisan3:

We have a setup with Azure DevOps Server 2019 (TFS) in our network.

I am trying to setup an account in SourceTree in the same way as described for the case (which refers to connection to Azure DevOps Service/VSTS) discussed here:

<https://community.atlassian.com/t5/Sourcetree-questions/Azure-DevOps-with-Sourcetree-Adding-a-remote-account/qaq-p/1065001?tempId=eyJvaWRjX2NvbnNlbnRfbGFuZ3VhZ2VfdmVyc2lvbiI6IjIuMCIsIm9pZGNfY29uc2VudF9ncmFudGVkX2F0IjoxNTk5MTM3MTA0MTAxfQ%3D%3D>

[https://jira.atlassian.com/browse/SRCTREEWIN-10800?workflowName=SourceTree+Bug+Workflow\&stepId=8\&_ga=2.218138911.788638929.1598390300-269868521.1598390300](https://jira.atlassian.com/browse/SRCTREEWIN-10800?workflowName=SourceTree+Bug+Workflow&stepId=8&_ga=2.218138911.788638929.1598390300-269868521.1598390300)

But the authentication fails every time.

Does SourceTree support authentication towards a Git server hosted by an "on prems" setup of Azure DevOps as we have?

What is the procedure to follow here?

Thanks![SourceTree_git.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/109093i1E2DA926D64D035A/image-size/large?v=v2&px=999 "SourceTree_git.JPG")


Answers:
author: Arnie Ug
body: Did you manage to find an answer for this?

comments: author: egisan3
body: No, no answer. However in order to work with repositories hosted on an on premises Azure DevOps deployment (Server) it is not necessary setup an account at all.

You just need to select the solution with the "ADD" Tab (shown in the picture I attached in my first post) and select the root folder (where .git folder is located) and SourceTree will automatically connect with the remote repos.

I have not tried to "Clone" directly with SourceTree but my guess is that it should work in the same way.


Tags: azure

devops

team-foundation-studio
It suddenly ends after starting.
Asked by SAFEHOUSEstaff:

When I start Sourthtree, it crashes.  
I have the following symptoms:  
? Click "Source tree"Icon.  
?Start up and a window will open.  
? Suddenly ends after 2 seconds


Answers:
author: Rien Bouw
body: I have the same issue. Cleanup all Sourcetree files, also in the registry, reinstalled. Still the same issue. When Sourcetree starts, i see Remote Repository and a blue, empty, entry at the left side. For my feeling, the error is there. I don't know how to fix this.
Cylance virus scan issue
Asked by Mike Trotter:

We've recently started using Cylance Protect, and are having issues with SourceTree.

The threat location is indicated as: C:\\Users\\USERNAME\\AppData\\Local\\Atlassian\\SourceTree\\git_local\\usr\\bin\\sh.exe

Question 1 is this a false positive?

Question 2 at what folder level should we apply a scan exclusion to enable a permanent fix that will not be impacted by future upgrades?


Answers:
author: Nic Brough -Adaptavist-
body: 1. Yes, assuming it is the sh.exe distributed with Sourcetree
2. Probably the \\bin level in the path you've got - stuff outside \\bin should not be executable so still worth checking