(SOLVED) Problem updating Emoncms on Pi with HDD

Hi

I am a software novice so please be patient!

I have just set up Emoncms on a Pi with HDD & it seems to be working fine & logs data from EmonTX but when I SSH into the Pi & tried to update Emoncms by running

pi@raspberrypi ~ $ git pull /var/www/emoncms

I get the following message:

fatal: Not a git repository (or any of the parent directories): .git

any ideas?

 

Richard

Paul Reed's picture

Re: (SOLVED) Problem updating Emoncms on Pi with HDD

Richard, try calling git from within the installed folder;

$ cd /var/www/emoncms

$ git pull origin master

 

Paul

hatfieldr's picture

Re: (SOLVED) Problem updating Emoncms on Pi with HDD

Thank you Paul that solved the updating problem!

I'm afraid I know very little about Linux!

Is it possible to view the directory structure of the HDD / alter files on a PC running windows?

I can only see the boot partition the rest of the disk is hidden?

 

Regards

 

Richard

ukmoose's picture

Re: (SOLVED) Problem updating Emoncms on Pi with HDD

Take a look at this thread.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=45638

 

 

 

 

Paul Reed's picture

Re: (SOLVED) Problem updating Emoncms on Pi with HDD

Try burning a Debian 'Live image' to a DVD or USB drive, and boot your PC from that.
You will then be able to see the files etc via the Debian operating system, although the structure may not appear as clear as you would have thought!

Richard, persevere with the SSH commands, you will build up your knowledge of the linux structure in time.

Until February 2013, I thought Debian was some sort of sexual perversion, but just 10 months later, I've learnt.... erm, only a little bit more! - it still appears to me to be a dark art established to confuse Windows users...

Paul

Bill Thomson's picture

Re: (SOLVED) Problem updating Emoncms on Pi with HDD

Richard,

Windows and Linux use two very different file systems. Unfortunately, they're not compatible with each other.

There are windows apps that will allow you to look at your Linux file system, and some of those apps will let you write to it as well, but making any changes to a Linux file system from Windows, is definitely not a good idea.

If you just want to look at the Linux files, i.e. not make any changes, that's relatively safe. The program Diskinternals Linux Reader should be safe to use, as it's a read-only, i.e. doesn't do any writing to your Linux file system.

Following along with Paul's idea of a live CD, one that's a fairly small download is Puppy Linux. The .iso file (the file you burn to make a live CD) is ~165MB.

Regards,

Bill

GJPickard's picture

Re: (SOLVED) Problem updating Emoncms on Pi with HDD

Filezilla works for me with a couple of RPis which have SD cards and a USB stick plugged in on each - it should be OK with a HDD as well.  It is very handy for doing a quick copy across of the data directories every now and again for backing up.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.