smartgic / ansible-playbooks-mycroft Goto Github PK
View Code? Open in Web Editor NEWAnsible playbooks to deploy and configure Mycroft on a Raspberry Pi 4.
Home Page: https://smartgic.io
License: Apache License 2.0
Ansible playbooks to deploy and configure Mycroft on a Raspberry Pi 4.
Home Page: https://smartgic.io
License: Apache License 2.0
Heyho,
I run into an error when trying to run the playbook:
TASK [smartgic.mycroft : Install Python packages] ******************************************************************************************************************************************************************************************
fatal: [rpi4b01]: FAILED! => {"changed": false, "msg": "'/usr/bin/apt-mark manual python3-pip python3-venv python3-dev python3-wheel' failed: E: Could not create temporary file for /var/lib/apt/extended_states - mkstemp (13: Permission denied)\nE: Failed to write temporary StateFile /var/lib/apt/extended_states\n", "rc": 100, "stderr": "E: Could not create temporary file for /var/lib/apt/extended_states - mkstemp (13: Permission denied)\nE: Failed to write temporary StateFile /var/lib/apt/extended_states\n", "stderr_lines": ["E: Could not create temporary file for /var/lib/apt/extended_states - mkstemp (13: Permission denied)", "E: Failed to write temporary StateFile /var/lib/apt/extended_states"], "stdout": "python3-pip was already set to manually installed.\n", "stdout_lines": ["python3-pip was already set to manually installed."]}
PLAY RECAP *********************************************************************************************************************************************************************************************************************************
> rpi4b01 : ok=57 changed=36 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0
I have a freshly installed rpi4 with Raspberry Pi OS 64-Bit and I'm using Ansible 2.10.8
The install-custom.yml is from your guide and I only changed the prepi_hostname. I tried it with the one in the guide as well though.
I'm not sure what the error messsage is trying to tell me and sadly I'm a noob with Ansible, so I don't know where the error is coming from.
Do you have an idea, what the problem could be?
Hi there.
When I try to run the interactive install playbook with my rpi 4B, I hit the following error:
TASK [smartgic.prepi : Add pi user gpio, video, audio and render groups] *****************************************************************
ok: [rpi4b01]
TASK [smartgic.prepi : Retrieve rootfs partition UUID] ***********************************************************************************
fatal: [rpi4b01]: FAILED! => {"changed": false, "cmd": ["blkid", "-s", "PARTUUID", "-o", "value", "-t", "LABEL=rootfs"], "delta": "0:00:00.058045", "end": "2022-05-20 14:10:24.507218", "msg": "non-zero return code", "rc": 2, "start": "2022-05-20 14:10:24.449173", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
PLAY RECAP *******************************************************************************************************************************
rpi4b01 : ok=10 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
I am not really sure what causes this, but maybe the issue has to do with the way my pi is partitioned? I am using NOOBS, but I only have rasbian 64bit installed.
Calling blkid straight from the terminal does find my root partition.
I tried figuring out what happens in the call in tasks/common.yml, but I am a complete ansible newb, so I did not get very far..
I will skip the prepi configuration for now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.