n1kdo / n1mm_view

Real-time statistics viewer for N1MM+ on Field Day
BSD 2-Clause "Simplified" License
32 stars 13 forks source link

rpi_install.sh fails to start ramdisk #51

Closed craigpl closed 1 year ago

craigpl commented 1 year ago

Running rpi_install.sh isn't starting the ramdisk successfully. It gives the message: Failed to start ramdisk_sync.service: Unit ramdisk_sync.service not found.

See attached file of the output from running this script.

output-rerunning-rpi_install.txt

craigpl commented 1 year ago

Researching the issue, there are two things that were going wrong.

  1. I was running the script under a user other than the default 'pi' user. To fix this, I had to update the ramdisk services file and change all instances of 'pi' to my user.
  2. The script tried to start "ram_disk" but it was called "ram-disk". We just need to fix the typo.

I'll try to create a PR for these in the next couple of days. For 1, we could just add a note to the README file. For 2, I will create a PR for the typo.

/craig kc0dmf

craigpl commented 1 year ago

I decided to fix this issue with a PR for issue #48. This issue will be resolved with that PR. /craig kc0dmf

craigpl commented 1 year ago

This issue has been resolved with #48.