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

Anthias Installation Freeze on Pi3B while choosing "Anthias to manage the network" when the raspberry Pi only use WiFi. #1845

Open
salmanfarisvp opened this issue Dec 8, 2023 · 1 comment · May be fixed by #1905
Labels

Comments

@salmanfarisvp
Copy link
Contributor

Overview of the Issue

When installing Anthias in Raspberry Pi 3B, It's stuck at "TASK [network: Disable dhcpcd]" when choosing "Anthias to manage your network?" as Yes.

Reproduction Steps

Steps to reproduce this issue, eg:

  • Flash Raspberry Pi bullseye 64-bit Lite on Raspberry Pi 3B
  • Enabled WiFi and SSH using Raspberry Pi Imager
  • Boot Raspberry Pi
  • Connect only over WiFi.
  • Run Anthias Installation Script "bash <(curl -sL https://install-anthias.srly.io)"

Environment

  • Raspberry Pi Hardware Version: Raspberry Pi 3B
  • Raspberry Pi Network Setup: built-in WiFi
  • Anthias Version: v0.18.6

Installation log


       d8888            888     888
      d88888            888     888       888
     d88P888            888     888
    d88P 888  88888b.   888888  88888b.   888   8888b.   .d8888b
   d88P  888  888 '88b  888     888 '88b  888      '88b  88K
  d88P   888  888  888  888     888  888  888  .d888888  'Y8888b.
 d8888888888  888  888  Y88b.   888  888  888  888  888       X88
d88P     888  888  888   Y888   888  888  888  'Y888888   88888P'
==================================================================


Anthias requires a dedicated Raspberry Pi / SD card.
You will not be able to use the regular desktop environment once installed.

Do you still want to continue? (y/N)
Do you want Anthias to manage your network? This is recommended for most users because this adds features to manage your network. (Y/n)

Would you like to perform a full system upgrade as well? (y/N)
+ REPOSITORY=https://github.com/screenly/anthias.git
+ '[' '!' -d /home/pi/screenly ']'
+ mkdir /home/pi/screenly
+ sudo mkdir -p /etc/ansible
+ echo -e '[local]\nlocalhost ansible_connection=local'
+ sudo tee /etc/ansible/hosts
+ '[' '!' -f /etc/locale.gen ']'
+ sudo sed -i s/apt.screenlyapp.com/archive.raspbian.org/g /etc/apt/sources.list
+ sudo apt update -y
Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Fetched 352 kB in 3s (102 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
+ sudo apt-get install -y --no-install-recommends git libffi-dev libssl-dev python3 python3-dev python3-pip whois
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.9.2-3).
python3 set to manually installed.
The following additional packages will be installed:
  git-man liberror-perl libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev python-pip-whl python3-distutils
  python3-lib2to3 python3-setuptools python3-wheel python3.9-dev
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn libssl-doc python-setuptools-doc
Recommended packages:
  javascript-common
