BradleyA / pi-display

Displays are Pimoroni Blinkt, Scroll-pHAT, and Scroll-pHAT-HD connected to Raspberry Pi 3 using Triple GPIO Multiplexing Expansion Board
MIT License
3 stars 0 forks source link

Incident Report - setup-pi-display.sh - update README.md and script to reduce copy errors #76

Open BradleyA opened 4 years ago

BradleyA commented 4 years ago

Tell us about your incident: A clear and concise description, 'what is your incident?'

-> update README.md and script to reduce copy errors

To reproduce your incident: Steps to reproduce your incident:

  1. Enter -> sudo /usr/local/bin/setup-pi-display.sh us-tx-cluster-1 /usr/local/data uadmin uadmin

Actual results: If applicable, add screenshots to help explain your incident.

-> sudo /usr/local/bin/setup-pi-display.sh us-tx-cluster-1 /usr/local/data uadmin uadmin

[sudo] password for uadmin: 
2020-09-17T23:32:24.170285-05:00 (CDT) eight-rpi3b.cptx86.com /usr/local/bin/setup-pi-display.sh[16621] 3.269.428 105       root 0:0 [INFO]  Started...
cp: cannot stat 'pi-display': No such file or directory
cp: cannot stat 'blinkt/display-led.py': No such file or directory
cp: cannot stat 'blinkt/display-led-test.py': No such file or directory
cp: cannot stat 'create-message/CPU_usage.sh': No such file or directory
cp: cannot stat 'create-message/create-display-message.sh': No such file or directory
cp: cannot stat 'create-message/create-host-info.sh': No such file or directory
cp: cannot stat 'scrollphat/display-message.py': No such file or directory
cp: cannot stat 'scrollphat/display-scrollphat-test.py': No such file or directory
cp: cannot stat 'scrollphathd/display-message-hd.py': No such file or directory
cp: cannot stat 'scrollphathd/display-scrollphathd-test.py': No such file or directory
chmod: cannot access '/usr/local/data/us-tx-cluster-1/logrotate/pi-display': No such file or directory

/usr/local/data/us-tx-cluster-1/SYSTEMS file not found ...
Creating /usr/local/data/us-tx-cluster-1/SYSTEMS file adding local host.

Edit /usr/local/data/us-tx-cluster-1/SYSTEMS to add additional hosts.

Updating /var/spool/cron/crontabs/uadmin

Edit /var/spool/cron/crontabs/uadmin using crontab -e
Uncomment the section that is needed for your Raspberry Pi

2020-09-17T23:32:24.503225-05:00 (CDT) eight-rpi3b.cptx86.com /usr/local/bin/setup-pi-display.sh[16621] 3.269.428 279 root 0:0 [INFO]  Operation finished.

Expected results: A clear and concise description of what results you expected.

-> 2020-09-17T23:32:24.503225-05:00 (CDT) eight-rpi3b.cptx86.com /usr/local/bin/setup-pi-display.sh[16621] 3.269.428 279 root 0:0 [INFO]  Operation finished.

Version: