# Got some bad time to figure our how to install on Raspberry pi 3 B

**URL:** <https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401>\
**Category:** Get Help\
**Created:** [October 15, 2019, 12:10pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401 "2019-10-15T12:10:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 15, 2019, 12:10pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/1 "2019-10-15T12:10:01Z")

</div>

Greetings guys and gals! First of i hope that everyone is having good time and i want to thank you in advance. Well for a month now im trying to figure out how to install the airtime on my Raspberry Pi 3 B. I’ve read a nice guide somewhere on the internet which had to install it on Rasbian 8 Jessie, tried it, made the install but had some problems and i couldn’t access the servers page (liquidsoap), so i made a fresh install of the OS and then i found that forum, which is really nice, but now im reading about version 9 Stretch and i have some really bad time trying to figure out which guide to use for installing the libretime. Which files should i pull form github? do i need to make any changes to the code before starting the installation?

Thanks in advance for reading my post.

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 15, 2019, 2:35pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/2 "2019-10-15T14:35:58Z")

</div>

I know of no official guide, if you found one can you send a link to it. I haven’t tries to install on a raspberry pi but I think cloning the latest repo and running install.sh would be the way I’d approach it.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 18, 2019, 10:35pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/3 "2019-10-18T22:35:05Z")

</div>

well im not saying that this one is official, but is the only one i could find and seemed to work, at least for me, it works until a point

[Pi3](https://forum.sourcefabric.org/discussion/18114/howto-install-airtime-on-a-raspberry-pi-3)

Also i found that [PDF](https://forum.sourcefabric.org/uploads/FileUpload/05/0560a5b62e903b64dff467fb466fa0.pdf) which i didn’t had the chance to try it yet, but probably i will do tonight

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 18, 2019, 11:43pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/4 "2019-10-18T23:43:51Z")

</div>

Well i just tried the installation as the PDF suggested, but when it is time to edit the /etc/airtime/airtime.conf i found out that there is not any “airtime” folder on my “etc” tree 😮

Also after running the full install file, at the end (after installing every other package) i get this

> E: Unable to locate package libzend-framework-php

Also on the installation code i found that

> #Debian Squeeze only has zendframework package. Newer versions of Ubuntu have zend-framework package.  
> #Ubuntu Lucid has both zendframework and zend-framework. Difference appears to be that zendframework is for  
> #1.10 and zend-framework is 1.11

so what i need to do for Jessie? Should i try a fresh install with Squeeze?

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [October 19, 2019, 11:25am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/5 "2019-10-19T11:25:54Z")

</div>

Ok, so you really can’t depend upon those guides because they were written with airtime in mind. LibreTime has forked Airtime, and so it has a different install process. I would just try running ./install on a fresh installation of Debian Stretch, Jessie is no longer supported. You could also try Buster but would need to patch the liquidsoap stuff.

For instance we install Zend from composer now vs. the packages because we need to install a fork of Zend to maintain compatibility with the newest version of PHP.

I am considering trying to install on a Raspberry Pi 4 at some point. I don’t know how easy or what challenges you might come across but in theory it should be doable on a pi 3.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 20, 2019, 5:06pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/6 "2019-10-20T17:06:22Z")

</div>

Well, are there any steps to try it on RasbPi? i mean the Libretime

I found two packages, one is the LibreTime and one is the Debian LibreTime

UPDATE: tried the install with the Debian LibreTime package, everything looks normal but at the end of installation i get this

> curl: (6) Could not resolve host: [getcomposer.org](http://getcomposer.org)

Also i don’t get the classic “airtime installed successful” message at the end  
any useful tips?

---

<div class="post-metadata">

**Author:** ![paddatrapper](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/paddatrapper/32/675_2.png) [@paddatrapper](https://discourse.libretime.org/u/paddatrapper)\
**Post date:** [October 20, 2019, 8:00pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/7 "2019-10-20T20:00:48Z")

</div>

> [@hobb7t](#):
>
> curl: (6) Could not resolve host: [getcomposer.org](http://getcomposer.org)

You need to be connected to the internet with a working connection to the web.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 21, 2019, 11:57am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/9 "2019-10-21T11:57:18Z")

</div>

The device was connected on the web through WiFi, that’s how i cloned the files from GitHub

---

<div class="post-metadata">

**Author:** ![paddatrapper](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/paddatrapper/32/675_2.png) [@paddatrapper](https://discourse.libretime.org/u/paddatrapper)\
**Post date:** [October 21, 2019, 12:51pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/10 "2019-10-21T12:51:20Z")

</div>

From a shell on the Raspberry Pi, what is the output of the following?

```
ping getcomposer.org
```

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 24, 2019, 1:18pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/11 "2019-10-24T13:18:30Z")

</div>

i got pings like 80-121ms with some spikes but i get the bytes normaly

EDIT\*

Finally after a reboot and running the installer again, the installation downloaded getcomposer, also i saw many new files and packages coming on!

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 24, 2019, 1:45pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/12 "2019-10-24T13:45:30Z")

</div>

everything seems that installed correctly. Im facing a problem with the setup of the database! Im hitting the localhost which leads me to the Database Settings window where i should use a username password name and host. At first there are some information written on, but these are not working 😕

got the SQLSTATE[08006] FATAL

I’ve read on a post of yours that this may be similar error due to locale?

_EDIT_ again it was my mistake trying to edit the default password, the first step was finished, then on second step i didn’t edited anything and when i click next i receive

> Couldn’t connect to RabbitMQ server! Please check if the server is running and your credentials are correct.

_EDIT_ rebooting and try again, passed the second step. everything looks running up and im really happy with the brand new looking, thanks for your time guys, i really appreciate your effort

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 24, 2019, 2:55pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/13 "2019-10-24T14:55:12Z")

</div>

I found a bug on calendar. Im trying to schedule a show on Sunday, which is starting on 00:00 am and stops on 03:00.

When i click the ending time, the show duration says 4 hours. The problems seems to be between 2 and 3 AM as there is a one hour missing on duration! If i schedule the show on repeat, the first Sunday shows normal but the next shows are scheduled between 00:00 to 04:00

Any comment?

---

<div class="post-metadata">

**Author:** ![lsk](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@lsk](https://discourse.libretime.org/u/lsk)\
**Post date:** [October 25, 2019, 12:25pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/14 "2019-10-25T12:25:26Z")

</div>

Maybe it’s the time change in your country? next weekend in some European countries changes the hour in the range where you have problems. I had those same problems in old Airtime installations with the summer and winter time changes. I guess that bug from Airtime is maintained in Libretime.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 29, 2019, 1:09pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/15 "2019-10-29T13:09:34Z")

</div>

Yes, you where totally right on that one! thank you so much.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 29, 2019, 1:29pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/16 "2019-10-29T13:29:40Z")

</div>

Finally i faced the .mp3 importation failure, i’ve read some topics on the forum but is there anything that works? like, do i need to upgrade Liquidsoap as that [guide said?](https://github.com/LibreTime/libretime/issues/192)  
Using the opam solution?

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 30, 2019, 7:24pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/17 "2019-10-30T19:24:05Z")

</div>

Here is my log  
should i install silan? how? as i get more libraries missing ☹

