geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.15k stars 440 forks source link

After a standard Installation on Raspberry Pi 4b - fresh install #554

Closed eggohh closed 2 months ago

eggohh commented 8 months ago
pi@raspberrypi:~/internet-pi $ ansible-playbook main.yml

PLAY [Configure Internet Pi.] *******************************************************************************************************************************************
TASK [Gathering Facts] **************************************************************************************************************************************************ok: [127.0.0.1]

TASK [Load configuration (with defaults from example file).] ************************************************************************************************************ok: [127.0.0.1] => (item=example.config.yml)
ok: [127.0.0.1] => (item=config.yml)

TASK [Ensure apt cache is up to date.] **********************************************************************************************************************************ok: [127.0.0.1]

TASK [Ensure pacman cache is up to date] ********************************************************************************************************************************skipping: [127.0.0.1]

TASK [Check if Docker is already present.] ******************************************************************************************************************************ok: [127.0.0.1]

TASK [Download Docker install convenience script.] **********************************************************************************************************************skipping: [127.0.0.1]

TASK [Run Docker install convenience script.] ***************************************************************************************************************************skipping: [127.0.0.1]

TASK [Ensure Docker is started.] ****************************************************************************************************************************************ok: [127.0.0.1]

TASK [Ensure dependencies are installed (Debian).] **********************************************************************************************************************ok: [127.0.0.1]

TASK [Ensure dependencies are installed (Archlinux).] *******************************************************************************************************************skipping: [127.0.0.1]

TASK [Install Docker Compose using Pip.] ********************************************************************************************************************************ok: [127.0.0.1]

TASK [Ensure user is added to the docker group: pi] *********************************************************************************************************************ok: [127.0.0.1]

TASK [Reset connection so docker group is picked up.] *******************************************************************************************************************[WARNING]: Reset is not implemented for this connection

TASK [Gather package facts.] ********************************************************************************************************************************************ok: [127.0.0.1]

TASK [Add Buster backports apt key.] ************************************************************************************************************************************skipping: [127.0.0.1] => (item=04EE7237B7D453EC)
skipping: [127.0.0.1] => (item=648ACFD622F3D138)
skipping: [127.0.0.1] => (item=0E98404D386FA1D9)
skipping: [127.0.0.1] => (item=6ED0E7B82643E131)
skipping: [127.0.0.1]

TASK [Add Buster backports for fixed libseccomp2.] **********************************************************************************************************************skipping: [127.0.0.1]

TASK [Install >libseccomp2.4.4 to fix 32-bit OS issue.] *****************************************************************************************************************skipping: [127.0.0.1]

TASK [Synchronize internet-monitoring directory.] ***********************************************************************************************************************changed: [127.0.0.1]

TASK [Ensure internet-monitoring directory is not a Git repository.] ****************************************************************************************************ok: [127.0.0.1]

TASK [Copy templated internet-monitoring files into place.] *************************************************************************************************************changed: [127.0.0.1] => (item={'src': 'docker-compose.yml.j2', 'dest': 'docker-compose.yml'})
changed: [127.0.0.1] => (item={'src': 'grafana-config.monitoring.j2', 'dest': 'grafana/config.monitoring'})
changed: [127.0.0.1] => (item={'src': 'prometheus.yml.j2', 'dest': 'prometheus/prometheus.yml'})
changed: [127.0.0.1] => (item={'src': 'prometheus-pinghosts.yaml.j2', 'dest': 'prometheus/pinghosts.yaml'})

TASK [Ensure internet-monitoring environment is running.] ***************************************************************************************************************fatal: [127.0.0.1]: Fpi@raspberrypi:~/internet-pi $
porter:latest/json: Internal Server Error (\"readlink /var/lib/docker/overlay2: invalid argument\")"}

PLAY RECAP **************************************************************************************************************************************************************127.0.0.1                  : ok=12   changed=2    unreachable=0    failed=1    skipped=7    rescued=0    ignored=0

I did the following as i am trying to resolve this: docker system prune --all docker volume prune docker-compose up

This cleared everything when it comes to docker again. Then i did run the ansible-playbook main.yml again to see if it works. So i ran into another Problem:

TASK [Ensure internet-monitoring environment is running.] ***************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "errors": [], "module_stderr": "", "module_stdout": "", "msg": "Error starting project 500 Server Error for http+docker://localhost/v1.43/images/prom/blackbox-exporter:latest/json: Internal Server Error ("readlink /var/lib/docker/overlay2: invalid argument")"}

PLAY RECAP **************************************************************************************************************************************************************
127.0.0.1 : ok=12 changed=1 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0

I aswell tried to clean up everything and tried another fresh install but the same error occurs. It maybe something with the /prom/blackbox...

Does anybody know a quickfix of that issue?

github-actions[bot] commented 4 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 2 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.