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:

  1. install luci-app-dockerman with depends
  2. check that after installation full menu available Annotation 2024-02-03 215940
  3. reboot router Now full menus is missing available only configuration Annotation 2024-02-03 220237
  4. remove luci-app-dockerman package
  5. install luci-app-dockerman package
  6. it appears again
  7. Annotation 2024-02-03 215940

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)

Most upvoted comments

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:

No page is registered at '/admin/docker/images'. If this url belongs to an extension, make sure it is properly installed. If the extension was recently installed, try removing the /tmp/luci-indexcache file.

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/S99dockerd lower than 60 takes precedence over nginx(S60).

I also changed dockerd start priority in /etc/init.d

I mean I also modified /etc/init.d/dockerd like this:

#!/bin/sh /etc/rc.common

USE_PROCD=1
START=99 → 50   ## I changed here

extra_command "uciadd" "<interface> <device> <zone> Add docker bridge configuration to network and firewall uci config"
..............

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.