Migrated from 3.xx using the comand line instruction - Mostly worked, except for reforis -Any thing I can do?

Migrated from 3.xx using the comand line instruction - Mostly worked, except for reforis -Any thing I can do?

Migrated from 3.xx using the command line instruction - Mostly worked, except for ReForis -Any thing I can do?
The error I get is as follows

<big><big> **ControllerMissing** </big></big> Python 3.7.8: /usr/bin/python3
Wed Sep 2 19:40:01 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', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_DNT': '1', 'HTTP_HOST': '192.168.1.1', 'HTTP_REFERER': 'http://192.168.1.1/', ...}, start_response=<function BaseFCGIServer.handler.<locals>.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', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_DNT': '1', 'HTTP_HOST': '192.168.1.1', 'HTTP_REFERER': 'http://192.168.1.1/', ...}, start_response=<function BaseFCGIServer.handler.<locals>.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', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_DNT': '1', 'HTTP_HOST': '192.168.1.1', 'HTTP_REFERER': 'http://192.168.1.1/', ...}, start_response=<function BaseFCGIServer.handler.<locals>.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=ControllerMissing('Connection to controller 000002F021231B59 is lost.'))

[/usr/lib/python3.7/site-packages/reforis/__init__.py](file:///usr/lib/python3.7/site-packages/reforis/__init__.py) in **internal_error** (error=ControllerMissing('Connection to controller 000002F021231B59 is lost.'))

[/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': ControllerMissing('Connection to controller 000002F021231B59 is lost.'), 'g': <flask.ctx._AppCtxGlobals object>, 'request': <Request 'http://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': ControllerMissing('Connection to controller 000002F021231B59 is lost.'), 'g': <flask.ctx._AppCtxGlobals object>, 'request': <Request 'http://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/flask_babel/__init__.py](file:///usr/lib/python3.7/site-packages/flask_babel/__init__.py) in **get_locale** ()

[/usr/lib/python3.7/site-packages/reforis/__init__.py](file:///usr/lib/python3.7/site-packages/reforis/__init__.py) in **get_locale** ()

[/usr/lib/python3.7/site-packages/reforis/__init__.py](file:///usr/lib/python3.7/site-packages/reforis/__init__.py) in **_get_locale_from_backend** (app=<Flask 'reforis'>)

[/usr/lib/python3.7/site-packages/reforis/backend.py](file:///usr/lib/python3.7/site-packages/reforis/backend.py) in **perform** (self=MqttSender, module='web', action='get_data', data=None, raise_exception_on_failure=True, controller_id=None)

[/usr/lib/python3.7/site-packages/reforis/backend.py](file:///usr/lib/python3.7/site-packages/reforis/backend.py) in **perform** (self=MqttSender, module='web', action='get_data', data=None, raise_exception_on_failure=True, controller_id=None)

[/usr/lib/python3.7/site-packages/reforis/backend.py](file:///usr/lib/python3.7/site-packages/reforis/backend.py) in **_send** (self=MqttSender, module='web', action='get_data', data=None, controller_id=None)

[/usr/lib/python3.7/site-packages/foris_client/buses/mqtt.py](file:///usr/lib/python3.7/site-packages/foris_client/buses/mqtt.py) in **send** (self=<foris_client.buses.mqtt.MqttSender object>, module='web', action='get_data', data=None, timeout=30.0, controller_id='000002F021231B59')

[/usr/lib/python3.7/site-packages/foris_client/buses/mqtt.py](file:///usr/lib/python3.7/site-packages/foris_client/buses/mqtt.py) in **check_controllers** ()

**ControllerMissing** : Connection to controller 000002F021231B59 is lost.
 args = ('Connection to controller 000002F021231B59 is lost.',)
 device_id = '000002F021231B59'
 with_traceback = <built-in method with_traceback of ControllerMissing object>
1 Like

I’m experiencing the same problem. I tried to install other packages related to foris via LUCI but without success.
I just want to add - I have this problem on Omnia, my MOX is OK - ReForis is working there.

Solution is here: Can not use Reforis on TOS 5+ - ControllerMissing

There are now two threads about it, so closing this one.