# Upgrade from 3.0.0-alpha.10 to 3.0.0-alpha.12

**URL:** <https://discourse.libretime.org/t/upgrade-from-3-0-0-alpha-10-to-3-0-0-alpha-12/1214>\
**Category:** Get Help\
**Created:** [April 5, 2022, 9:55am UTC](https://discourse.libretime.org/t/upgrade-from-3-0-0-alpha-10-to-3-0-0-alpha-12/1214 "2022-04-05T09:55:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lazydog](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@Lazydog](https://discourse.libretime.org/u/Lazydog)\
**Post date:** [April 5, 2022, 9:55am UTC](https://discourse.libretime.org/t/upgrade-from-3-0-0-alpha-10-to-3-0-0-alpha-12/1214/1 "2022-04-05T09:55:09Z")

</div>

alpha 10 is on a server running ubuntu Bionic my test server is running Focal I wish to upgrade a alpha 10 which wont work correctly with webstreams it cuts out after approx 10 mins but have tested alpha 12 and seems bug is fixed but … we feed alot from our libretime to our webpage and want to continue doing so [https://blues-at.co.uk/](https://blues-at.co.uk/)  
Has anyone any advice on upgrading Ubuntu and libretime please.

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [April 5, 2022, 10:16am UTC](https://discourse.libretime.org/t/upgrade-from-3-0-0-alpha-10-to-3-0-0-alpha-12/1214/2 "2022-04-05T10:16:21Z")

</div>

As for any upgrade properly backup your installation and prepare for a disaster recovery.

You also need to read the upgrade procedure thoroughly.

I don’t want to rewrite what is already in the documentation, please read it and you should be good to go.

> **[Upgrade | LibreTime](https://libretime.org/docs/admin-manual/setup/upgrade/)**
>
> This guide walk you though the steps required to upgrade LibreTime.

> **[LibreTime 3.0.0 alpha 11 | LibreTime](https://libretime.org/docs/releases/3.0.0-alpha.11/)**
>
> Contributors

> **[LibreTime 3.0.0 alpha 12 | LibreTime](https://libretime.org/docs/releases/3.0.0-alpha.12/)**
>
> Contributors

Cheers

---

<div class="post-metadata">

**Author:** ![Lazydog](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@Lazydog](https://discourse.libretime.org/u/Lazydog)\
**Post date:** [April 5, 2022, 10:18am UTC](https://discourse.libretime.org/t/upgrade-from-3-0-0-alpha-10-to-3-0-0-alpha-12/1214/3 "2022-04-05T10:18:49Z")

</div>

Thankyou Joola will post back here in a few days time with how we get on appreciate all the hard work being done on Libretime.

---

<div class="post-metadata">

**Author:** ![Lazydog](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@Lazydog](https://discourse.libretime.org/u/Lazydog)\
**Post date:** [April 10, 2022, 10:31am UTC](https://discourse.libretime.org/t/upgrade-from-3-0-0-alpha-10-to-3-0-0-alpha-12/1214/4 "2022-04-10T10:31:26Z")

</div>

> [@Upgrading LT v10 -\> 11 Installer STOPS Issues](https://discourse.libretime.org/t/upgrading-lt-v10-11-installer-stops-issues/1218):
>
> #1 add-apt-repository: command not found error in Ubuntu 18.04. Installer fails. Proposed Solution - add this at the top of the installer (I have reported this several times and repeatedly told it is in all versions of Ubuntu, but it is not). sudo apt-get install software-properties-common #2 Installer STOPS make[2]: Leaving directory ‘/root/libretime/legacy/locale’ make[1]: Leaving directory ‘/root/libretime/legacy’ make: Leaving directory ‘/root/libretime/legacy’ Install default Airtime…

---

<div class="post-metadata">

**Author:** ![Lazydog](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@Lazydog](https://discourse.libretime.org/u/Lazydog)\
**Post date:** [April 13, 2022, 6:57pm UTC](https://discourse.libretime.org/t/upgrade-from-3-0-0-alpha-10-to-3-0-0-alpha-12/1214/5 "2022-04-13T18:57:34Z")

</div>

updated server to 20.4 and tried an install of alpha 11 as upgade that failed so clean server with 20.4 and install of alpha12 and replaced stor and DB a bit of fettling and it worked stream webstreams and everything but on uploading files seems we have a problem with slightly larger files as in mainly shows that are over an hour in length and extract from analyzer as below :-  
FileNotFoundError: [Errno 2] No such file or directory: ‘/srv/airtime/stor/organize/BLues is the truth 599\_mixdown.ogg’  
2022-04-13 18:01:31.173 | ERROR | libretime\_analyzer.message\_listener:spawn\_analyzer\_process:267 - Analyzer pipeline exception: [Errno 2] No such file or directory: ‘/srv/airtime/stor/organize/BLues is the truth 599\_mixdown.ogg’  
2022-04-13 18:01:31.312 | INFO | libretime\_analyzer.status\_reporter:send\_http\_request:123 - HTTP request sent successfully.  
2022-04-13 18:25:19.153 | INFO | libretime\_analyzer.message\_listener:msg\_received\_callback:144 - - Received ‘b’{“tmp\_file\_path”:“\/srv\/airtime\/stor\/organize\/Bluestestshow.mp3”,“storage\_backend”:“file”,“import\_directory”:“\/srv\/airtime\/stor\/\/imported\/1”,“original\_filename”:“Bluestestshow.mp3”,“callback\_url”:“http:\/\/?.?.?.?.?\/\/rest\/media\/1553”,“api\_key”:“GY4BP87WZ8H1IYYARX3R”,“file\_prefix”:“”}‘’ on routing\_key ‘’  
2022-04-13 18:29:47.041 | ERROR | libretime\_analyzer.message\_listener: **init** :85 - Connection to message queue failed.  
2022-04-13 18:29:47.044 | ERROR | libretime\_analyzer.message\_listener: **init** :86 - Stream connection lost: ConnectionResetError(104, ‘Connection reset by peer’)  
2022-04-13 18:29:47.046 | INFO | libretime\_analyzer.message\_listener: **init** :87 - Retrying in 5 seconds…  
2022-04-13 18:29:47.230 | INFO | libretime\_analyzer.status\_reporter:send\_http\_request:123 - HTTP request sent successfully.  
2022-04-13 18:29:52.080 | INFO | libretime\_analyzer.message\_listener:connect\_to\_messaging\_server:116 - Listening for messages…  
2022-04-13 18:29:52.084 | INFO | libretime\_analyzer.message\_listener:msg\_received\_callback:144 - - Received ‘b’{“tmp\_file\_path”:“\/srv\/airtime\/stor\/organize\/Bluestestshow.mp3”,“storage\_backend”:“file”,“import\_directory”:“\/srv\/airtime\/stor\/\/imported\/1”,“original\_filename”:“Bluestestshow.mp3”,“callback\_url”:“http:\/\/?.?.?.?.?\/\/rest\/media\/1553”,“api\_key”:“GY4BP87WZ8H1IYYARX3R”,“file\_prefix”:“”}‘’ on routing\_key ‘’  
2022-04-13 18:29:52.086 | ERROR | libretime\_analyzer.pipeline.pipeline:run\_analysis:120 - [Errno 2] No such file or directory: ‘/srv/airtime/stor/organize/Bluestestshow.mp3’  
Traceback (most recent call last):

File “/usr/local/bin/libretime-analyzer”, line 8, in   
sys.exit(cli())  
│ │ └   
│ └   
└ \<module ‘sys’ (built-in)\>

File “/usr/local/lib/python3.8/dist-packages/click/core.py”, line 1130, in **call**  
return self.main(\*args, \*\*kwargs)  
│ │ │ └ {}  
│ │ └ ()  
│ └ \<function BaseCommand.main at 0x7f3922aa4310\>  
└

File “/usr/local/lib/python3.8/dist-packages/click/core.py”, line 1055, in main  
rv = self.invoke(ctx)  
│ │ └ \<click.core.Context object at 0x7f3922d1c430\>  
│ └ \<function Command.invoke at 0x7f3922aa4dc0\>  
└

File “/usr/local/lib/python3.8/dist-packages/click/core.py”, line 1404, in invoke  
return ctx.invoke(self.callback, \*\*ctx.params)  
│ │ │ │ │ └ {‘log\_filepath’: PosixPath(‘/var/log/libretime/analyzer.log’), ‘log\_level’: ‘info’, ‘config\_filepath’: PosixPath('/etc/airtim…  
│ │ │ │ └ \<click.core.Context object at 0x7f3922d1c430\>  
│ │ │ └ \<function cli at 0x7f39215aa700\>  
│ │ └   
│ └ \<function Context.invoke at 0x7f3922aa1b80\>  
└ \<click.core.Context object at 0x7f3922d1c430\>

File “/usr/local/lib/python3.8/dist-packages/click/core.py”, line 760, in invoke  
return \_\_callback(\*args, \*\*kwargs)  
│ └ {‘log\_filepath’: PosixPath(‘/var/log/libretime/analyzer.log’), ‘log\_level’: ‘info’, ‘config\_filepath’: PosixPath('/etc/airtim…  
└ ()

File “/usr/local/lib/python3.8/dist-packages/libretime\_analyzer/main.py”, line 45, in cli  
\_msg\_listener = MessageListener(config.rabbitmq)  
│ │ └ RabbitMQConfig(host=‘127.0.0.1’, port=5672, name=‘libretime’, user=‘airtime’, password=‘airtime’, vhost=‘/airtime’)  
│ └ Config(rabbitmq=RabbitMQConfig(host=‘127.0.0.1’, port=5672, name=‘libretime’, user=‘airtime’, password=‘airtime’, vhost='/air…  
└ \<class ‘libretime\_analyzer.message\_listener.MessageListener’\>

File “/usr/local/lib/python3.8/dist-packages/libretime\_analyzer/message\_listener.py”, line 77, in **init**  
self.wait\_for\_messages()  
│ └ \<function MessageListener.wait\_for\_messages at 0x7f39215aa310\>  
└ \<libretime\_analyzer.message\_listener.MessageListener object at 0x7f3921574850\>

File “/usr/local/lib/python3.8/dist-packages/libretime\_analyzer/message\_listener.py”, line 121, in wait\_for\_messages  
self.\_channel.start\_consuming()  
│ │ └ \<function BlockingChannel.start\_consuming at 0x7f39218e5dc0\>  
│ └ \<BlockingChannel impl=\<Channel number=1 OPEN conn=\<SelectConnection OPEN transport=\<pika.adapters.utils.io\_services\_utils.\_As…  
└ \<libretime\_analyzer.message\_listener.MessageListener object at 0x7f3921574850\>

File “/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking\_connection.py”, line 1865, in start\_consuming  
self.\_process\_data\_events(time\_limit=None)  
│ └ \<function BlockingChannel.\_process\_data\_events at 0x7f39218e5f70\>  
└ \<BlockingChannel impl=\<Channel number=1 OPEN conn=\<SelectConnection OPEN transport=\<pika.adapters.utils.io\_services\_utils.\_As…

File “/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking\_connection.py”, line 2026, in \_process\_data\_events  
self.connection.process\_data\_events(time\_limit=time\_limit)  
│ │ └ None  
│ └ \<property object at 0x7f39218ddae0\>  
└ \<BlockingChannel impl=\<Channel number=1 OPEN conn=\<SelectConnection OPEN transport=\<pika.adapters.utils.io\_services\_utils.\_As…

File “/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking\_connection.py”, line 833, in process\_data\_events  
self.\_dispatch\_channel\_events()  
│ └ \<function BlockingConnection.\_dispatch\_channel\_events at 0x7f39218de670\>  
└ \<BlockingConnection impl=\<SelectConnection OPEN transport=\<pika.adapters.utils.io\_services\_utils.\_AsyncPlaintextTransport obj…

File “/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking\_connection.py”, line 567, in \_dispatch\_channel\_events  
impl\_channel.\_get\_cookie().\_dispatch\_events()  
│ └ \<function Channel.\_get\_cookie at 0x7f39219ce040\>  
└ \<Channel number=1 OPEN conn=\<SelectConnection OPEN transport=\<pika.adapters.utils.io\_services\_utils.\_AsyncPlaintextTransport …

File “/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking\_connection.py”, line 1492, in \_dispatch\_events  
consumer\_info.on\_message\_callback(self, evt.method,  
│ │ │ │ └ \<member ‘method’ of ‘\_ConsumerDeliveryEvt’ objects\>  
│ │ │ └ \<pika.adapters.blocking\_connection.\_ConsumerDeliveryEvt object at 0x7f3920134bd0\>  
│ │ └ \<BlockingChannel impl=\<Channel number=1 OPEN conn=\<SelectConnection OPEN transport=\<pika.adapters.utils.io\_services\_utils.\_As…  
│ └ \<member ‘on\_message\_callback’ of ‘\_ConsumerInfo’ objects\>  
└ \<pika.adapters.blocking\_connection.\_ConsumerInfo object at 0x7f39223404a0\>

File “/usr/local/lib/python3.8/dist-packages/libretime\_analyzer/message\_listener.py”, line 176, in msg\_received\_callback  
audio\_metadata = MessageListener.spawn\_analyzer\_process(  
│ └ \<staticmethod object at 0x7f3921af48e0\>  
└ \<class ‘libretime\_analyzer.message\_listener.MessageListener’\>

File “/usr/local/lib/python3.8/dist-packages/libretime\_analyzer/message\_listener.py”, line 257, in spawn\_analyzer\_process  
Pipeline.run\_analysis(  
│ └ \<staticmethod object at 0x7f3921985820\>  
└ \<class ‘libretime\_analyzer.pipeline.pipeline.Pipeline’\>

> File “/usr/local/lib/python3.8/dist-packages/libretime\_analyzer/pipeline/pipeline.py”, line 96, in run\_analysis  
> metadata = analyze\_metadata(audio\_file\_path, metadata)  
> │ │ └ {‘file\_prefix’: ‘’, ‘ftype’: ‘audioclip’, ‘hidden’: False}  
> │ └ ‘/srv/airtime/stor/organize/Bluestestshow.mp3’  
> └ \<function analyze\_metadata at 0x7f39218ec310\>

File “/usr/local/lib/python3.8/dist-packages/libretime\_analyzer/pipeline/analyze\_metadata.py”, line 21, in analyze\_metadata  
metadata[“filesize”] = filepath.stat().st\_size  
│ │ └ \<function Path.stat at 0x7f3922cbc5e0\>  
│ └ PosixPath(‘/srv/airtime/stor/organize/Bluestestshow.mp3’)  
└ {‘file\_prefix’: ‘’, ‘ftype’: ‘audioclip’, ‘hidden’: False}

File “/usr/lib/python3.8/pathlib.py”, line 1198, in stat  
return self.\_accessor.stat(self)  
│ │ └ PosixPath(‘/srv/airtime/stor/organize/Bluestestshow.mp3’)  
│ └ \<member ‘\_accessor’ of ‘Path’ objects\>  
└ PosixPath(‘/srv/airtime/stor/organize/Bluestestshow.mp3’)

FileNotFoundError: [Errno 2] No such file or directory: ‘/srv/airtime/stor/organize/Bluestestshow.mp3’  
2022-04-13 18:29:52.112 | ERROR | libretime\_analyzer.message\_listener:spawn\_analyzer\_process:267 - Analyzer pipeline exception: [Errno 2] No such file or directory: ‘/srv/airtime/stor/organize/Bluestestshow.mp3’  
2022-04-13 18:29:52.263 | INFO | libretime\_analyzer.status\_reporter:send\_http\_request:123 - HTTP request sent successfully.
