Closed TrystanLea closed 8 months ago
Network install needs to be ran last as otherwise errors such as:
Cloning into 'setup'...
fatal: unable to access 'https://github.com/emoncms/setup.git/': Could not resolve host: github.com
- Installing module: config
Cloning into 'config'...
fatal: unable to access 'https://github.com/emoncms/config.git/': Could not resolve host: github.com
Update Emoncms database
network script install did not work:
/opt/emoncms/modules/network/install.sh: line 21: /etc/systemd/network/04-eth0.network: Permission denied
/opt/emoncms/modules/network/install.sh: line 35: /etc/systemd/network/08-wlan0.network: Permission denied
/opt/emoncms/modules/network/install.sh: line 48: /etc/systemd/network/12-ap0.network: Permission denied
/opt/emoncms/modules/network/install.sh: line 62: /etc/wpa_supplicant/wpa_supplicant-ap0.conf: Permission denied
File /etc/wpa_supplicant/wpa_supplicant-wlan0.conf already exists
/opt/emoncms/modules/network/install.sh: line 100: /lib/systemd/system/wpa_supplicant@ap0.service: Permission denied
/opt/emoncms/modules/network/install.sh: line 125: /etc/sudoers.d/wifi-sudoers: Permission denied
Other network install related errors to review:
Purging configuration files for ifupdown (0.8.41) ...
dpkg: error: required read/write access to the dpkg database directory /var/lib/dpkg
E: Sub-process dpkg --set-selections returned an error code (2)
E: Executing dpkg failed. Are you root?
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Earlier errors during php extentions install:
Processing triggers for php8.1-cli (8.1.27-1+0~20231221.58+debian12~1.gbp3895b2) ...
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Trying to access array offset on value of type null in Role.php on line 250
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 250
Warning: Trying to access array offset on value of type null in Role.php on line 251
PHP Warning: Trying to access array offset on value of type null in /usr/share/php/PEAR/Installer/Role.php on line 251
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
PHP Warning: Undefined array key "honorsbaseinstall" in /usr/share/php/PEAR/Installer/Role.php on line 173
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "installable" in Role.php on line 139
PHP Warning: Undefined array key "installable" in /usr/share/php/PEAR/Installer/Role.php on line 139
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "phpfile" in Role.php on line 204
PHP Warning: Undefined array key "phpfile" in /usr/share/php/PEAR/Installer/Role.php on line 204
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: Undefined array key "config_vars" in Role.php on line 46
PHP Warning: Undefined array key "config_vars" in /usr/share/php/PEAR/Installer/Role.php on line 46
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in PEAR/Command.php on line 249
PHP Warning: foreach() argument must be of type array|object, null given in /usr/share/php/PEAR/Command.php on line 249
XML Extension not found
Notes on build being prepared with new network module and support for systemd-networkd based access point and client wifi.
Had to start/stop/enable/disable ap0 to get this running - not sure why, may be related to 1.