Troubleshooting Information

Things to try when stuff isn’t working as expected

Below are a couple of tips based on issues I’ve either run into myself or others have reported. Suggestions for Addison’s are welcome.

NOTE: all the tips below are from the older version that required cloning the code from GitHub. New tips will be added as issues arise.

Setup scrip error

Error: Evaluation Error: Operator ‘[]’ is not applicable to an Undef Value. at /home/pi/PiWeatherRock/setup.pp:3:4 on node pi.home

This most likely means that you are on an older version of Raspbian. You can verify by executing this command:

cat /etc/os-release

If the version number is below 10 you will need to upgrade if you want to utilize the setup script.

Git permission denied

If the git command says error: cannot open .git/FETCH_HEAD: Permission denied run this to fix things and then rerun whatever you were trying to do before seeing the error:

sudo chown -R pi:pi /home/pi/PiWeatherRock

Starting fresh

If you’d like to start fresh I suggest backing up your and then running the following commands:

cd /home/pi
sudo rm -rf /home/pi/PiWeatherRock

After that you can start over using the installation instructions above.