Page 1 of 1
Problem with GIT integration
Posted: Thu Jul 23, 2020 10:53 am
by scrumthing
I played around with the git integration on my local machine and encountered an error for which I could find nothing on the forum or the internet. I am using 2.0.9.1.
Code: Select all
{'error': {'code': '289', 'message': 'Failed to delete temporary TM1 Git directory "d:\\zz_shared\\_development\\tm1\\mysamples\\data\\}git$".'}}
That error message I get on every call after the first GitInit. Have tried using a different account for the service with admin priviliges.
I can create tm1 objects and they will be saved to the disk. So there can't be a problem with user rights.
Anyone an idea where to look next?
Re: Problem with GIT integration
Posted: Thu Jul 23, 2020 11:21 am
by luizg2019
Did you try to manually delete the }git folder and the }git.ctx file from your data folder and then do another GitInit?
Re: Problem with GIT integration
Posted: Thu Jul 23, 2020 12:15 pm
by scrumthing
Yes, tried that. Forgot to mention it. Afterwards I can do a GitInit again with a proper result as far as I can see it.
Code: Select all
{'@odata.context': '$metadata#ibm.tm1.api.v1.Git', 'URL': 'xxx.git', 'Deployment': 'dev', 'DeployedCommit': {'ID': None, 'Summary': None, 'Author': None}, 'Remote': {'Connected': True, 'Branches': ['master'], 'Tags': []}}
Re: Problem with GIT integration
Posted: Thu Jul 23, 2020 1:14 pm
by luizg2019
Well, that's really strange then. You get that error when you try to do a gitpush?
When I first tried git on PAL 2.0.7 I got a "tm1 failed to connect to git" error but it was because I didn't restart the tm1 server after installing the github certificates. Maybe could be a problem with the certificates?
Do you have two-factor authorization on your git repository?
Re: Problem with GIT integration
Posted: Thu Jul 23, 2020 1:30 pm
by scrumthing
I will double check that but I can send the GITINIT without an error. Seems more like a file system issue to me but have no idea why...