Turris OS 5.1.1 is in HBT (Testing) branch

Dear Turris community,

We want you to ensure that we are looking at issues, which some of you encountered and reported us in the thread for Turris OS 5.1.

Therefore, in HBT (Testing) branch you can now find a fixup release Turris OS 5.1.1. It is based on the top of OpenWrt 19.07.4, which was released recently. Many of those changes were already included in Turris OS 5.1 as we are following the OpenWrt 19.07 branch. This can be checked in file git-hash on repo.turris.cz

In this release, you can find fixes for Sentinel logging and in some cases, we found out that we overwrote the configuration file for Foris, and in this update, we restore it from snapshots.
Some of you reported to us error message while using Foris/reForis about /proc/cmdline, this is going to be fixed in RC2.

However, if you find any bugs, please report them in the correct ways.

1 Like

MOX Classic, .5 GB, simple config.

reForis error:

AttributeError Python 3.7.8: /usr/bin/python3
Fri Sep 18 21:34:15 2020

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

[/usr/lib/python3.7/site-packages/flup/server/fcgi_base.py](file:///usr/lib/python3.7/site-packages/flup/server/fcgi_base.py) in run (self=<flup.server.fcgi_base.Request object>)

[/usr/lib/python3.7/site-packages/flup/server/fcgi_base.py](file:///usr/lib/python3.7/site-packages/flup/server/fcgi_base.py) in handler (self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)

[/usr/lib/python3.7/site-packages/reforis/main.py](file:///usr/lib/python3.7/site-packages/reforis/main.py) in call (self=<reforis.main.AppWrapper object>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTPS’: ‘on’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;…,/;q=0.8,application/signed-exchange;v=b3;q=0.9’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate, br’, ‘HTTP_ACCEPT_LANGUAGE’: ‘cs-CZ,cs;q=0.9,en-US;q=0.8,en;q=0.7’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_HOST’: ‘192.168.1.1’, ‘HTTP_REFERER’: ‘https://192.168.1.1/’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.7/site-packages/flask/app.py](file:///usr/lib/python3.7/site-packages/flask/app.py) in call (self=<Flask ‘reforis’>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTPS’: ‘on’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;…,/;q=0.8,application/signed-exchange;v=b3;q=0.9’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate, br’, ‘HTTP_ACCEPT_LANGUAGE’: ‘cs-CZ,cs;q=0.9,en-US;q=0.8,en;q=0.7’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_HOST’: ‘192.168.1.1’, ‘HTTP_REFERER’: ‘https://192.168.1.1/’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.7/site-packages/flask/app.py](file:///usr/lib/python3.7/site-packages/flask/app.py) in wsgi_app (self=<Flask ‘reforis’>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTPS’: ‘on’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;…,/;q=0.8,application/signed-exchange;v=b3;q=0.9’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate, br’, ‘HTTP_ACCEPT_LANGUAGE’: ‘cs-CZ,cs;q=0.9,en-US;q=0.8,en;q=0.7’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_HOST’: ‘192.168.1.1’, ‘HTTP_REFERER’: ‘https://192.168.1.1/’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.7/site-packages/flask/app.py](file:///usr/lib/python3.7/site-packages/flask/app.py) in handle_exception (self=<Flask ‘reforis’>, e=AttributeError("‘NullTranslations’ object has no attribute ‘json_catalog’"))

[/usr/lib/python3.7/site-packages/reforis/init.py](file:///usr/lib/python3.7/site-packages/reforis/init.py) in internal_error (error=AttributeError("‘NullTranslations’ object has no attribute ‘json_catalog’"))

[/usr/lib/python3.7/site-packages/flask/templating.py](file:///usr/lib/python3.7/site-packages/flask/templating.py) in render_template (template_name_or_list=‘errors/500.html’, **context={‘error’: AttributeError("‘NullTranslations’ object has no attribute ‘json_catalog’"), ‘g’: <flask.ctx._AppCtxGlobals object>, ‘request’: <Request ‘https://192.168.1.1/reforis/’ [GET]>, ‘session’: <FileSystemSession {’_permanent’: True}>})

[/usr/lib/python3.7/site-packages/flask/app.py](file:///usr/lib/python3.7/site-packages/flask/app.py) in update_template_context (self=<Flask ‘reforis’>, context={‘error’: AttributeError("‘NullTranslations’ object has no attribute ‘json_catalog’"), ‘g’: <flask.ctx._AppCtxGlobals object>, ‘request’: <Request ‘https://192.168.1.1/reforis/’ [GET]>, ‘session’: <FileSystemSession {’_permanent’: True}>})

[/usr/lib/python3.7/site-packages/reforis/init.py](file:///usr/lib/python3.7/site-packages/reforis/init.py) in add_translations_catalog_to_ctx ()

[/usr/lib/python3.7/site-packages/reforis/locale.py](file:///usr/lib/python3.7/site-packages/reforis/locale.py) in get_translations ()

AttributeError : ‘NullTranslations’ object has no attribute ‘json_catalog’
args = ("‘NullTranslations’ object has no attribute ‘json_catalog’",)
with_traceback =

Are you are using HBK, don’t you? Because in the HBT, there isn’t such an error.

Yes, I’m. Sorry not mention it. I updated to 5.1.1 manualy using CLI pkgupdate.

Dear Turris users,

Today, we released the RC2 version of Turris OS 5.1.1. There are several security fixes for ffmpeg, zmq, libxml2, and various improvements in Schnapps,. We suppressed error log about /proc/cmdline in Foris-controller.

MOX A with SDIO wi-fi.

[   14.104914] sdio platform data not available

[   14.315924] mwifiex_sdio mmc0:0001:1: WLAN is not the winner! Skip FW dnld

[   14.684848] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   14.720698] mwifiex_sdio mmc0:0001:1: Unknown api_id: 3
[   14.726295] mwifiex_sdio mmc0:0001:1: Unknown api_id: 4
[   14.731746] mwifiex_sdio mmc0:0001:1: Unknown GET_HW_SPEC TLV type: 0x217
[   14.768372] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p197)
[   14.776804] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (16.68.1.p197)

[   19.036958] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x20 error, result=0x1

What you would like to tell us? It didn’t download firmware for that SDIO card as it loaded the one, which we shipped.

And… now, there is an RC3 version of Turris OS 5.1.1. There a few changes primary in packages feed, where you can now find, for example, updated ocserv.

And its out for everyone. Main thread will follow in a sec.