# Unable to update PlexConnect using git pull

**URL:** <https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237>\
**Category:** Apps & Creations\
**Created:** [August 11, 2013, 2:44pm UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237 "2013-08-11T14:44:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerardmansvelder\_gmail.com](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@gerardmansvelder\_gmail.com](https://forums.plex.tv/u/gerardmansvelder_gmail.com)\
**Post date:** [August 11, 2013, 2:44pm UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/1 "2013-08-11T14:44:53Z")

</div>

Hello,

&nbsp;

Since today I am not able to update PlexConnect using git pull.

&nbsp;

git pull  
Your configuration specifies to merge with the ref 'XML\_templates'  
from the remote, but no such ref was fetched.

&nbsp;

Anyone seeing the same? Do you happen to know what the solution is?

&nbsp;

&nbsp;

Cheers.

---

<div class="post-metadata">

**Author:** ![roidy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/roidy/32/128627_2.png) [@roidy](https://forums.plex.tv/u/roidy)\
**Post date:** [August 11, 2013, 3:08pm UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/2 "2013-08-11T15:08:13Z")

</div>

There is no more "XML\_templates" branch, it's been deleted and we're now using the "master" branch.

I'm no git expert but I think you could just do:- git pull master

Somebody please correct me if I'm wrong :)

---

<div class="post-metadata">

**Author:** ![gerardmansvelder\_gmail.com](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@gerardmansvelder\_gmail.com](https://forums.plex.tv/u/gerardmansvelder_gmail.com)\
**Post date:** [August 11, 2013, 3:17pm UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/3 "2013-08-11T15:17:01Z")

</div>

Thanks,

I've just deleted the PlexConnect Directory and maintained the Settings.cfg file and executed "git clone [https://github.com/iBaa/PlexConnect.git](https://github.com/iBaa/PlexConnect.git)".

All is well now

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [August 11, 2013, 7:03pm UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/4 "2013-08-11T19:03:16Z")

</div>

Next time you might also want to save the ATVSettings.cfg file, depending on the changes you put into your aTV settings page...

---

<div class="post-metadata">

**Author:** ![gerardmansvelder\_gmail.com](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@gerardmansvelder\_gmail.com](https://forums.plex.tv/u/gerardmansvelder_gmail.com)\
**Post date:** [August 12, 2013, 4:26am UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/5 "2013-08-12T04:26:16Z")

</div>

> Next time you might also want to save the ATVSettings.cfg file, depending on the changes you put into your aTV settings page...

Ah yes, thank you for that.

In any case, the Settings.cfg already saved the day, since I am running everything on a secondary ip address. Next time I'll save both.

---

<div class="post-metadata">

**Author:** ![dennis\_de](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dennis\_de](https://forums.plex.tv/u/dennis_de)\
**Post date:** [August 12, 2013, 7:32am UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/6 "2013-08-12T07:32:12Z")

</div>

you can use:  
  
git branch master  
git checkout master  
git branch --set-upstream-to=origin/master master  
git pull  
  
 🙂  
  
when you want delete the old branch can use ‘git branch -d XML\_templates’

---

<div class="post-metadata">

**Author:** ![charlieny100](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@charlieny100](https://forums.plex.tv/u/charlieny100)\
**Post date:** [August 12, 2013, 8:54pm UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/7 "2013-08-12T20:54:14Z")

</div>

I get a syntax error when i enter "git branch --set-upstream-to=origin/master master". Is it typed exactly like this?

---

<div class="post-metadata">

**Author:** ![dennis\_de](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dennis\_de](https://forums.plex.tv/u/dennis_de)\
**Post date:** [August 14, 2013, 6:33am UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/8 "2013-08-14T06:33:31Z")

</div>

> I get a syntax error when i enter "git branch --set-upstream-to=origin/master master". Is it typed exactly like this?

Yes the line is correct, check your encoding for copy or use your keyboard..

---

<div class="post-metadata">

**Author:** ![pipieye](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@pipieye](https://forums.plex.tv/u/pipieye)\
**Post date:** [August 16, 2013, 1:34am UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/9 "2013-08-16T01:34:23Z")

</div>

> I get a syntax error when i enter "git branch --set-upstream-to=origin/master master". Is it typed exactly like this?

Depending on the OS and version of python/git you are using but the following worked for me:

git branch --set-upstream master origin/master

git pull

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 11:52pm UTC](https://forums.plex.tv/t/unable-to-update-plexconnect-using-git-pull/40237/10 "2019-12-20T23:52:34Z")

</div>

Closed on December 20, 2019, 11:52pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
