I’ve rebooted my router and no longer have access to foris. Luci is OK however?
I am getting 404 - Not Found for http://192.168.1.1/foris/
however http://192.168.1.1/cgi-bin/luci/admin/status/overview works fine!
I’ve rebooted my router and no longer have access to foris. Luci is OK however?
I am getting 404 - Not Found for http://192.168.1.1/foris/
however http://192.168.1.1/cgi-bin/luci/admin/status/overview works fine!
Thanks for the quick reply… On Chrome, http://192.168.1.1/ auto completes in to http://192.168.1.1/foris/ and that 404’s
I did manage to get up a white blank page when then jumped straight to the /forris/ 404 again…
However - I just tried firefox and that resolved in to http://192.168.1.1/foris/config/ which works!
Looks like it might be browser related rather than router related… any idea how to remove the auto complete from Chrome so I can get back to the right url?
I had the same problem. I believe it’s related to the cached redirection in the browser for http://192.168.1.1/
.
I do have the same problem:
But my foris is really gone (package has been uninstalled by the update)…
You’re right - deleting the cache in firefox solves that issue (as long as foris has not been uninstalled )
Is it just me, or does anyone else get an python error on https://$TURRISIP/foris/config?
/var/log/lighttpd/error.log gives me
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: Traceback (most recent call last):
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: File "/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py", line 558, in run
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: protocolStatus, appStatus = self.server.handler(self)
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: File "/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py", line 1118, in handler
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: result = self.application(environ, start_response)
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: File "/usr/lib/python2.7/site-packages/foris/middleware/language_switch.py", line 32, in __call__
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: get_current_language() # it also sets the current languge in the app state structure
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: File "/usr/lib/python2.7/site-packages/foris/utils/translators.py", line 49, in get_current_language
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: lang = current_state.backend.perform("web", "get_language", {})["language"]
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: File "/usr/lib/python2.7/site-packages/foris/backend.py", line 49, in perform
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: response = self._instance.send(module, action, data or {})
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: File "/usr/lib/python2.7/site-packages/foris_client/buses/ubus.py", line 83, in send
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: res = ubus.call(ubus_object, action, message, timeout=timeout)
2017-12-13 11:00:13: (mod_fastcgi.c.2543) FastCGI-stderr: RuntimeError: Object 'foris-controller-web' was not found.
Yeah, but no install candidate, nothing installed, and not deinstalled by myself…
Hello,
please can you restart router and tell us if it works?
Same.
(post must be at…)
Ok. So, please can you try to run manually updater.sh and if it doesn’t show anything related to your’s issue and it also doesn’t work after update then please can you try to run this via SSH?
/etc/init.d/foris-controller restart
If it doesn’t work, then please run this and then visit Foris.
/etc/init.d/foris-controller stop ; foris-controller -b openwrt -d ubus
There are two options:
It works, then great! Terminate it and just run
/etc/init.d/foris-controller start
If it doesn’t work send us output, thank you.
Opera browser
http://192.168.2.1 ==> http://192.168.2.1/foris/ 404 - Not Found
https://192.168.2.1/ ==> https://192.168.2.1/foris/config/ … work
http://192.168.2.1/foris/config/ … work
root@Omnia:~# /etc/init.d/foris-controller stop
root@Omnia:~# foris-controller -b openwrt -d ubus
INFO:foris_controller:Foris controller is starting.
INFO:foris_controller:Using ubus to recieve commands.
DEBUG:foris_controller.buses.ubus:Starting to create workers for ubus.
DEBUG:foris_controller.buses.ubus:Ubus workers successfully initialized.
INFO:foris_controller:Using OpenWRT config backend.
DEBUG:foris_controller.app:Trying to load module 'about'.
DEBUG:foris_controller.app:Trying to load module 'data_collect'.
DEBUG:foris_controller.app:Trying to load module 'diagnostics'.
DEBUG:foris_controller.app:Trying to load module 'dns'.
DEBUG:foris_controller.app:Trying to load module 'web'.
DEBUG:foris_controller.app:Modules loaded ['web', 'about', 'diagnostics', 'dns', 'data_collect'].
DEBUG:foris_controller:Entering main loop.
DEBUG:foris_controller.buses.ubus:Starting to run workers.
DEBUG:foris_controller.buses.ubus:All workers started.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-data_collect' object.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-about' object.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-about' was successfully registered.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-data_collect' was successfully registered.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-dns' object.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-dns' was successfully registered.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-diagnostics' object.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-diagnostics' was successfully registered.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-web' object.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-web' was successfully registered.
stop
^CTraceback (most recent call last):
File "/usr/bin/foris-controller", line 115, in <module>
server.serve_forever()
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 188, in serve_forever
worker.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
Process dns:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 122, in ubus_listener_worker
ubus.loop(500)
KeyboardInterrupt
Process about:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 122, in ubus_listener_worker
ubus.loop(500)
KeyboardInterrupt
Process diagnostics:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Process data_collect:
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 122, in ubus_listener_worker
Traceback (most recent call last):
ubus.loop(500)
KeyboardInterrupt
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 122, in ubus_listener_worker
ubus.loop(500)
KeyboardInterrupt
Process web:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 122, in ubus_listener_worker
ubus.loop(500)
KeyboardInterrupt
root@Omnia:~#
/etc/init.d/foris-controller start
restart
---------- State remains the same
http://192.168.2.1 ==> http://192.168.2.1/foris/ 404 - Not Found
https://192.168.2.1/ ==> https://192.168.2.1/foris/config/ … work
http://192.168.2.1/foris/config/ … work
During the activity Ubus attempts to access the Foris interface
KeyboardInterrupt
Process dns:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 122, in ubus_listener_worker
Process diagnostics:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
ubus.loop(500)
KeyboardInterrupt
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/foris_controller/buses/ubus.py", line 122, in ubus_listener_worker
ubus.loop(500)
KeyboardInterrupt
root@Omnia:~#
Access to Foris is the only address:
http://192.168.2.1/foris/config/
or
https://192.168.2.1/ == > https://192.168.2.1/foris/config/
In Chrome browser without problems …
If I try to access the Foris interface it redirects to http://192.168.55.1/foris/config/ and returns:
500 - Internal Server Error
With my “500 - Internal Server Error” I also tried the receipe above. The output seems to not show any errors:
root@jib-router:~# /etc/init.d/foris-controller stop ; foris-controller -b openwrt -d ubus
INFO:foris_controller:Foris controller is starting.
INFO:foris_controller:Using ubus to recieve commands.
DEBUG:foris_controller.buses.ubus:Starting to create workers for ubus.
DEBUG:foris_controller.buses.ubus:Ubus workers successfully initialized.
INFO:foris_controller:Using OpenWRT config backend.
DEBUG:foris_controller.app:Trying to load module 'about'.
DEBUG:foris_controller.app:Trying to load module 'data_collect'.
DEBUG:foris_controller.app:Trying to load module 'diagnostics'.
DEBUG:foris_controller.app:Trying to load module 'dns'.
DEBUG:foris_controller.app:Trying to load module 'web'.
DEBUG:foris_controller.app:Modules loaded ['web', 'about', 'diagnostics', 'dns', 'data_collect'].
DEBUG:foris_controller:Entering main loop.
DEBUG:foris_controller.buses.ubus:Starting to run workers.
DEBUG:foris_controller.buses.ubus:All workers started.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-about' object.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-dns' object.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-about' was successfully registered.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-dns' was successfully registered.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-data_collect' object.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-data_collect' was successfully registered.
DEBUG:foris_controller.buses.ubus:Connecting to ubus.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-diagnostics' object.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-diagnostics' was successfully registered.
DEBUG:foris_controller.buses.ubus:Trying to register 'foris-controller-web' object.
DEBUG:foris_controller.buses.ubus:Object 'foris-controller-web' was successfully registered.
The “500 - Internal Server Error” remains.
Hope this helps.
Solved with help of @pepe, thanks!
Missed the /tmp/shm directory. Created it and reboot, working!
So when will we have a fix pushed to us?
Still having this problem. Any news?
Hello,
Do you have the latest version of Turris OS, which is 3.10.3? Would you please run again this command and send me the output?
/etc/init.d/foris-controller stop ; foris-controller -b openwrt -d ubus