{"action":"created","issue":{"url":"https://api.github.com/repos/openwrt/luci/issues/2358","repository_url":"https://api.github.com/repos/openwrt/luci","labels_url":"https://api.github.com/repos/openwrt/luci/issues/2358/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/luci/issues/2358/comments","events_url":"https://api.github.com/repos/openwrt/luci/issues/2358/events","html_url":"https://github.com/openwrt/luci/issues/2358","id":389007800,"node_id":"MDU6SXNzdWUzODkwMDc4MDA=","number":2358,"title":"config ifstate in /etc/config/luci breaks LuCI","user":{"login":"MartijnRas","id":116096,"node_id":"MDQ6VXNlcjExNjA5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/116096?v=4","gravatar_id":"","url":"https://api.github.com/users/MartijnRas","html_url":"https://github.com/MartijnRas","followers_url":"https://api.github.com/users/MartijnRas/followers","following_url":"https://api.github.com/users/MartijnRas/following{/other_user}","gists_url":"https://api.github.com/users/MartijnRas/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnRas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnRas/subscriptions","organizations_url":"https://api.github.com/users/MartijnRas/orgs","repos_url":"https://api.github.com/users/MartijnRas/repos","events_url":"https://api.github.com/users/MartijnRas/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnRas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-09T10:30:46Z","updated_at":"2018-12-09T14:14:26Z","closed_at":null,"author_association":"NONE","body":"I'd not logged into the web inteface for some time, I connect over SSH once every while and install updates. So I don't know which update caused this problem, but where I expected the LuCI login page I was presented with the following error:\r\n\r\n/usr/lib/lua/luci/dispatcher.lua:230: /etc/config/luci seems to be corrupt, unable to find section 'main'\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t/usr/lib/lua/luci/dispatcher.lua:230: in function 'dispatch'\r\n\t/usr/lib/lua/luci/dispatcher.lua:127: in function </usr/lib/lua/luci/dispatcher.lua:126>\r\n\r\nAfter commenting out most of the /etc/config/luci file things started sort of working again.\r\nUltimately everything is working as expected, however the following section is the culprit: \r\n\r\nconfig ifstate\r\n      option interface guest-wifi        \r\n      option ifname radio0.network2 radio1.network2        \r\n      option bridge true\r\n\r\nIs there a new syntax for this part, or should it be moved to another configuration file?"},"comment":{"url":"https://api.github.com/repos/openwrt/luci/issues/comments/445541582","html_url":"https://github.com/openwrt/luci/issues/2358#issuecomment-445541582","issue_url":"https://api.github.com/repos/openwrt/luci/issues/2358","id":445541582,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTU0MTU4Mg==","user":{"login":"cshoredaniel","id":20735818,"node_id":"MDQ6VXNlcjIwNzM1ODE4","avatar_url":"https://avatars0.githubusercontent.com/u/20735818?v=4","gravatar_id":"","url":"https://api.github.com/users/cshoredaniel","html_url":"https://github.com/cshoredaniel","followers_url":"https://api.github.com/users/cshoredaniel/followers","following_url":"https://api.github.com/users/cshoredaniel/following{/other_user}","gists_url":"https://api.github.com/users/cshoredaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/cshoredaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshoredaniel/subscriptions","organizations_url":"https://api.github.com/users/cshoredaniel/orgs","repos_url":"https://api.github.com/users/cshoredaniel/repos","events_url":"https://api.github.com/users/cshoredaniel/events{/privacy}","received_events_url":"https://api.github.com/users/cshoredaniel/received_events","type":"User","site_admin":false},"created_at":"2018-12-09T14:14:26Z","updated_at":"2018-12-09T14:14:26Z","author_association":"CONTRIBUTOR","body":"What is ``config ifstate``?  I've never heard of that config section type."}}
{"actor":{"display_login":"cshoredaniel"}}