Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with ubuntu installation #140

Open
nobless opened this issue Nov 1, 2020 · 0 comments
Open

problems with ubuntu installation #140

nobless opened this issue Nov 1, 2020 · 0 comments

Comments

@nobless
Copy link

nobless commented Nov 1, 2020

  1. emonhub not launching in ubuntu because of these:
    Requires=var-log.mount
    After=var-log.mount network.target
    file: /etc/systemd/system/emonhub.service

  2. /opt/openenergymonitor/EmonScripts/install/config.ini file lacks emoncms_modules[config]=master
    so if install_emonhub=true it still does not install in ubuntu.

  3. /opt/openenergymonitor/emonhub/install.sh i don't think that bluetooth modules is needed for ubuntu installation:
    bluetooth libbluetooth-dev
    now:

sudo apt-get install -y python3-serial python3-configobj python3-pip python3-pymodbus bluetooth libbluetooth-dev
sudo pip3 install paho-mqtt requests pybluez

if [ "$emonSD_pi_env" = "1" ]; then
...

improvement:

sudo apt-get install -y python3-serial python3-configobj python3-pip python3-pymodbus
sudo pip3 install paho-mqtt requests

if [ "$emonSD_pi_env" = "1" ]; then
sudo apt-get install -y  bluetooth libbluetooth-dev
sudo pip3 install pybluez
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant