Hi,
my fresh installed system hangs in the web interface with "installing spotifyd..." but nothing happens.
Can you point me into the right direction?
Best regards
Phil
Hi,
my fresh installed system hangs in the web interface with "installing spotifyd..." but nothing happens.
Can you point me into the right direction?
Best regards
Phil
Hi, it happens the same to me, you are not alone.
Let's hope there is an answer for it.
(I have a CX100 installation)
Somebody from B&O will look into this after Easter.
Best regards,
Daniel
Hi all,
I want to apologise for the delay and the issues you are having.
If you can log in to the Raspberry Pi via SSH, could you try running the following command:
sudo /home/pi/beocreate-installer install-source spotifyd
This is the command that is used behind the scenes to install Spotify Connect. If all goes well, in the end it should say "spotifyd installed" and Spotify Connect should now be available. Note that the setup tool will still show Spotify Connect as not installed as we did it manually – this is completely normal.
Please let me know how it goes and we can investigate further.
All the best,
Tuomas from Bang & Olufsen
Hi Tuomas,
Thank you for the answer.
In my case, I receive this:
---
pi@bo-cx100:~ $ sudo /home/pi/beocreate-installer install-source spotifyd
BeoCreate Installer, 2017 Bang & Olufsen
pi@bo-cx100:~ $
--
No installation seems to run.
Regards
Hi,
thanks for the answer! I tried the command and I get the same as Vincente. No output (except for auth.log) in any log (in /var/log).
regards
Philippe
Hi Vicente and Philippe,
you both seem to be running an older version of the software, as indicated by the 2017 year... can I ask how you made your SD cards? Did you use PiBakery or did you download a complete image from HiFiBerry?
Right now the safest way to get up to date is to just start over with the BeoCreate image from here, as an automatic software update system is not yet in place.
However, if you would like to test a semi-automatic update script, I made one that hopefully works for both of you. This will be a lot quicker than a complete reinstall, but I can't guarantee it will work, so please proceed at your own risk. Nothing bad should happen, but if it somehow scrambles the system, just let me know and we'll work it out.
Run these commands to first download the script, make it executable and finally run it:
sudo wget -O /home/pi/beocreate-updater "http://downloads.hifiberry.com/beocreate/release-3/beocreate-updater"
sudo chmod 755 /home/pi/beocreate-updater
sudo /home/pi/beocreate-updater
When the script finishes, it will tell you to restart with sudo reboot. After this you should be able to to install Spotify Connect through the web setup tool.
Best of luck,
Tuomas from Bang & Olufsen
Good morning, Tuomas.
I used PiBakery to make the SD card.
I am not able to check the script until I come back home, I will try then.
Thank you for the effort creating the script!
BTW, I noticed some cuts during the play, I thought it was normal due to the early status of the software, but maybe it was because I was using an old version. Did you have also cuts, Philippe?
Hi Tuomas,
I have just run the script, and I tried to install the Spotify Connect through web setup tool.
But it is still installing it after some minutes, so I guess it is the same result than before the script.
Maybe Philippe had a different result.
Thanks Vicente.
My apologies. I took a closer look at the updater script I wrote and it turns out I actually forgot to include the one component that actually installs Spotify Connect... Remind me to not write code so late at night...
I have uploaded a fixed version of the update script, but you don't have to run it again as most of the things we need were updated as they should. Simply do the following to update the last component:
sudo wget -O /home/pi/beocreate-installer "http://downloads.hifiberry.com/beocreate/release-3/beocreate-installer"
sudo chmod 755 /home/pi/beocreate-installer
Restart the system afterwards to be on the safe side, and please try the installation again.
Best of luck,
Tuomas from Bang & Olufsen
Yes! It worked!
Thank you very much!
Do not worry about the error, I am also a developer and I know what is to fix something lately in the night.
Thanks for the effort!
Hi Vicente,
awesome, so good to see you got it working!
I think this is a valuable experience also for us at B&O and HiFiBerry towards providing user-friendly software updates for BeoCreate systems.
If you have any other questions, don't hesitate to ask, we'll do our best to help.
Best,
Tuomas from Bang & Olufsen
Hi Tuomas,
Sadly I come back to you, as when I try to connect to the CX100 through Spotify Connect, it does not work. It shows "connecting" but after some seconds it pauses the music and nothing happens.
Are you aware about something similar?
(It happened with my MacBookPro , IPhone and my wife's Iphone. And I have restarted two or three times).
Thank you
Hi Vicente,
hmm, I haven't seen this personally. May I suggest trying out an updated version of spotifyd, which was just released yesterday?
Follow these steps:
sudo unzip spotifyd-2018-04-03-armv6.zip
sudo mv spotifyd /opt/spotifyd
sudo systemctl restart spotify.service
Best,
Tuomas from Bang & Olufsen
Hi all,
thanks for the tips. I did not update, but create a fresh install with the image you referenced above (https://www.hifiberry.com/beocreate/beocreate-downloads/). With this I could install everything just fine. Unfortenately I did not get a Spotify connection either, showling the same behavior as described above. The updated spotifyd version fixed the issue for me and I am currently listening to spotify on my CX100 ;) Thanks for all the help! You did a great job!
Cheers
Philippe
My thanks to you Philippe, for the understanding and patience. I'm glad to see you're up and running with your CX100.
Happy listening!
Tuomas from Bang & Olufsen
Hi everyone,
It updated the spotifyd version and now I can hear it! Yes!!
BUT the volume controls are not responding, the volume is loud, and when I try to turn it down it makes nothing.
Does it happen to you also, Philippe?
Hi,
for me they work totally fine. Maybe you give the image from above a try?
Cheers
Philippe
@Vincente: Do you mean the volume control in the Spotify application isn't working? Try increasing and decreasing is very slowly. There was a bug/feature in Spotifyd that blocked large volume changes.
Best regards,
Daniel
Just confirming that a fresh install of beocreate.img with the latest version of spotifyd fixed the Spotify problem :)
Hi Sveinn,
Did it work for you?
I have tried, but the setup freezes in the "Renaming" step. I have tried to change the host name via ssh, and it seems to work (I can see the setup page) but the option of Spotify Connect (and neither Airplay) does not appear now.
As it worked for you, I am going to try for third time.
Hey Vicente,
I haven't had any problems with the WebUI, which OS/Browser are you using?
Hi Sveinn,
I am using Mac OSX with Chrome.
I also just got AirPlay to work...
I tried to compile it from https://github.com/mikebrady/shairport-sync (including all the options), I did get some strange errors at first (would not build (no make file found) untill I did autoreconf again, then ./configure again, after that make worked, and I could finally install) — this didn't actually work, but using the WebUI installer after all this made it finally work ¯\_(ツ)_/¯
My guess is that the WebUI installer is failing somewhere, just like how it failed the first time I ran the commands manually. Maybe have an option to update/reinstall in the WebUI wouldn't be a bad idea?
Vincent, I'm also on macOS, check if Safari works next time. I'd delete everything you have, download the disk image again to make sure it's the latest — for what it's worth, I used the dd command in terminal to clone the disk image to the SD card, I can write some instructions if you don't know how to do that — I guess using the Restore feature in Disk Utility can also work.
Then try updating spotifyd like Tuomas suggested earlier in this thread.
Thanks to both of you for the troubleshooting,
the system rename step seems to be a frequent point of failure in the setup process, and it's at the top of our list of things to fix. I'm personally unable to work on it right now – hands full with my thesis that needs to be done before the end of the month – sorry about that.
But I'll explain how the system works.
There are two names that the system uses. One is the "pretty" product name that you actually type in. The second is a hostname, which is automatically generated from the user-supplied name (it strips out special characters and spaces). As an example, CX50 Køkkenet becomes cx50-kokkenet. The bug seems connected to the code that generates the latter name.
These names are put into different places:
sudo raspi-config nonint do_hostname cx50-kokkenet
sudo hostnamectl set-hostname --pretty "CX50 Køkkenet"
They are also stored in /home/pi/beoconfig.json (under setup > hostName and setup > productName), from which they are sent to the web UI. The system always needs to reboot after the names are changed, as they do not update everywhere before a restart.
Changing the names manually is possible with the commands above and editing /home/pi/beoconfig.json, in case the automatic way simply fails.
Best,
Tuomas from Bang & Olufsen
I have re-installed, but same result.
The installation through the network Beosetup took a long time in "Renaming the System", but at the end the pi restarted.
But in the setup WebUI, it was not found. I checked through the Chrome Inspector that it was trying to access the name that I inserted through setup WebUI, but it was not accessible.
So I changed the name of the host through SSH and hostname / hosts files.
I could enter in WebUI but the System name seems not to be able to change:
(it is "Beocreate 4-Channel Amplifier" still).
Maybe there is a file in beocreate where this name is defined? And that makes not able to connect to spotifyd and airplay?
Hi Tuomas,
You put the answer when i was writing mine.
I am going to try to change it through those files!
Hi Vicente,
if you edit /home/pi/beoconfig.json and the values for those names are currently null, remember to put quotes around the new values.
You can also try changing the system name through the setup tool – it may work this time, since you're connected to the loudspeaker.
Two more places where the "pretty" name needs to be updated that I forgot about:
/etc/shairport-sync.conf
/etc/spotifyd.conf
These set the name that is displayed in AirPlay and Spotify Connect.
Best,
Tuomas from Bang & Olufsen
Nope, I can not see the option through Spotify Connect neither Airplay.
Totally lost atm
Okay, let's figure it out.
1: Did you install these sources through the Sources menu or manually?
2a: If the answer to 1 is through the menu, let's see if they're running.
To check Spotify, run systemctl status spotify.service – it should say "active" in green. Press Q to exit this mode if it doesn't automatically.
To check AirPlay, run service shairport-sync status – it should return similar to the previous.
Both of these will also return a few lines of logs, at least they do for me. This might help with the problem.
2b: If you installed manually, let me know and I'll walk you through the correct configuration.
Best,
Tuomas from Bang & Olufsen
Hi Tuomas,
First of all, thank you for the support, I did not want to be a pain in the ass.
I installed the sources through UI, these are the results:
And for Airplay:
That seems worst.