The following NEW packages will be installed:
  git git-man liberror-perl libexpat1-dev libffi-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev libssl-dev
  python-pip-whl python3-dev python3-distutils python3-lib2to3 python3-pip python3-setuptools python3-wheel python3.9-dev whois
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.5 MB of archives.
After this operation, 62.7 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf libssl-dev armhf 1.1.1w-0+deb11u1+rpt1 [1601 kB]
Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf python-pip-whl all 20.3.4-4+rpt1+deb11u1 [2002 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf git armhf 1:2.30.2-1+deb11u2 [4704 kB]
Get:2 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf whois armhf 5.5.10 [71.4 kB]
Get:3 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf liberror-perl all 0.17029-1 [31.0 kB]
Get:8 http://mirror.infernocomms.net/raspbian/raspbian bullseye/main armhf libffi-dev armhf 3.3-6 [58.2 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf git-man all 1:2.30.2-1+deb11u2 [1828 kB]
Get:11 http://archive.raspberrypi.org/debian bullseye/main armhf python3-pip all 20.3.4-4+rpt1+deb11u1 [337 kB]
Get:12 http://mirror.ossplanet.net/raspbian/raspbian bullseye/main armhf libjs-sphinxdoc all 3.4.3-2 [127 kB]
Get:14 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libpython3-dev armhf 3.9.2-3 [21.7 kB]
Get:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-underscore all 1.9.1~dfsg-3 [100 kB]
Get:13 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpython3.9-dev armhf 3.9.2-1+rpi1 [3055 kB]
Get:17 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf python3-distutils all 3.9.2-1 [143 kB]
Get:15 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3.9-dev armhf 3.9.2-1+rpi1 [501 kB]
Get:16 http://mirror.ossplanet.net/raspbian/raspbian bullseye/main armhf python3-lib2to3 all 3.9.2-1 [77.8 kB]
Get:20 http://mirror.ossplanet.net/raspbian/raspbian bullseye/main armhf python3-wheel all 0.34.2-1 [24.0 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libexpat1-dev armhf 2.2.10-2+deb11u5 [123 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-jquery all 3.5.1+dfsg+~3.5.5-7 [315 kB]
Get:18 http://mirror.pit.teraswitch.com/raspbian/raspbian bullseye/main armhf python3-dev armhf 3.9.2-3 [24.8 kB]
Get:19 http://mirror.pit.teraswitch.com/raspbian/raspbian bullseye/main armhf python3-setuptools all 52.0.0-4 [366 kB]
Fetched 15.5 MB in 18s (852 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LC_TERMINAL = "iTerm2",
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package whois.
(Reading database ... 43920 files and directories currently installed.)
Preparing to unpack .../00-whois_5.5.10_armhf.deb ...
Unpacking whois (5.5.10) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../01-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../02-git-man_1%3a2.30.2-1+deb11u2_all.deb ...
Unpacking git-man (1:2.30.2-1+deb11u2) ...
Selecting previously unselected package git.
Preparing to unpack .../03-git_1%3a2.30.2-1+deb11u2_armhf.deb ...
Unpacking git (1:2.30.2-1+deb11u2) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../04-libexpat1-dev_2.2.10-2+deb11u5_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.2.10-2+deb11u5) ...
Selecting previously unselected package libffi-dev:armhf.
Preparing to unpack .../05-libffi-dev_3.3-6_armhf.deb ...
Unpacking libffi-dev:armhf (3.3-6) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../06-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ...
Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../07-libjs-underscore_1.9.1~dfsg-3_all.deb ...
Unpacking libjs-underscore (1.9.1~dfsg-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../08-libjs-sphinxdoc_3.4.3-2_all.deb ...
Unpacking libjs-sphinxdoc (3.4.3-2) ...
Selecting previously unselected package libpython3.9-dev:armhf.
Preparing to unpack .../09-libpython3.9-dev_3.9.2-1+rpi1_armhf.deb ...
Unpacking libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../10-libpython3-dev_3.9.2-3_armhf.deb ...
Unpacking libpython3-dev:armhf (3.9.2-3) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../11-libssl-dev_1.1.1w-0+deb11u1+rpt1_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.1w-0+deb11u1+rpt1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../12-python-pip-whl_20.3.4-4+rpt1+deb11u1_all.deb ...
Unpacking python-pip-whl (20.3.4-4+rpt1+deb11u1) ...
Selecting previously unselected package python3.9-dev.
Preparing to unpack .../13-python3.9-dev_3.9.2-1+rpi1_armhf.deb ...
Unpacking python3.9-dev (3.9.2-1+rpi1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../14-python3-lib2to3_3.9.2-1_all.deb ...
Unpacking python3-lib2to3 (3.9.2-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../15-python3-distutils_3.9.2-1_all.deb ...
Unpacking python3-distutils (3.9.2-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../16-python3-dev_3.9.2-3_armhf.deb ...
Unpacking python3-dev (3.9.2-3) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../17-python3-setuptools_52.0.0-4_all.deb ...
Unpacking python3-setuptools (52.0.0-4) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../18-python3-wheel_0.34.2-1_all.deb ...
Unpacking python3-wheel (0.34.2-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../19-python3-pip_20.3.4-4+rpt1+deb11u1_all.deb ...
Unpacking python3-pip (20.3.4-4+rpt1+deb11u1) ...
Setting up whois (5.5.10) ...
Setting up libffi-dev:armhf (3.3-6) ...
Setting up python3-wheel (0.34.2-1) ...
Setting up liberror-perl (0.17029-1) ...
Setting up libexpat1-dev:armhf (2.2.10-2+deb11u5) ...
Setting up libssl-dev:armhf (1.1.1w-0+deb11u1+rpt1) ...
Setting up git-man (1:2.30.2-1+deb11u2) ...
Setting up python-pip-whl (20.3.4-4+rpt1+deb11u1) ...
Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...
Setting up python3-lib2to3 (3.9.2-1) ...
Setting up libjs-underscore (1.9.1~dfsg-3) ...
Setting up python3-distutils (3.9.2-1) ...
Setting up python3-setuptools (52.0.0-4) ...
Setting up libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
Setting up git (1:2.30.2-1+deb11u2) ...
Setting up python3-pip (20.3.4-4+rpt1+deb11u1) ...
Setting up libjs-sphinxdoc (3.4.3-2) ...
Setting up python3.9-dev (3.9.2-1+rpi1) ...
Setting up libpython3-dev:armhf (3.9.2-3) ...
Setting up python3-dev (3.9.2-3) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...
+ '[' y == y ']'
+ export MANAGE_NETWORK=true
+ MANAGE_NETWORK=true
+ sudo apt-get install -y network-manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
network-manager is already the newest version (1.30.6-1+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ '[' master = master ']'
++ curl -s https://raw.githubusercontent.com/screenly/anthias/master/requirements/requirements.host.txt
++ grep ansible
+ ANSIBLE_VERSION=ansible-core==2.12
+ sudo pip install cryptography==38.0.2
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography==38.0.2
  Downloading https://www.piwheels.org/simple/cryptography/cryptography-38.0.2-cp39-cp39-linux_armv7l.whl (2.5 MB)
     |████████████████████████████████| 2.5 MB 2.1 MB/s
Collecting cffi>=1.12
  Downloading https://www.piwheels.org/simple/cffi/cffi-1.16.0-cp39-cp39-linux_armv7l.whl (367 kB)
     |████████████████████████████████| 367 kB 87 kB/s
Collecting pycparser
  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
     |████████████████████████████████| 119 kB 183 kB/s
WARNING: The candidate selected for download or install is a yanked version: 'cryptography' candidate (version 38.0.2 at https://www.piwheels.org/simple/cryptography/cryptography-38.0.2-cp39-cp39-linux_armv7l.whl#sha256=07f8ddebc9d0cbd159c1b6bada223389b1dcab9b10fa9f01178e7309224b6f5f (from https://www.piwheels.org/simple/cryptography/) (requires-python:>=3.6))
Reason for being yanked: <none given>
Installing collected packages: pycparser, cffi, cryptography
Successfully installed cffi-1.16.0 cryptography-38.0.2 pycparser-2.21
+ sudo pip install ansible-core==2.12
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting ansible-core==2.12
  Downloading https://www.piwheels.org/simple/ansible-core/ansible_core-2.12.0-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 282 kB/s
Collecting jinja2
  Downloading https://www.piwheels.org/simple/jinja2/Jinja2-3.1.2-py3-none-any.whl (133 kB)
     |████████████████████████████████| 133 kB 198 kB/s
Requirement already satisfied: cryptography in /usr/local/lib/python3.9/dist-packages (from ansible-core==2.12) (38.0.2)
Collecting packaging
  Downloading https://www.piwheels.org/simple/packaging/packaging-23.2-py3-none-any.whl (53 kB)
     |████████████████████████████████| 53 kB 11 kB/s
Collecting resolvelib<0.6.0,>=0.5.3
  Downloading https://www.piwheels.org/simple/resolvelib/resolvelib-0.5.4-py2.py3-none-any.whl (12 kB)
Collecting PyYAML
  Downloading https://www.piwheels.org/simple/pyyaml/PyYAML-6.0.1-cp39-cp39-linux_armv7l.whl (45 kB)
     |████████████████████████████████| 45 kB 88 kB/s
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/dist-packages (from cryptography->ansible-core==2.12) (1.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.12->cryptography->ansible-core==2.12) (2.21)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/markupsafe/
Collecting MarkupSafe>=2.0
  Downloading https://www.piwheels.org/simple/markupsafe/MarkupSafe-2.1.3-cp39-cp39-linux_armv7l.whl (23 kB)
Installing collected packages: MarkupSafe, resolvelib, PyYAML, packaging, jinja2, ansible-core
Successfully installed MarkupSafe-2.1.3 PyYAML-6.0.1 ansible-core-2.12.0 jinja2-3.1.2 packaging-23.2 resolvelib-0.5.4
+ sudo -u pi ansible localhost -m git -a 'repo=https://github.com/screenly/anthias.git dest=/home/pi/screenly version=master force=no'
[WARNING]: Platform linux on host localhost is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.12/reference_appendices/interpreter_discovery.html for more information.
localhost | CHANGED => {
    "after": "4170486c9fa92656c5177b813d6ed42ca440e0bd",
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3.9"
    },
    "before": null,
    "changed": true
}
+ cd /home/pi/screenly/ansible
+ sudo -E -u pi ansible-playbook site.yml

PLAY [Install Screenly] ******************************************************************************************************************************

TASK [Gathering Facts] *******************************************************************************************************************************
[WARNING]: Platform linux on host localhost is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.12/reference_appendices/interpreter_discovery.html for more information.
ok: [localhost]

TASK [system : Check NOOBS] **************************************************************************************************************************
ok: [localhost]

TASK [system : Make sure we have proper framebuffer depth] *******************************************************************************************
changed: [localhost]

TASK [system : Fix framebuffer bug] ******************************************************************************************************************
changed: [localhost]

TASK [system : Add gpu_mem_256 in config.txt if it doesn't exist] ************************************************************************************
changed: [localhost]

TASK [system : Add gpu_mem_512 in config.txt if it doesn't exist] ************************************************************************************
changed: [localhost]

TASK [system : Add gpu_mem_1024 in config.txt if it doesn't exist] ***********************************************************************************
changed: [localhost]

TASK [system : Comment out the original dtoverlay config.] *******************************************************************************************
changed: [localhost]

TASK [system : Add FKMS config for Pi 4.] ************************************************************************************************************
changed: [localhost]

TASK [system : Backup kernel boot args] **************************************************************************************************************
changed: [localhost]

TASK [system : Notice for cmdline.txt.orig file] *****************************************************************************************************
ok: [localhost] => {
    "msg": "Use cmdline.txt.orig for boot parameters (don't remove this file)"
}

TASK [system : Copy cmdline.txt.orig to cmdline.txt] *************************************************************************************************
ok: [localhost]

TASK [system : For splash screen using Plymouth] *****************************************************************************************************
changed: [localhost]

TASK [system : Remove blinking cursor] ***************************************************************************************************************
changed: [localhost]

TASK [system : Plymouth ignore serial consoles] ******************************************************************************************************
changed: [localhost]

TASK [system : Use Systemd as init and quiet boot process] *******************************************************************************************
changed: [localhost]

TASK [system : Set ethN/wlanN names for interfaces] **************************************************************************************************
changed: [localhost]

TASK [system : Set cgroup_enable required by containerd for OOM] *************************************************************************************
changed: [localhost]

TASK [system : Set cgroup_memory required by containerd for OOM] *************************************************************************************
changed: [localhost]

TASK [system : Check if cdefs.h exists] **************************************************************************************************************
ok: [localhost]

TASK [system : Set fact for cdefs] *******************************************************************************************************************
ok: [localhost]

TASK [system : Remove libc6-dev] *********************************************************************************************************************
skipping: [localhost]

TASK [system : Install libc6-dev] ********************************************************************************************************************
skipping: [localhost]

TASK [system : Install Screenly dependencies] ********************************************************************************************************
changed: [localhost]

TASK [system : Remove deprecated apt dependencies] ***************************************************************************************************
changed: [localhost]

TASK [system : Make sure distro package of Docker is absent] *****************************************************************************************
ok: [localhost]

TASK [system : Add docker apt key] *******************************************************************************************************************
changed: [localhost]

TASK [system : Get raspbian name] ********************************************************************************************************************
ok: [localhost]

TASK [system : Add Docker repo] **********************************************************************************************************************
changed: [localhost]

TASK [system : Install Docker] ***********************************************************************************************************************

changed: [localhost]

TASK [system : Add user to docker group] *************************************************************************************************************
changed: [localhost]

TASK [system : Perform system upgrade] ***************************************************************************************************************
ok: [localhost]

TASK [system : Clean up unused packages] *************************************************************************************************************
changed: [localhost]

TASK [system : Remove deprecated pip dependencies] ***************************************************************************************************
ok: [localhost]

TASK [system : Copy in rc.local] *********************************************************************************************************************
changed: [localhost]

TASK [system : Copy in 01_nodoc] *********************************************************************************************************************
changed: [localhost]

TASK [system : Disable swap] *************************************************************************************************************************
changed: [localhost]

TASK [system : Remove swapfile from disk] ************************************************************************************************************
changed: [localhost]

TASK [screenly : Ensure folders exist] ***************************************************************************************************************
changed: [localhost] => (item=.screenly)
changed: [localhost] => (item=.config)
changed: [localhost] => (item=screenly_assets)

TASK [screenly : Copy Screenly default assets file] **************************************************************************************************
changed: [localhost]

TASK [screenly : Remove deprecated parameter "listen"] ***********************************************************************************************
ok: [localhost]

TASK [screenly : Install pip dependencies] ***********************************************************************************************************
changed: [localhost]

TASK [screenly : Remove screenly_utils.sh] ***********************************************************************************************************
ok: [localhost]

TASK [screenly : Cron job to cleanup screenly_assets] ************************************************************************************************
ok: [localhost]

TASK [screenly : Download upgrade_screenly.sh from github repository] ********************************************************************************
changed: [localhost]

TASK [screenly : Copy screenly_overrides] ************************************************************************************************************
changed: [localhost]

TASK [screenly : Copy screenly_usb_assets.sh] ********************************************************************************************************
changed: [localhost]

TASK [screenly : Installs autoplay udev rule] ********************************************************************************************************
changed: [localhost]

TASK [screenly : Copy systemd-udevd service] *********************************************************************************************************
changed: [localhost]

TASK [screenly : Configure systemd-udevd service] ****************************************************************************************************
changed: [localhost]

TASK [screenly : Copy screenly systemd units] ********************************************************************************************************
changed: [localhost] => (item=udev-restart.service)
changed: [localhost] => (item=screenly-host-agent.service)

TASK [screenly : Remove plymouth-quit-wait.service] **************************************************************************************************
ok: [localhost]

TASK [screenly : Remove plymouth-quit.service] *******************************************************************************************************
ok: [localhost]

TASK [screenly : Enable screenly systemd services] ***************************************************************************************************
changed: [localhost] => (item=udev-restart.service)
changed: [localhost] => (item=screenly-host-agent.service)

TASK [screenly : Check if deprecated systemd services exists] ****************************************************************************************
ok: [localhost]

TASK [screenly : Set the x_service fact] *************************************************************************************************************
ok: [localhost]

TASK [screenly : Disable deprecated systemd services] ************************************************************************************************
skipping: [localhost] => (item=screenly-celery.service)
skipping: [localhost] => (item=screenly-web.service)
skipping: [localhost] => (item=screenly-websocket_server_layer.service)
skipping: [localhost] => (item=screenly-viewer.service)
skipping: [localhost] => (item=X.service)
skipping: [localhost] => (item=matchbox.service)
skipping: [localhost] => (item=wifi-connect.service)

TASK [screenly : Remove deprecated systemd units] ****************************************************************************************************
ok: [localhost] => (item=screenly-celery.service)
ok: [localhost] => (item=screenly-web.service)
ok: [localhost] => (item=screenly-websocket_server_layer.service)
ok: [localhost] => (item=screenly-viewer.service)
ok: [localhost] => (item=X.service)
ok: [localhost] => (item=matchbox.service)
ok: [localhost] => (item=wifi-connect.service)

TASK [network : Check if screenly-network-manager files exist] ***************************************************************************************
ok: [localhost]

TASK [network : Check if screenly-network-manager is set] ********************************************************************************************
ok: [localhost]

TASK [network : Copy network systemd units] **********************************************************************************************************
changed: [localhost] => (item=wifi-connect.service)

TASK [network : Enable network systemd services] *****************************************************************************************************
changed: [localhost] => (item=wifi-connect.service)

TASK [network : Disable network manager] *************************************************************************************************************
skipping: [localhost]

TASK [network : Disable network watchdog] ************************************************************************************************************
skipping: [localhost]

TASK [network : Remove network manager and watchdog] *************************************************************************************************
ok: [localhost] => (item=screenly_net_mgr.py)
ok: [localhost] => (item=screenly_net_watchdog.py)

TASK [network : Remove network manager and watchdog unit files] **************************************************************************************
ok: [localhost] => (item=screenly-net-manager.service)
ok: [localhost] => (item=screenly-net-watchdog.service)

TASK [network : Remove network watchdog timer file] **************************************************************************************************
ok: [localhost]

TASK [network : Debug msg for manage network] ********************************************************************************************************
ok: [localhost] => {
    "msg": "Manage network: true"
}

TASK [network : Add current user to Identity] ********************************************************************************************************
changed: [localhost]

TASK [network : Set ResultAny to yes] ****************************************************************************************************************
changed: [localhost]

TASK [network : Copy org.freedesktop.NetworkManager.pkla to 50-local.d] ******************************************************************************
changed: [localhost]

TASK [network : Disable dhcpcd] **********************************************************************************************************************

After if we try to reconnect or reboot the Pi, it is not accessible via WiFi at all. If we are using Ethernet it's working fine.

@nicomiguelino
Copy link
Contributor

@salmanfarisvp, I tried the installer on a Pi 4 running Bookworm and didn't experience any issues. As mentioned in this Raspberry Pi article (in the Networking section), NetworkManager is now the default network controller on Bookworm, replacing dhcpcd.

Here are my options for tackling this issue:

  • Enforce the use of Ethernet when running the installer script for devices running Bullseye and older.
    • We can edit the documentation, tweak the install script, or do both.
  • Encourage using Bookworm when installing via Wi-Fi only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: On Hold
2 participants