{% extends "layout.html" %} {% set active_page = "dependencies" %} {% set help_page = ["https://kizniche.github.io/Mycodo/Dependencies/", _('Dependencies')] %} {% block title %} - {{_('Dependencies')}}{% endblock %} {% block head %} {% if install_in_progress == 1 %} {% endif %} {% endblock %} {%- block body %}
{{_('Several software dependencies used by Mycodo features may be disabled. This is done to speed up the initial installation process. This page can be used to determine which dependencies are installed and the ability to install currently unmet dependencies.')}}
{% if device != '0' %}The install has been initiated for the following dependencies:
The Dependency Install Log below will refresh every 5 seconds. Wait until all dependencies have been installed to attempt to add the associated device again. You will know the entire install process have completed by "#### Dependency install finished" appearing at the end of the log.
If there's an issue with the install and you need to reset the install state, delete /opt/Mycodo/.dependency to restore dependency install functionality.
{% else %}There were unmet dependencies encountered when adding the following device: {{device}}
Unmet dependencies:
Message about dependencies: {{dependencies_message}}
{% endif %}To install these dependencies, click the Install button below and wait for the install to complete before attempting to add the device again. Note that the frontend and the backend daemon will be restarted following install of the dependencies to allow them to detect the newly-installed modules. If you do not wish the daemon to restart, postpone installing dependencies until your system is at a point where this can occur.
{% endif %} {% else %}All dependencies have been installed for this device.
{% endif %}The following list contains dependencies that are not currently installed and the devices that use them. If you require the use of a feature that has one or more unmet dependencies, you must install them before being able to use the feature. Select a device name to view information about its depenencies and the option to install them.
# | Dependency | Mycodo Feature(s) |
---|---|---|
{{loop.index}} | {%- if each_dep[2] == 'internal'-%} {{each_dep[3]}} {%- else -%} {{each_dep[0]}} {%- endif -%} | {% for each_device in devices %}{{each_device}}{% if not loop.last %}, {% endif %}{% endfor %} |