Tag Archives: update

Fixed: pihole -up gives “Could not update local repository”

I received a notification on my pihole web console that it needed an update and the process is usually simple – log into the server and run pihole -up

However, this time I received the error “Could not update local repository. Contact support” – not very helpful.

pihole -up gives a Could not update repository. Contact support error messageReading several articles it seems that any change to the pihole files means the local git repository can get out of sync with the master repository and therefore cannot be updated. I had installed the bandwidth test plugin so I suspect that was the issue. As this plugin didn’t work it was not a huge problem resetting back to a vanilla install.
There were several articles on the pihole site and piecing a few of them together I came up with the following solution.

  cd /var/www/html/admin
  sudo git fetch –tags
  sudo git reset –hard
This gave me the following error:-

fatal: Unable to create ‘/var/www/html/admin/.git/index.lock’: File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by ‘git commit’. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

Removed with the following

  cd .git
  sudo rm index.lock
Final update command and this time it completed successfully.

  pihole -up

This completes the install with 

Update Complete!

Current Pi-hole version is v4.2.2
Current AdminLTE version is v4.2
Current FTL version is v4.2.2

Roku update

I went to use my roku tonight and found it not responsive – the light on the front of the device wasn’t even on so I had to hard power it off and back on again.
After the reboot it was unable to connect to the wireless so I had to run through the wireless setup again. After clicking next all the way through it was able to connect. I then went back to the firmware settings to check for an update and sure enough the new firmware has been released.
For us Netflix users, the long awaited feature of being able to browse and add movies to the queue from the Roku is now available.

So far it looks nicer – the sideways scroll through the queue is a lot smoother and faster and it seems to make much better use of the screen space – the movie picture seems to be bixer and the information on the screen looks cleaner (although I don’t think there’s quite as much information displayed as there used to be – although I could be wrong)

Pressing the down button shows new arrivals – so there is no need to search, you can just pick the ones you want.

I’m not sure, but it looks like there are more tv series out there – at least I’ve stumbled across Monty Python and Blackadder 😉

Even the search function is pretty quick – as you start typing in the letters using a 6*6 grid for the letters and numbers, the available titles auto complete down the right hand side. The search is wild carded, so entering gent will find Gentlemen Prefer Blondes and The League of Gentlemen.

Looks like a great upgrade and this device gets better and better.