So guys, I'm, as many user here, made a mistake and upgrade a few packages and faced with Bad gateway issue.
I tried to reinstall luci over ssh - without success.
I'm looked over the internet and didn't found any articles with same error that I have.
Runtime error: Unable to dlopen file '/usr/lib/ucode/lucihttp.so': Error relocating /usr/lib/ucode/lucihttp.so: lh_urldec_init: symbol not found
In module(), file /usr/share/ucode/luci/http.uc, line 1, byte 1:
called from function module (/usr/share/ucode/luci/dispatcher.uc:13:27)
called from anonymous function (/www/cgi-bin/luci:7:21)
`// Copyright 2022 Jo-Philipp Wich <firstname.lastname@example.org>`
^-- Near here
network still accessible, internet still working fine.
Maybe someone faced with the same issue and tell me how to solve it.
I have a huge config and reinstall the Openwrt is not the solution.
Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.
Oh... this is a Pi. So the best way would be to take the card out and use your computer to write the latest version of OpenWrt (22.03.2 is the latest as of this moment). By installing a stable release, you'll have LuCI preinstalled.