johnpdowling / hassio-addons Goto Github PK
View Code? Open in Web Editor NEWrepository for my homeassistant addons
License: MIT License
repository for my homeassistant addons
License: MIT License
Thanks for the great add-on. Everything works as expected except that PercentageCompleted value at the /progress endpoint is always zero. For example, while a print job is running:
http://192.168.86.111:5013/192.168.86.32/progress
{"BytesPrinted":"159","BytesTotal":"1000","PercentageCompleted":0}
I'm using a rpi4 and keep getting this error
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:124
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 10:52:44 AM (4 occurrences)
Last logged: 11:04:03 AM
Failed to to call /store -
Failed to to call /addons/a6b98bcd_owntone/install - failed to get destination image "sha256:bc678cae5a8c61470e71508044b1f23de4b51e21fa031ec62b42197d2f1ebd47": image with reference sha256:bc678cae5a8c61470e71508044b1f23de4b51e21fa031ec62b42197d2f1ebd47 was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64
i see that arm64 isn't listed
arch:
Hello, thanks for making the add-on.
I get the following error when trying to install the add-on.
I know HA has been tons of updates so I'm sure it's hard to keep up.
Just got interested in seeing if homepod was viable with HA.
What I see is a warning but it failed to install anyway.
Thanks.
21-03-05 15:33:29 ERROR (SyncWorker_3) [supervisor.docker.addon] Can't build a6b98bcd/amd64-addon-forked-daapd:0.0.2: The command '/bin/bash -o pipefail -c apk update && apk add --no-cache libcrypto1.1=1.1.1g-r0 libssl1.1=1.1.1g-r0 && apk add --no-cache --virtual deps1 alsa-lib-dev autoconf automake cmake avahi-dev bash bsd-compat-headers build-base confuse-dev curl curl-dev ffmpeg-dev file git gnutls-dev gperf json-c-dev libevent-dev libgcrypt-dev libplist-dev libsodium-dev libtool libunistring-dev openjdk7-jre-base protobuf-c-dev sqlite-dev && apk add --no-cache --virtual=deps2 --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c-dev mxml-dev && apk add --no-cache avahi confuse dbus ffmpeg json-c libcurl libevent libgcrypt libplist libsodium libunistring libuv=1.29.1-r0 libuv-dev=1.29.1-r0 protobuf-c sqlite sqlite-libs openssl && apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c mxml && curl -L -o /tmp/antlr-3.4-complete.jar http://www.antlr3.org/download/antlr-3.4-complete.jar && echo '#!/bin/bash' > /usr/local/bin/antlr3 && echo 'exec java -cp /tmp/antlr-3.4-complete.jar org.antlr.Tool "$@"' >> /usr/local/bin/antlr3 && chmod 775 /usr/local/bin/antlr3 && cd /tmp && git clone --branch "v3.2.2" --depth=1 https://github.com/warmcat/libwebsockets.git && cd /tmp/libwebsockets && cmake ./ -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=TRUE -DLWS_IPV6=ON -DLWS_STATIC_PIC=ON -DLWS_UNIX_SOCK=OFF -DLWS_WITH_LIBUV=ON -DLWS_WITH_SHARED=ON -DLWS_WITHOUT_TESTAPPS=ON && make && make install && cd /tmp && git clone https://github.com/ejurgensen/forked-daapd.git && cd /tmp/forked-daapd && autoreconf -fi && ./configure --enable-itunes --with-libwebsockets && make && make install && apk del --purge deps1 deps2 && rm -rf /usr/local/bin/antlr3 /tmp/* && cd /usr/local/etc && sed -i -e 's/\(uid.*=.*\)/uid = "root"/g' forked-daapd.conf && sed -i s#"ipv6 = yes"#"ipv6 = no"#g forked-daapd.conf && sed -i s#/srv/music#/config/forked-daapd/music#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/songs3.db#/config/forked-daapd/cache/songs3.db#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/cache.db#/config/forked-daapd/cache/cache.db#g forked-daapd.conf && sed -i s#/usr/local/var/log/forked-daapd.log#/dev/stdout#g forked-daapd.conf && sed -i "/websocket_port\ =/ s/# *//" forked-daapd.conf && sed -i "/trusted_networks\ =/ s/# *//" forked-daapd.conf && sed -i "/pipe_autostart\ =/ s/# *//" forked-daapd.conf && sed -i "/db_path\ =/ s/# *//" forked-daapd.conf && sed -i "/cache_path\ =/ s/# *//" forked-daapd.conf' returned a non-zero code: 8 21-03-05 15:33:29 ERROR (SyncWorker_3) [supervisor.docker.addon] Build log: [WARNING]: Empty continuation line found in: RUN apk update && apk add --no-cache libcrypto1.1=1.1.1g-r0 libssl1.1=1.1.1g-r0 && apk add --no-cache --virtual deps1 alsa-lib-dev autoconf automake cmake avahi-dev bash bsd-compat-headers build-base confuse-dev curl curl-dev ffmpeg-dev file git gnutls-dev gperf json-c-dev libevent-dev libgcrypt-dev libplist-dev libsodium-dev libtool libunistring-dev openjdk7-jre-base protobuf-c-dev sqlite-dev && apk add --no-cache --virtual=deps2 --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c-dev mxml-dev && apk add --no-cache avahi confuse dbus ffmpeg json-c libcurl libevent libgcrypt libplist libsodium libunistring libuv=1.29.1-r0 libuv-dev=1.29.1-r0 protobuf-c sqlite sqlite-libs openssl && apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c mxml && curl -L -o /tmp/antlr-3.4-complete.jar http://www.antlr3.org/download/antlr-3.4-complete.jar && echo '#!/bin/bash' > /usr/local/bin/antlr3 && echo 'exec java -cp /tmp/antlr-3.4-complete.jar org.antlr.Tool "$@"' >> /usr/local/bin/antlr3 && chmod 775 /usr/local/bin/antlr3 && cd /tmp && git clone --branch "v3.2.2" --depth=1 https://github.com/warmcat/libwebsockets.git && cd /tmp/libwebsockets && cmake ./ -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=TRUE -DLWS_IPV6=ON -DLWS_STATIC_PIC=ON -DLWS_UNIX_SOCK=OFF -DLWS_WITH_LIBUV=ON -DLWS_WITH_SHARED=ON -DLWS_WITHOUT_TESTAPPS=ON && make && make install && cd /tmp && git clone https://github.com/ejurgensen/forked-daapd.git && cd /tmp/forked-daapd && autoreconf -fi && ./configure --enable-itunes --with-libwebsockets && make && make install && apk del --purge deps1 deps2 && rm -rf /usr/local/bin/antlr3 /tmp/* && cd /usr/local/etc && sed -i -e 's/\(uid.*=.*\)/uid = "root"/g' forked-daapd.conf && sed -i s#"ipv6 = yes"#"ipv6 = no"#g forked-daapd.conf && sed -i s#/srv/music#/config/forked-daapd/music#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/songs3.db#/config/forked-daapd/cache/songs3.db#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/cache.db#/config/forked-daapd/cache/cache.db#g forked-daapd.conf && sed -i s#/usr/local/var/log/forked-daapd.log#/dev/stdout#g forked-daapd.conf && sed -i "/websocket_port\ =/ s/# *//" forked-daapd.conf && sed -i "/trusted_networks\ =/ s/# *//" forked-daapd.conf && sed -i "/pipe_autostart\ =/ s/# *//" forked-daapd.conf && sed -i "/db_path\ =/ s/# *//" forked-daapd.conf && sed -i "/cache_path\ =/ s/# *//" forked-daapd.conf [WARNING]: Empty continuation lines will become errors in a future release.
Installing the Flashforge Finder API hass.io add-on through the Supervisor fails with the following error:
The command '/bin/ash -o pipefail -c apk add --no-cache --virtual build-deps alpine-sdk cmake git python python-dev py-pip build-base' returned a non-zero code: 70
I'm running Home Assistant OS 6.1
The installation attempt fails with the following message
Failed to install addon, Unknown Error, see logs
Logs don't show any other message.
Can you please suggest how to troubleshoot?
Thanks!
synology dsm 7.0
vmm
Home Assistant OS 6.1
i just hoped connect my homepod mini with home assistant.
i found forked-daapd but addon failed install..
reddit says because project name changed.
and thankfully i found this project.
but.. keep restarting :(
can anyone please point out my fault?
i'm newbie with these things (linux, docker, terminal). sorry in advance..
[00:28:37] INFO: Starting the OwnTone Server...
[2021-07-16 00:28:37] [ LOG] main: OwnTone version 28.1 taking off
[2021-07-16 00:28:37] [ LOG] main: OwnTone version 28.1 taking off
[2021-07-16 00:28:37] [ LOG] main: Built with:
[2021-07-16 00:28:37] [ LOG] main: Built with:
[2021-07-16 00:28:37] [ LOG] main: - ffmpeg
[2021-07-16 00:28:37] [ LOG] main: - ffmpeg
[2021-07-16 00:28:37] [ LOG] main: - Spotify
[2021-07-16 00:28:37] [ LOG] main: - librespot-c
[2021-07-16 00:28:37] [ LOG] main: - LastFM
[2021-07-16 00:28:37] [ LOG] main: - Without Chromecast
[2021-07-16 00:28:37] [ LOG] main: - MPD
[2021-07-16 00:28:37] [ LOG] main: - Websockets
[2021-07-16 00:28:37] [ LOG] main: - ALSA
[2021-07-16 00:28:37] [ LOG] main: - Webinterface
[2021-07-16 00:28:37] [ LOG] main: - Regex
[2021-07-16 00:28:37] [ LOG] main: - Spotify
[2021-07-16 00:28:37] [ LOG] main: - librespot-c
[2021-07-16 00:28:37] [ LOG] main: - LastFM
[2021-07-16 00:28:37] [ LOG] main: - Without Chromecast
[2021-07-16 00:28:37] [ LOG] main: - MPD
[2021-07-16 00:28:37] [ LOG] main: - Websockets
[2021-07-16 00:28:37] [ LOG] main: - ALSA
[2021-07-16 00:28:37] [ LOG] main: - Webinterface
[2021-07-16 00:28:37] [ LOG] main: - Regex
[2021-07-16 00:28:37] [ LOG] main: mDNS init
[2021-07-16 00:28:37] [ LOG] main: mDNS init
[2021-07-16 00:28:37] [ LOG] mdns: Avahi state change: Client connecting
[2021-07-16 00:28:37] [ LOG] mdns: Avahi state change: Client connecting
[2021-07-16 00:28:37] [ LOG] db: Configured to use database file '/config/owntone/cache/songs3.db'
[2021-07-16 00:28:37] [ LOG] db: Configured to use database file '/config/owntone/cache/songs3.db'
[2021-07-16 00:28:37] [ LOG] db: Now vacuuming database, this may take some time...
[2021-07-16 00:28:37] [ LOG] db: Now vacuuming database, this may take some time...
[2021-07-16 00:28:38] [ LOG] db: Database OK with 1 active files and 6 active playlists
[2021-07-16 00:28:38] [ LOG] db: Database OK with 1 active files and 6 active playlists
[2021-07-16 00:28:38] [ LOG] mdns: Failed to create service browser: Bad state
[2021-07-16 00:28:38] [ LOG] mdns: Failed to create service browser: Bad state
[2021-07-16 00:28:38] [ LOG] raop: Could not add mDNS browser for AirPlay devices
[2021-07-16 00:28:38] [ LOG] raop: Could not add mDNS browser for AirPlay devices
[2021-07-16 00:28:38] [ LOG] mdns: Failed to create service browser: Bad state
[2021-07-16 00:28:38] [ LOG] mdns: Failed to create service browser: Bad state
[2021-07-16 00:28:38] [ LOG] airplay: Could not add mDNS browser for AirPlay devices
[2021-07-16 00:28:38] [ LOG] airplay: Could not add mDNS browser for AirPlay devices
[2021-07-16 00:28:38] [ WARN] laudio: Failed to probe ALSA card=0 - No such file or directory
[2021-07-16 00:28:38] [ WARN] laudio: Failed to probe ALSA card=0 - No such file or directory
[2021-07-16 00:28:38] [ LOG] mdns: Failed to create service browser: Bad state
[2021-07-16 00:28:38] [FATAL] remote: Could not browse for Remote services
[2021-07-16 00:28:38] [FATAL] main: Remote pairing service failed to start
[2021-07-16 00:28:38] [ LOG] main: MPD deinit
[2021-07-16 00:28:38] [ LOG] mdns: Failed to create service browser: Bad state
[2021-07-16 00:28:38] [FATAL] remote: Could not browse for Remote services
[2021-07-16 00:28:38] [FATAL] main: Remote pairing service failed to start
[2021-07-16 00:28:38] [ LOG] main: MPD deinit
[2021-07-16 00:28:38] [ LOG] scan: Bulk library scan completed in 0 sec
[2021-07-16 00:28:38] [ LOG] spotify: No spotify refresh token found
[2021-07-16 00:28:38] [ LOG] spotify: Spotify webapi token refresh failed. In order to use Spotify, authorize the server to access your saved tracks by visiting http://owntone.local:3689
[2021-07-16 00:28:38] [ LOG] scan: Bulk library scan completed in 0 sec
[2021-07-16 00:28:38] [ LOG] spotify: No spotify refresh token found
[2021-07-16 00:28:38] [ LOG] spotify: Spotify webapi token refresh failed. In order to use Spotify, authorize the server to access your saved tracks by visiting http://owntone.local:3689
[2021-07-16 00:28:38] [ LOG] main: HTTPd deinit
[2021-07-16 00:28:38] [ LOG] main: HTTPd deinit
[2021-07-16 00:28:39] [ LOG] lib: Library init scan completed in 1 sec (0 changes)
[2021-07-16 00:28:39] [ LOG] lib: Library init scan completed in 1 sec (0 changes)
[2021-07-16 00:28:39] [ LOG] main: Player deinit
[2021-07-16 00:28:39] [ LOG] main: Player deinit
[2021-07-16 00:28:39] [ LOG] web: LWS Cannot write to dummy pipe[2021-07-16 00:28:39] [ LOG] web: LWS Cannot write to dummy pipe[2021-07-16 00:28:39] [ LOG] main: Library scanner deinit
[2021-07-16 00:28:39] [ LOG] web: LWS Cannot write to dummy pipe[2021-07-16 00:28:39] [ LOG] web: LWS Cannot write to dummy pipe[2021-07-16 00:28:39] [ LOG] main: Library scanner deinit
[2021-07-16 00:28:39] [ LOG] main: Cache deinit
[2021-07-16 00:28:39] [ LOG] main: Cache deinit
[2021-07-16 00:28:39] [ LOG] main: Worker deinit
[2021-07-16 00:28:39] [ LOG] main: Worker deinit
[2021-07-16 00:28:39] [ LOG] main: Database deinit
[2021-07-16 00:28:39] [ LOG] main: Database deinit
[2021-07-16 00:28:39] [ LOG] main: mDNS deinit
[2021-07-16 00:28:39] [ LOG] main: mDNS deinit
[2021-07-16 00:28:39] [ LOG] main: Exiting.
[2021-07-16 00:28:39] [ LOG] main: Exiting.
Hi There
Just testing this out in my HASSIO and am sure I will be using it alot with my Finder printer so thanks for creating this addon
Just a question and I know it can be changed and will be doing so but just wondering why you settled on port 5000 as it is also AppDaemon's default port
Cheers
Matthew
I get log errors like this after adding your repository to my Home Assistant instance (with no add-ons installed yet):
20-11-18 06:29:12 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/a6b98bcd/fail2ban/config.json: Expecting value: line 2 column 1 (char 1) 20-11-18 06:29:12 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/a6b98bcd/fail2ban/config.json from repository a6b98bcd
I'm running Home Assistant 0.117.6 on Hass.os 4.16
Maybe this is something that can easily be fixed? Thank you
I'm running HA Supervised on top of Debian. I added this repo to HA and went to install forked-daapd
and got the above error. I'm not sure how to go from here
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.