zhangguanzhang
zhangguanzhang
@choicky 用得还行吗,有啥建议
因为核心文件属于 `adguardhome` 名字的单独的ipk文件,不是luci-app-adguardhome,升级不会记录非luci-app的ipk
@jerrykuku
开调试是执行 ` /etc/init.d/AdGuardHome reload` 报的错 hack下后,编译出来的ipk文件就能解决 ``` if [ -d feeds/others/luci-app-adguardhome ];then sed -i '/configpath/s#/etc/AdGuardHome.yaml#/etc/config/AdGuardHome.yaml#' feeds/others/luci-app-adguardhome/root/etc/config/AdGuardHome fi # https://github.com/rufengsuixing/luci-app-adguardhome/issues/130 SED_NUM=$(awk '/^start_service/,/configpath/{a=NR}END{print a}' feeds/others/luci-app-adguardhome/root/etc/init.d/AdGuardHome) sed -i "$SED_NUM"'a [ ! -f "${configpath}"...
卸载也会报错 `Command failed: Not found` ``` root@OpenWrt:~# opkg remove luci-app-adguardhome Removing package luci-app-adguardhome from root... AdGuardHome service disabled AdGuardHome service disabled Not deleting modified conffile /etc/config/AdGuardHome. ```
> sed -i '/configpath/s#/etc/AdGuardHome.yaml#/etc/config/AdGuardHome.yaml#' feeds/others/luci-app-adguardhome/root/etc/config/AdGuardHome try this command ``` SED_NUM=$(awk '/^start_service/,/configpath/{a=NR}END{print a}' /etc/init.d/AdGuardHome) sed -i "$SED_NUM"'a [ ! -f "${configpath}" ] && cp /usr/share/AdGuardHome/AdGuardHome_template.yaml ${configpath}' /etc/init.d/AdGuardHome ```
same issue with : ``` NAME="Alpine Linux" ID=alpine VERSION_ID=3.13.7 PRETTY_NAME="Alpine Linux v3.13" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://bugs.alpinelinux.org/" ``` cpu arch: `aarch64`
``` $ docker ps -a | grep xxxxxxxxx-certserver $ docker-compose up -d Creating xxxxxxxxx-certserver ... error ERROR: for xxxxxxxxx-certserver Cannot start service xxxxxxxxx-certserver: endpoint with name xxxxxxxxx-certserver already exists in...
> 您pr下 我对op的chroot部分不懂,不知道如何修复是符合要求的