2019-10-29 15:13:15,905 [message\_listener] [INFO] - Received ‘{“tmp\_file\_path”:"/srv/airtime/stor/organize/bonzai\_progressive\_bonzai\_basik\_beats\_477\_with\_karim\_s.mp3",“storage\_backend”:“file”,“import\_directory”:"/srv/airtime/stor//imported/1",“original\_filename”:“bonzai\_progressive\_bonzai\_basik\_beats\_477\_with\_karim\_s.mp3”,“callback\_url”:“[http://127.0.1.1//rest/media/1",“api\_key”:“1FC35I8KI6N9ANUKU0TU”,“file\_prefix”:"](http://127.0.1.1//rest/media/1%22,%22api_key%22:%221FC35I8KI6N9ANUKU0TU%22,%22file_prefix%22:%22)”}’ on routing\_key ‘’  
2019-10-29 15:13:32,347 [cuepoint\_analyzer] [WARNI] Failed to run: silan - No such file or directory. Do you have silan installed?  
2019-10-29 15:16:16,721 [playability\_analyzer] [WARNI] Command ‘[‘liquidsoap’, ‘-v’, ‘-c’, ‘output.dummy(audio\_to\_stereo(single(argv(1))))’, ‘–’, u’/srv/airtime/stor/organize/bonzai\_progressive\_bonzai\_basik\_beats\_477\_with\_karim\_s.mp3’]’ returned non-zero exit status -11  
2019-10-29 15:16:16,725 [analyzer\_pipeline] [ERROR]  
Traceback (most recent call last):  
File “/usr/local/lib/python2.7/dist-packages/airtime\_analyzer-0.1-py2.7.egg/airtime\_analyzer/analyzer\_pipeline.py”, line 69, in run\_analysis  
metadata = PlayabilityAnalyzer.analyze(audio\_file\_path, metadata)  
File “/usr/local/lib/python2.7/dist-packages/airtime\_analyzer-0.1-py2.7.egg/airtime\_analyzer/playability\_analyzer.py”, line 30, in analyze  
raise UnplayableFileError()  
UnplayableFileError  
2019-10-29 15:16:16,729 [message\_listener] [ERROR] Analyzer pipeline exception:  
2019-10-29 15:16:16,733 [message\_listener] [ERROR] Connection to message queue failed.  
2019-10-29 15:16:16,733 [message\_listener] [ERROR]  
2019-10-29 15:16:16,734 [message\_listener] [INFO] Retrying in 5 seconds…  
2019-10-29 15:16:16,971 [status\_reporter] [INFO] HTTP request sent successfully.  
2019-10-29 15:16:21,766 [message\_listener] [INFO] Listening for messages…  
2019-10-29 15:16:21,771 [message\_listener] [INFO] - Received ‘{“tmp\_file\_path”:"/srv/airtime/stor/organize/bonzai\_progressive\_bonzai\_basik\_beats\_477\_with\_karim\_s.mp3",“storage\_backend”:“file”,“import\_directory”:"/srv/airtime/stor//imported/1",“original\_filename”:“bonzai\_progressive\_bonzai\_basik\_beats\_477\_with\_karim\_s.mp3”,“callback\_url”:“[http://127.0.1.1//rest/media/1",“api\_key”:“1FC35I8KI6N9ANUKU0TU”,“file\_prefix”:"](http://127.0.1.1//rest/media/1%22,%22api_key%22:%221FC35I8KI6N9ANUKU0TU%22,%22file_prefix%22:%22)”}’ on routing\_key ‘’  
2019-10-29 15:16:22,871 [cuepoint\_analyzer] [WARNI] Failed to run: silan - No such file or directory. Do you have silan installed?  
2019-10-29 15:19:02,150 [playability\_analyzer] [WARNI] Command ‘[‘liquidsoap’, ‘-v’, ‘-c’, ‘output.dummy(audio\_to\_stereo(single(argv(1))))’, ‘–’, u’/srv/airtime/stor/organize/bonzai\_progressive\_bonzai\_basik\_beats\_477\_with\_karim\_s.mp3’]’ returned non-zero exit status -11  
2019-10-29 15:19:02,151 [analyzer\_pipeline] [ERROR]  
Traceback (most recent call last):  
File “/usr/local/lib/python2.7/dist-packages/airtime\_analyzer-0.1-py2.7.egg/airtime\_analyzer/analyzer\_pipeline.py”, line 69, in run\_analysis  
metadata = PlayabilityAnalyzer.analyze(audio\_file\_path, metadata)  
File “/usr/local/lib/python2.7/dist-packages/airtime\_analyzer-0.1-py2.7.egg/airtime\_analyzer/playability\_analyzer.py”, line 30, in analyze  
raise UnplayableFileError()  
UnplayableFileError

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [October 30, 2019, 7:30pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/18 "2019-10-30T19:30:00Z")

</div>

also when im trying install silan i got this

sudo apt-get install silan  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
silan is already the newest version (0.3.3~nmu1).  
You might want to run ‘apt --fix-broken install’ to correct these.  
The following packages have unmet dependencies:  
silan : Depends: libavcodec56 (\>= 6:11~beta1) but it is not installable or  
libavcodec-extra-56 (\>= 6:11.9) but it is not installable  
Depends: libavformat56 (\>= 6:11~beta1) but it is not installable  
Depends: libavutil54 (\>= 6:11~beta1) but it is not installable  
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [November 2, 2019, 12:05pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/19 "2019-11-02T12:05:50Z")

</div>

After running the apt --fix command i can’t access the UI of libretime anymore, i tried to reinstall Silan 0.3.3 nmu1 but i still get the libavcoded error 😕 anybody has any idea?

---

<div class="post-metadata">

**Author:** ![codenift](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/codenift/32/165_2.png) [@codenift](https://discourse.libretime.org/u/codenift)\
**Post date:** [November 4, 2019, 2:05am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/20 "2019-11-04T02:05:31Z")

</div>

What if you use Ubuntu 18.04 instead of Debian and see if that works. I had some trouble with Debian and Libretime before and just went with Ubuntu 18.04 which seems to work the best.

> **[Install Ubuntu MATE 18.04 on Raspberry Pi 3 B+ - The Robotics Back-End](https://roboticsbackend.com/install-ubuntu-mate-18-04-on-raspberry-pi-3-b/)**
>
> Install Ubuntu MATE 18.04 on your Raspberry Pi 3 B+. Step by step guide with tips on how to configure it with ssh, so you can use your Pi without a screen!

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [December 5, 2019, 6:51pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/21 "2019-12-05T18:51:57Z")

</div>

Ah man! For real Ubuntu MATE just made my life worst 😛

Well at first MATE has serious problems with the WiFi on pi. I don’t know why but it seems that is also killing my network’s bandwidth without a reason.

Now i have to try again with Stretch. Is there any useful tip on how to fix that .mp3 uploading failure?

[Next page](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401.md?page=2)
