Running into this error on forge and I'm not sure what to try next. Here's the situation and what I've tried thus far.
Cloning into '{site_name}'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists
This forge account is for the company I work for which has an associated organization on github of which I am have an owner role. Forge is not able to read from any of the repositories owned by this organization. The above error started occurring after the owner of the github account logged into forge was removed from the organization.
What I've tried
Unlinking/relinking github in forge under the Source Control tab.
Set organization, third-party application access policy to no restrictions
Tried having other team members in the organization sign into github on forge
Adding the ssh key forge supplies for any given site to the deploy key section for that site's associated repository. This always yields the same error, key already in use.
Double, triple, quadruple checked the spelling of the repository name/path
I've tried reaching out to the forge tech support, but none of their suggestions have worked so far.
Another note, I am able to have forge connect to any of my personal repositories but none of the ones I have created for under the organization.
Has anyone else had issues related to github organizations on forge?
I had the same issue. When we removed one of our ex-developers account from the organization, forge couldn't access any of our repo. The issue we was because of the ssh key. The forge ssh key of the repo was added to that ex-developer's account, removed it from his account and added to to an existing devs, who is on the organization account and it worked.
*You can get the ssh key from the meta tab on the forge servers page
Related
I have a website that was made by someone. I’m trying to get my files and want to be able to update some front end stuff. He made the website with Laravel Forge and Digital Ocean. He has his account connected to his Github I think. I was able to ssh into my Forge with keys. I also have a sudo pass and database pass if this helps. He’s MIA btw deleted all his social stuff and website and won’t respond to emails.
If you don't have access to GitHub so the easier way is to download the files from the server there are many ways to do it as example by using FileZilla then create a new repository in GitHub and push your code to the repository in GitHub then you can deploy from GitHub to the server
We're working in a shared repository where we're not the owner. Our AAD accounts have been invited - username#domain.com. We have no issues accessing the Git repo.
THE ISSUE: We can't access the NuGet repo. We can access it in ADO and see all the artifacts. However, when we try to pull the repo in VS, we get a 401 Unauthorized.
The workaround is to use a personal Microsoft Account (MSA). That's understandably not a good idea - it's customer work.
THE QUESTION: Is ADO's NuGet feature only supported by MSA and not AAD accounts when the invited AAD account isn't part of the owner organization? Is this a hard limit?
Thanks!
Authentication with Azure Artifacts can be a bit of a pain... but it works (even with guest AAD accounts). I am using it like this every day. If you can download the file from the feed via the UI, you will also be able to download it via VisualStudio or other tools.
VisualStudio should have no issue at all when talking to the feed, at least if it is a somewhat current version. For VSCode and others you should try the Azure Artifacts Credential Provider and run something along these lines: dotnet restore --interactive
Ok so here is what I've got:
Setup local fabric using docker compose.
Deployed business network with basic acl, created and enrolled participants, as well as assets using admin id and secret.
composer-rest-server using participants id and secret.
Can still see asset (despite DENY acl) in explorer.
I've posted the .bna and verification steps in github.
https://github.com/wajid-poernomo/sample-business-network
Be great to get some input here as there seem to be lot's of contributors who treat acl as a given. Many thanks in advance.
In summary, the problem was due to not having an attribute set on membership services as described here.
"composer network ping" won't show the participant after "composer identity issue"
I have an organization's private GitHub repository that I am trying to connect a Heroku app to, using the Heroku Dashboard from a browser. In the settings of my GitHub account (that is linked to Heroku), under OAuth Applications, I can see Heroku Dashboard, and under Permissions, it says Full control of private repositories.
However, when I navigate to the Heroku app page and select this GitHub repo from the select-list and click Connect, I get the message:
Item could not be modified:
Admin access to repository required
On GitHub, my account has Write access for the repo. Moreover, as mentioned above, Heroku Dashboard has Full control of private repositories. Can anybody help me figure out what access needs to be granted where? I would really appreciate that.
Never mind. That private GitHub repo had been created by someone else who had since left the company. I had Write access but that is not enough. When I created a new GitHub repo and an app on Heroku myself, I could connect them without any issues.
We had the same problem when someone without admin access to the github repo requested the github access in Heroku. He had to revoke his access in github before we could log back into Heroku with an account that had admin access in github and properly connect the accounts.
I'm trying to get a CI setup going and have got Mavericks server downloaded and linked with Xcode all on one machine.
Here's the set up:
Two git repos, hosted on OS X server, named CI and CISubmodule.
CISubmodule added as a submodule to CI
Every time I add bot I get a Host key verification failed error on integration. It's clear from the logs that the server is unable to clone CISubmodule due to an authentication error (I've tried SSH, HTTP, HTTPS) but I don't know why it's failing authentication.
I've set up the server so that logged in users can read and write.
I've tried everything mentioned here.
I'm guessing it's because the server is running as teamsserver and the repo is probably under my username, but I can't figure out how to give it permission to clone. Could it be that the SSH key requires a password? If so, how do I set it up so that it doesn't need a password any more?
Any guidance would be greatly appreciated.
Thanks,
Simon
I had the same case and I am not sure what happend exactly, I think the reason was I had more remote repository accesses and ssh keys pointing git-server side pointing to the same repository.
Deleting the remote repository accesses and cleaning up authorized_keys file helped.
I can confirm the CI server works with submodules, but make sure the .gitmodules file and xccheckout file point to the same repos
you may need to use passphrase-LESS keys for os x server to properly connect to 3rd party hosted git repos. it cannot connect with there is a passphrase needed.
ssh-keygen -p
it worked for us
One thing that helped me was to change my submodule URLs to use HTTPS instead of SSH.
When doing this, make sure that Xcode is actually using the new URLs. Even though I made the changes and pushed them, Xcode was caching the SSH URLs and using them. Remove all your SSH URLS from your server, then also remove them from your client under Preferences->Accounts. Then restart the server and restart Xcode, confirming that the new HTTPS URLs are being used when you create your bot.