luci: luci-app-dockerman missing main menu items
luci-app-dockerman broken. It shows only the configuration button, and the full list appears only after reinstallation
to reproduce the bug:
- install luci-app-dockerman with depends
- check that after installation full menu available
- reboot router
Now full menus is missing available only
configuration - remove luci-app-dockerman package
- install luci-app-dockerman package
- it appears again
DISTRIB_ID=‘OpenWrt’ DISTRIB_RELEASE=‘23.05.2’ DISTRIB_REVISION=‘r23630-842932a63d’ DISTRIB_TARGET=‘x86/64’ DISTRIB_ARCH=‘x86_64’ DISTRIB_DESCRIPTION=‘OpenWrt 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-24.006.68745-9128656’
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 19 (7 by maintainers)
missing main menu items still exist with dockerd and docker, docker-compose and luci-lib-docker.
I compiled firmware with complete dockerman dependencies on both 23.05.5 and 24.10-rc2, without any connecting problem to docker website, I guess the problem still comes from dockerd failing to start automatically after booting. I can access the missing menu options in the address bar only after manually restart dockerd service.
If I don’t do this, the mandatory access options address will be like this on browser:
Yep. Guys look like this bug still appears. I have two x86 OpenWrt Host with latest 23.05.3 version and latest 24 luci-docker plugin. and one of this host display full menu items and second with missing menu items, difference only with count of container, with displayed have only one container and onother about 7 containers
Closed by #6985
The #6985 will fix this
Hi @flhofer Thank you for your patience and explanation. In my build modifying
/etc/rc.d/S99dockerdlower than 60 takes precedence over nginx(S60).I mean I also modified
/etc/init.d/dockerdlike this:At least it doesn’t work for me
Looks similar to #6280
@systemcrash before converting the dockerman to JS we should check and grab changes from upstream https://github.com/lisaac/luci-app-dockerman.
We may convert easily some parts but for other we’ll need to call a lua script which is a shim for a Docker REST API. That may be resolved later, this is not critical to still have some non UI parts in Lua.
Basically I started from this task but there wasn’t a good solution and I paused and switched to other tasks.
So if you’ll have a desire to convert the dockerman to JS please let me know and I’ll join. I have it somewhere in a middle of my TODO.