Comments (8)
Which platform are you running on? And can you provide the logging from Home Assistant supervisor when installing?
from home-assistant-addons.
I have installed in a raspberrypi 4. How can i see the logs? In the addon page of traefik there is no log because it doesn´t install. In my other addon, the log page appears when i have installed the addon. I push the install button but nothing hapens.
from home-assistant-addons.
when i try to paste the system log in here, and send it, the antivirus blocks a threat.
"An attempt to inject a command towards your system through a dangerous URL was made by 140.82.118.3. We blocked the connection to prevent malicious commands from being executed on the device and across the network"
from home-assistant-addons.
Unfortunately I don't own a Raspberry Pi 4 and thus am not quite sure what goes wrong. And I'm also not capable of testing this. I would really like to see some error logging from Home Assistant Supervisor as seen here:
If you know how to run Docker images by itself you could also try to build the stripped down Dockerfile
below and see what goes wrong. Maybe I can help you with that.
FROM hassioaddons/base
ARG TRAEFIK_VERSION=2.2.1
ARG BUILD_ARCH=armv7
RUN apk add --no-cache python3 py3-pip nginx
RUN pip3 install "j2cli[yaml]"
RUN wget --quiet -O /tmp/traefik.tar.gz "https://github.com/containous/traefik/releases/download/v${TRAEFIK_VERSION}/traefik_v${TRAEFIK_VERSION}_linux_${BUILD_ARCH}.tar.gz"
RUN tar xzvf /tmp/traefik.tar.gz -C /usr/local/bin traefik
RUN chmod a+x /usr/local/bin/traefik
RUN rm -f /tmp/traefik.tar.gz
You could build this with the following command from within the directory that the Dockerfile
is located:
docker build -t traefik-test .
from home-assistant-addons.
GitHub doesn’t let me paste the system log. I will send you a image later on. I will try what you have sent. My idea is to use this add on to proxy one rasp pi 4 with HA and another with nextcloud
Than you very much for replaying. Is the first time I use github
from home-assistant-addons.
Stale issue.
from home-assistant-addons.
Hi @alex3305 and thanks for your work on this addon!
Apologies for commenting on a stale issue, but I'm seeing the same problem. The logs from the supervisor show the following:
20-09-15 12:46:53 INFO (SyncWorker_4) [supervisor.docker.addon] Start build 32de6d38/aarch64-addon-traefik:3.0.3
20-09-15 12:47:22 ERROR (SyncWorker_4) [supervisor.docker.addon] Can't build 32de6d38/aarch64-addon-traefik:3.0.3: The command '/bin/ash -o pipefail -c apk add --no-cache python3 py3-pip nginx && pip3 install "j2cli[yaml]" && wget --quiet -O /tmp/traefik.tar.gz "https://github.com/containous/traefik/releases/download/v${TRAEFIK_VERSION}/traefik_v${TRAEFIK_VERSION}_linux_${BUILD_ARCH}.tar.gz" && tar xzvf /tmp/traefik.tar.gz -C /usr/local/bin traefik && chmod a+x /usr/local/bin/traefik && chmod a+x /run.sh && rm -f /tmp/traefik.tar.gz' returned a non-zero code: 1
20-09-15 12:48:01 INFO (SyncWorker_1) [supervisor.docker.addon] Start build 32de6d38/aarch64-addon-traefik:3.0.3
20-09-15 12:48:24 ERROR (SyncWorker_1) [supervisor.docker.addon] Can't build 32de6d38/aarch64-addon-traefik:3.0.3: The command '/bin/ash -o pipefail -c apk add --no-cache python3 py3-pip nginx && pip3 install "j2cli[yaml]" && wget --quiet -O /tmp/traefik.tar.gz "https://github.com/containous/traefik/releases/download/v${TRAEFIK_VERSION}/traefik_v${TRAEFIK_VERSION}_linux_${BUILD_ARCH}.tar.gz" && tar xzvf /tmp/traefik.tar.gz -C /usr/local/bin traefik && chmod a+x /usr/local/bin/traefik && chmod a+x /run.sh && rm -f /tmp/traefik.tar.gz' returned a non-zero code: 1
I'm having a look if I can get some more detailed information out of that but so far no luck!
from home-assistant-addons.
Seems to have been 64-bit builds only and was related to the BUILD_ARCH environment variable - I've made a PR with the issue fixed :) It's tested on a RPi4-64 running HassOS 5.2 and HassOS 4.13 and seems to be fine.
from home-assistant-addons.
Related Issues (20)
- Configuration parameter secret_file is not working HOT 3
- Addon fails to start with option access_logs: true HOT 1
- Question for Rclone HOT 4
- sync Google photos HOT 1
- Reload supervsior after secrets update HOT 4
- Upgrade Traefik HOT 2
- ModSecurity plugin HOT 1
- Rclone Media Sources instead backups HOT 1
- proxy pass HOT 2
- Make Rclone addon local folder configurable HOT 5
- What about Bitwarden secrets for ESPHome? HOT 2
- Addon stops with a strange error on config files ! HOT 2
- Traefik stopped working after updating to v4.1.2 HOT 2
- Traefik addon will not install on supervised HA (ARM architecture) HOT 11
- File provider at /config/traefik/ is no longer accessible HOT 1
- Default Bitwarden server is not working anymore HOT 4
- Documentation: Add example which uses custom fields
- Migrate Bitwarden CLI to new repo
- Traefik: different port for specific sub domain HOT 1
- Access log location HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-addons.