hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Mopidy addon HassOs 64 bit

Open kegra opened this issue 6 years ago • 20 comments

When i try to restore this add-on i constantly get the following errors, also i tried installing it from scratch and the error is the same.:

18-07-17 23:57:44 INFO (MainThread) [hassio.snapshots] Partial-Restore cdbe31f4 start 18-07-17 23:57:49 INFO (MainThread) [hassio.snapshots] Restore cdbe31f4 old add-ons 18-07-17 23:57:51 INFO (MainThread) [hassio.addons.addon] Restore config for addon 53caca22_mopidy 18-07-17 23:57:53 INFO (MainThread) [hassio.addons.addon] Restore image for addon 53caca22_mopidy 18-07-17 23:57:53 INFO (SyncWorker_11) [hassio.docker.interface] Pull image bestlibre/aarch64-mopidy tag 0.2.4. 18-07-17 23:57:56 ERROR (SyncWorker_11) [hassio.docker.interface] Can’t install bestlibre/aarch64-mopidy:0.2.4 -> 404 Client Error: Not Found (“manifest for bestlibre/aarch64-mopidy:0.2.4 not found”). 18-07-17 23:57:56 INFO (MainThread) [hassio.addons.addon] Restore data for addon 53caca22_mopidy 18-07-17 23:57:56 ERROR (SyncWorker_15) [hassio.docker] Can’t create container from addon_53caca22_mopidy: 404 Client Error: Not Found (“No such image: bestlibre/aarch64-mopidy:latest”) 18-07-17 23:57:56 ERROR (MainThread) [hassio.snapshots.snapshot] Can’t restore snapshot for 53caca22_mopidy 18-07-17 23:58:28 INFO (MainThread) [hassio.snapshots] Partial-Restore cdbe31f4 done

kegra avatar Jul 18 '18 00:07 kegra

Latest release for 64bit Raspi3 (aarch64) is 0.1.2. Looks like Mopidy 0.2.4 is not available on Docker Hub: https://hub.docker.com/r/bestlibre/aarch64-mopidy/tags/. Because of this, it won't install. I would recommend installing 32bit HassOS, as there is no real advantage and only incompatibilities like this.

tjorim avatar Aug 23 '18 11:08 tjorim

I'm trying a fresh version of hassio on RPi https://github.com/home-assistant/hassos/releases/download/1.9/hassos_rpi-1.9.img.gz and I've comfirm the problem : download only version 0.1.2 that won't start

someone can show me how take the latest version?

robferrero avatar Aug 27 '18 10:08 robferrero

I noticed there being two versions of the add-on which use the same slug.

  1. https://github.com/bestlibre/hassio-addons/tree/master/mopidy
  2. https://github.com/bestlibre/hassio-addons/tree/master/mopidy_alpine

The latter still mentions 0.1.2 as version in the config.json, this should probably best be removed. You should still be able to get the add-on by manually downloading this repo, and placing the mopidy-folder in /addons on your pi using samba.

tjorim avatar Aug 27 '18 10:08 tjorim

I want to try this evening manual install. If I understand right

  1. create a mopidy-folder in /addons on my pi using samba.
  2. copy inside the dir all 6 files from : https://github.com/bestlibre/hassio-addons/tree/master/mopidy
  3. launch (but how???) the manual installation of the docker

can you give hint on point 3?

robferrero avatar Aug 27 '18 15:08 robferrero

Correct, to install the add-on, go to the 'Add-on Store' and click the little refresh button in the top right. Then you will find a 'local' repository with the mopidy entry.

If that still doesn't do it you can always edit the config.json file and remove the "image": "bestlibre/{arch}-mopidy", line. Hit the refresh button once again. When you install the add-on like that, it should build it locally on your system, and not rely on the Docker Hub images.

tjorim avatar Aug 27 '18 16:08 tjorim

I've edited config.json writing "image": "bestlibre/armhf-mopidy", and I've followed your instruction. It's now installed and started.

Thanks You !!!! a lot!

I hope that someone fix the original in repository for the future

Now I'll try to use it starting with add in configuration.yaml

media_player:
  - platform: mpd
    host: MYIP_ADDRESS

robferrero avatar Aug 27 '18 20:08 robferrero

