immortalwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
135 stars 222 forks source link

Unable to install `luci-app-dockerman` #333

Closed hero-intelligent closed 1 year ago

hero-intelligent commented 1 year ago

Describe the bug

I tried to install luci-app-dockerman in the admin panel (luci panel), but it says the package docker is missing and cannot be found in any source. Then I tried to install anyway, and as a result, the panel breakes and can never be accessed, with the following error thrown out.

Runtime error Unhandled exception during request dispatching

/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/model/docker.lua:6: module 'luci.docker' not found:
    no field package.preload['luci.docker']
    no file './luci/docker.lua'
    no file '/usr/share/lua/luci/docker.lua'
    no file '/usr/share/lua/luci/docker/init.lua'
    no file '/usr/lib/lua/luci/docker.lua'
    no file '/usr/lib/lua/luci/docker/init.lua'
    no file './luci/docker.so'
    no file '/usr/lib/lua/luci/docker.so'
    no file '/usr/lib/lua/loadall.so'
    no file './luci.so'
    no file '/usr/lib/lua/luci.so'
    no file '/usr/lib/lua/loadall.so'

In error(), file [C]
  called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:23)
  called from function  ((tail call))

In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 148, byte 45:
  called from function build_pagetree (/usr/share/ucode/luci/dispatcher.uc:382:73)
  called from function menu_json (/usr/share/ucode/luci/dispatcher.uc:439:26)
  called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:893:24)
  called from anonymous function (/www/cgi-bin/luci:39:12)

 `        return lcall.call(modname, method, ...args);`
  Near here ----------------------------------------^

After that I tried to install it through ssh, but it made no difference. logs are as follow:

root@ImmortalWrt:~# opkg update
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/targets/rockchip/armv8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/immortalwrt_core
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/targets/rockchip/armv8/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/base/Packages.gz
Updated list of available packages in /var/opkg-lists/immortalwrt_base
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/base/Packages.sig
Signature check passed.
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/immortalwrt_luci
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/luci/Packages.sig
Signature check passed.
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/immortalwrt_packages
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/packages/Packages.sig
Signature check passed.
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/immortalwrt_routing
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/routing/Packages.sig
Signature check passed.
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/immortalwrt_telephony
Downloading https://mirrors.vsean.net/openwrt/releases/23.05.0-rc2/packages/aarch64_generic/telephony/Packages.sig
Signature check passed.
root@ImmortalWrt:~# opkg install luci-app-dockerman
Unknown package 'luci-app-dockerman'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency docker for luci-app-dockerman
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-dockerman found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci-app-dockerman.

ImmortalWrt version

r26681-4fffb9b21a

ImmortalWrt target/subtarget

rockchip/armv8

Device

FriendlyElec NanoPi R2S

Image kind

Official downloaded image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

module 'luci.docker' not found

the module luci.docker should be in the repository, but it doesn't.

This issue may be helpful as the logs are somewhat the same. https://github.com/lisaac/luci-in-docker/issues/6

Diffconfig

No response

Terms

1715173329 commented 1 year ago

docker is failed to build due to network issue, it will be available again in the next few days. You force installed dockerman, so it's dependencies won't be installed, resulting a broken panel.