[solved] git pull not possible

Raspberry Pi related support

[solved] git pull not possible

Postby sykodad » 10 Jun 2016, 19:33

I just flashed a sd card with the latest RPi2-image. Unfortunately, I cannot update the system with "git pull":

[root@runeaudio http]# git pull
Updating 71f5236..e6f6474
error: The following untracked working tree files would be overwritten by merge:
command/mpd-watchdog
Please move or remove them before you can merge.
Aborting

Regards,

Jan
Last edited by sykodad on 11 Jun 2016, 11:15, edited 1 time in total.
sykodad
 
Posts: 20
Joined: 17 Oct 2014, 09:10

Re: git pull not possible

Postby hondagx35 » 10 Jun 2016, 20:39

Hi Jan,

please try:
Code: Select all
cd /var/www
rm command/mpd-watchdog
git pull


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: git pull not possible

Postby sykodad » 11 Jun 2016, 11:14

Hello Frank,

great, that did the trick. Thank you.


Regards,

Jan
sykodad
 
Posts: 20
Joined: 17 Oct 2014, 09:10

Re: git pull not possible

Postby waves » 28 Aug 2016, 16:54

hondagx35 wrote:please try:
Code: Select all
cd /var/www
rm command/mpd-watchdog
git pull



Hi Frank. What does the "rm command/mpd-watchdog" disable? Is that something that is useful to enable after the git pull has finished and if so how do we reenable it?
waves
 
Posts: 125
Joined: 31 Dec 2014, 10:33

Re: [solved] git pull not possible

Postby hondagx35 » 28 Aug 2016, 21:19

Hi waves,

What does the "rm command/mpd-watchdog" disable?

Nothing!
Git is a very nice tool, but sometimes a bit like a diva.
I have forgotten to sync the image with git before releasing it.
Git wants to add the file but it is already there.
The command "rm" stands for remove or delete.

"mpd-watchdog" monitors mpd and tries to restart playback when it appears to hang.
This can be especially useful when playing internet streams (webradio).
The service is enabled by default, so nothing to do.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: [solved] git pull not possible

Postby BorGreiner » 13 Nov 2016, 16:19

Um... Did I break something? :)

[root@delovna www]# git pull
fatal: unable to access 'https://github.com/RuneAudio/RuneUI.git/': SSL certificate problem: certificate is not yet valid
BorGreiner
 
Posts: 36
Joined: 30 Oct 2014, 06:37

Re: [solved] git pull not possible

Postby AxelFendersson » 16 Nov 2016, 13:16

Could be that the date/time isn't set correctly on your device. Try running
Code: Select all
date
and checking that it's correct.
AxelFendersson
 
Posts: 5
Joined: 19 Jul 2016, 12:39

Re: [solved] git pull not possible

Postby BorGreiner » 17 Nov 2016, 08:37

date --set="17 November 2016 08:36:00"

before doing git pull, solved the issue, many thanks!
BorGreiner
 
Posts: 36
Joined: 30 Oct 2014, 06:37

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 7 guests