qmsk / e2

E2 Client, Tally output
Mozilla Public License 2.0
26 stars 7 forks source link

Raspberry Pi install issue qmsk-e2_0.6.0-dev.5 #39

Open Druuka opened 5 years ago

Druuka commented 5 years ago

I used the prebuilt qmsk-e2_0.6.0-dev.5 version on raspberry pi with default raspian install and had some difficulties.
The /etc/systemd/system/qmsk-e2.service file was not installed with the package. I had to extract the file from the package and copy it separately. The /etc/default qmsk-e2-tally file needed lines removed to load without errors for using the GPIO pins.

I also had issues with the web monitoring. It would not display any web pages except the default one. I didn't spend much time tinkering with it because I just needed the GPIO to work Other than that it is now working great in 8 Tally boxes. Thanks!

SpComb commented 5 years ago

The /etc/systemd/system/qmsk-e2.service file was not installed with the package. I had to extract the file from the package and copy it separately.

The package installs the qmsk-e2-tally.service unit in /lib/systemd/system, but the service unit included in the package should work exactly the same as if the unit file were installed in /etc/systemd/system.

The /etc/systemd/system path is meant for locally managed unit files, so if you need to modify the systemd unit, then copy it to /etc/systemd/system to override the unit file shipped in the package. You can use the systemctl edit --full qmsk-e2-tally.service command to do that.

The /etc/default qmsk-e2-tally file needed lines removed to load without errors for using the GPIO pins.

Can you be more specific as to what errors you saw, and what lines you had to modify?

Perhaps you mean the blank line before the --gpio ... line... yeah, all the options starting with TALLY_OPTIONS=\ must have the \ line continuation escape at the end.

I also had issues with the web monitoring. It would not display any web pages except the default one.

The sounds very much like what I fixed in git master after the 0.6.0-dev.5 release: https://github.com/qmsk/e2/commit/69e69c3879b7fb39d7cc8a2f771f15aab8926a8b

I've tagged the 0.6.0-rc.1 release, the builds should be available soon... please test it out, and let me know if it works correctly (package install with systemd unit in /lib/systemd/system, the web UI navigation links): https://github.com/qmsk/e2/releases/tag/v0.6.0-rc.1