mpd unavaible :(
dosn't work .. need other work....

robferrero avatar Aug 27 '18 21:08 robferrero

Did you try host: localhost?

tjorim avatar Aug 27 '18 21:08 tjorim

I've tried host : 192.168.1.133 <-- the IPaddress of my raspberry (but MPD remain unavaible at the start) but the strange things is that mopidy goes off after a variable amout of type. ...still investigating ...

robferrero avatar Aug 28 '18 07:08 robferrero

info mopidy found here : https://community.home-assistant.io/t/help-with-locating-mopidy/51597

and possible workaround for mp3 here : https://community.home-assistant.io/t/pi-audio-component/17266/31

I need to try both....

robferrero avatar Aug 28 '18 09:08 robferrero

update after my trial: I cannot use mopidy, still dosn't start :( but the workaround of Pantomax using addon "de3cd379_audio_player" allow me to create TTS sound! :)

robferrero avatar Aug 29 '18 09:08 robferrero

Kind of a meta question, but is this still being maintained? It mostly works for me but has a handful of issues, and the entire repo of addons hasn't been updated in over a month.

I'm considering taking it on, but is anyone else potentially interested?

And I'm happy to contribute PRs here, but we have two addons with the same slug, and for some of us that makes it entirely unusable without building locally. That seems like an easy thing to leave unfixed for a long time, which makes me ask the question about continued maintenance.

ndarilek avatar Aug 30 '18 02:08 ndarilek

FWIW, I forked this addon and am working on it here. I can't guarantee absolute stability just yet, but it launches whereas this one doesn't, so there is that. :) It also uses audio: true to allow configuring an output device. I also hard-coded PULSE_SERVER for possible future integration with the PulseAudio addon I built, but I haven't tested that yet so it isn't recommended.

So IOW, it's going in a bit of another direction, but for the moment it works (on ARMHF at least, I hit some issues building for other architectures and disabled those for now. Restoring that is next on the todo list.)

ndarilek avatar Sep 05 '18 23:09 ndarilek

my try was'n luck

I've added your address to the list of addon and tried the install, but I get this error

18-09-06 11:21:13 ERROR (SyncWorker_3) [hassio.docker.interface] Can't install nolan/hassio-mopidy-armhf:2.1.0.9 -> 404 Client Error: Not Found ("no such image: nolan/hassio-mopidy-armhf:2.1.0.9: No such image: nolan/hassio-mopidy-armhf:2.1.0.9"). 18-09-06 11:30:07 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh

robferrero avatar Sep 06 '18 11:09 robferrero

Odd.

$ docker pull nolan/hassio-mopidy-armhf:2.1.0.9
2.1.0.9: Pulling from nolan/hassio-mopidy-armhf
...
Digest: 
sha256:e85441fd6503125dd514771025f71971cf8bb654b3ce844427286a39d35f9699
Status: Downloaded newer image for nolan/hassio-mopidy-armhf:2.1.0.9

Works on both my RPi and desktop.

ndarilek avatar Sep 06 '18 11:09 ndarilek

Check if you have enough space, apparently docker gives 404 errors when there isn't.

tjorim avatar Sep 06 '18 15:09 tjorim

maybe you are right! I've deleted some snapshot and now it's installed. but I continue to have something strange, only one time I've saw the green dots near 2.1.0.9. and I can't open the web UI page

I can't find nothing in ssh -> hassio ha logs and hassio su logs. can I look somewhere other?

robferrero avatar Sep 06 '18 20:09 robferrero

The add-on logs itself? It's on the bottom of the page with add-on options etc.

Please don't continue this conversation over here, since all other users in this thread probably get notifications for this as well. Furthermore, it's completely off topic. Open an issue in the repo of the fork.

tjorim avatar Sep 06 '18 21:09 tjorim

I don't know why I haven't seen this issue before. Sorry about that !

I have a bunch of addons which don't work on aarch64, I will have to work on them... Any help welcome since I don't have a lot of time available

bestlibre avatar Dec 17 '18 13:12 bestlibre

I think the issue still persists...is there a workaround to use the speaker of an rpi4?

bf8392 avatar Apr 18 '22 08:04 bf8392