Giter Club home page Giter Club logo

commonscript's Introduction

About me

  • 💬 Ask me about anything here

wukong GitHub stats

Top Repositories



commonscript's People

Contributors

eflylab avatar wukongdaily avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

commonscript's Issues

安装后强制刷新网页报错,重启软路由打开后台仍然报错

型号:n1
版本:openwrt_s905d_n1_R24.2.2_k5.15.149-flippy-88+o

Error
Unhandled exception during request dispatching
/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'themes/argone/header'.
A runtime error occurred: /usr/lib/lua/luci/dispatcher.lua:68: attempt to index global '__entries' (a nil value)
stack traceback:
/usr/lib/lua/luci/dispatcher.lua:68: in function 'node'
[string "/usr/lib/lua/luci/view/themes/argone/header..."]:20: in main chunk

In error(), file [C]
called from function run (/usr/lib/lua/luci/ucodebridge.lua:23)
called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:37)
In anonymous function, file /usr/share/ucode/luci/runtime.uc, line 133, byte 10:
called from function [arrow function] (/usr/share/ucode/luci/runtime.uc:141:63)
called from function render ([C])
called from function [anonymous function] (/usr/share/ucode/luci/runtime.uc:141:64)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:941:44)
called from anonymous function (/www/cgi-bin/luci:39:13)

die(ex);
Near here --------^

r68s安装无iStore商店

软路由:r68s
固件版本 QWRT R23.9.1 / LuCI Master (git-23.226.24689-eba8e8b)
内核版本 5.10.110
问题描述:
安装后,自动切换到了argone主题,但是并无iStore商店,多次安装,还是一样。安装系统调试必备工具,出现istore安装失败,固件不兼容

image

image

iStore里面安装软件,出现这个些内容。

No page is registered at '/admin/system/opkg'.
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.

固件版本 | OpenWrt R23.06.08 (2023-06-08 21:00:03 by flippy) / LuCI Master (git-23.141.16773-28dd4b3)

内核版本 | 5.15.115-flippy-83+o

安装时提示cannot verify raw.githubusercontent.com's certificate

具体错误为
root@OpenWrt:~# wget -O /tmp/drive-common.sh https://raw.githubusercontent.com/wukongdail
y/commonscript/master/common/drive-common.sh && chmod +x /tmp/drive-common.sh && /tmp/dri
ve-common.sh
--2023-11-11 18:01:32-- https://raw.githubusercontent.com/wukongdaily/commonscript/master/common/drive-common.sh
Resolving raw.githubusercontent.com... 0.0.0.0
Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected.
ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'CN=OpenWrt,O=OpenWrt2a27e6ad,L=Unknown,ST=Somewhere,C=ZZ':
Self-signed certificate encountered.
ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'raw.githubusercontent.com'.
To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.
按照网上各种修改方法都无法解决包括修改host或者加 --no-check-certificate 参数等,麻烦猴哥看一下是什么情况。

n1安装istore后首页没有变化

使用的的f的的n1固件,OpenWrt R23.08.18 (2023-08-18 16:34:23 by flippy) / LuCI Master (git-23.226.38647-7acf7ff),3. 安装iStore应用商店及首页风格
第一次安装报错Collected errors:


  •  软路由基础工具箱(for Openwrt) v1.0        
    

openwrt截图
https://xingmuxi.xyz/d/%E9%98%BF%E9%87%8C%E4%BA%91%E7%9B%98/public/20042911169213178.png?sign=okez27Q3pm8nYWoSHnM3s2dsjiltSkLV8SpYAARXUvI=:0

单独安装istore软件商店失败

一直报错
Configuring luci-app-store.
//usr/lib/opkg/info/luci-app-store.postinst: .: line 2: can't open '/etc/uci-defaults/luci-app-store': No such file or directory

斐讯n1 istore风格化后出现运行时异常 无法进入openwrt

Unhandled exception during request dispatching
/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'quickstart/home'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'quickstart/main'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:93: Exception: /usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'themes/argone/header'.
A runtime error occurred: /usr/lib/lua/luci/dispatcher.lua:68: attempt to index global '__entries' (a nil value)
stack traceback:
/usr/lib/lua/luci/dispatcher.lua:68: in function 'node'
[string "/usr/lib/lua/luci/view/themes/argone/header..."]:16: in main chunk

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

In anonymous function, file /usr/share/ucode/luci/runtime.uc, line 133, byte 10:
called from function [arrow function] (/usr/share/ucode/luci/runtime.uc:182:57)
called from function call ([C])
called from function [anonymous function] (/usr/share/ucode/luci/runtime.uc:148:45)
called from function [arrow function] (/usr/share/ucode/luci/dispatcher.uc:781:71)
called from function render ([C])
called from function render_action (/usr/share/ucode/luci/dispatcher.uc:768:24)
called from function run_action (/usr/share/ucode/luci/dispatcher.uc:782:5)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1008:48)
called from anonymous function (/www/cgi-bin/luci:39:13)

die(ex);
Near here --------^

stack traceback:
[C]: in function 'include'
/usr/lib/lua/luci/template.lua:93: in function 'include'
[string "/usr/lib/lua/luci/view/quickstart/main.htm"]:1: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:181: in function
(tail call): ?
[string "/usr/lib/lua/luci/view/quickstart/home.htm"]:1: in main chunk

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 [arrow function] (/usr/share/ucode/luci/dispatcher.uc:781:71)
called from function render ([C])
called from function render_action (/usr/share/ucode/luci/dispatcher.uc:768:24)
called from function run_action (/usr/share/ucode/luci/dispatcher.uc:782:5)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1008:48)
called from anonymous function (/www/cgi-bin/luci:39:13)

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

证书问题

固件和主机型号如下

主机名 QWRT
主机型号 CMCC RAX3000M
架构 ARMv8 Processor rev 4 (v8l) x 2 (1300MHz, 72.1°C)
目标平台 mediatek/mt7981
固件版本 QWRT R23.9.1 / LuCI Master (git-23.226.24689-eba8e8b)
内核版本 5.4.250
本地时间 Sun Nov 12 10:37:53 2023

错误信息如下:

--2023-11-12 10:31:40--  https://raw.githubusercontent.com/wukongdaily/commonscript/master/common/drive-common.sh

Resolving raw.githubusercontent.com... 0.0.0.0, ::
Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected.
ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'CN=OpenWrt,O=OpenWrt3d485f52,L=Unknown,ST=Somewhere,C=ZZ':
  Self-signed certificate encountered.
    ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'raw.githubusercontent.com'.
To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.

R2S 安装后没有istoreOS的应用商店,单独安装应用商店也失败。

luci-lib-taskd 和 luci-lib-xterm 无法下载安装:

Installing luci-lib-taskd (git-24.310.56389-3018b1f) to root...
Installing luci-lib-xterm (git-24.310.56389-3018b1f) to root...
Collected errors:

  • opkg_download_pkg: Package luci-lib-taskd is not available from any configured src.
  • opkg_install_pkg: Failed to download luci-lib-taskd. Perhaps you need to run 'opkg update'?
  • opkg_install_cmd: Cannot install package luci-lib-taskd.
  • opkg_download_pkg: Package luci-lib-xterm is not available from any configured src.
  • opkg_install_pkg: Failed to download luci-lib-xterm. Perhaps you need to run 'opkg update'?
  • opkg_install_cmd: Cannot install package luci-lib-xterm.
    No packages removed.
    Installing luci-app-store (0.1.14-3) to root...
    Downloading https://istore.linkease.com/repo/all/store/luci-app-store_0.1.14-3_all.ipk
    Installing luci-lib-xterm (git-24.310.56389-3018b1f) to root...
    Collected errors:
  • opkg_download_pkg: Package luci-lib-xterm is not available from any configured src.
  • opkg_install_pkg: Failed to download luci-lib-xterm. Perhaps you need to run 'opkg update'?
  • opkg_install_cmd: Cannot install package luci-app-store.

6.1.46-flippy-84+首页安装失败了

satisfy_dependencies_for: Cannot satisfy the following dependencies for quickstart:

  •  kmod-md-mod
    
  •  kmod-md-raid0
    
  •  kmod-md-raid10
    
  •  kmod-md-raid1
    
  • opkg_install_cmd: Cannot install package quickstart.
    Unknown package 'luci-app-quickstart'.
    Collected errors:
  • pkg_hash_check_unresolved: cannot find dependency kmod-md-mod for mdadm
  • pkg_hash_check_unresolved: cannot find dependency kmod-md-raid0 for mdadm
  • pkg_hash_check_unresolved: cannot find dependency kmod-md-raid10 for mdadm
  • pkg_hash_check_unresolved: cannot find dependency kmod-md-raid1 for mdadm
  • pkg_hash_fetch_best_installation_candidate: Packages for mdadm found, but incompatible with the architectures configured
  • pkg_hash_check_unresolved: cannot find dependency luci-lua-runtime for luci-app-quickstart
  • pkg_hash_fetch_best_installation_candidate: Packages for luci-app-quickstart found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package luci-app-quickstart.
    首页安装失败,要不你换个新版本固件试试?
    DISTRIB_ID='OpenWrt'
    DISTRIB_RELEASE='SNAPSHOT'
    DISTRIB_TARGET='armvirt/64'
    DISTRIB_ARCH='aarch64_generic'
    DISTRIB_TAINTS='no-all override'
    DISTRIB_REVISION='R23.08.18 (2023-08-18 16:46:46 by flippy)'
    DISTRIB_DESCRIPTION='OpenWrt '

失败了的将我这几个链接都跑一遍吧,绝对可行(我将文件转存到了gtee,无任何改动)

wget -O /tmp/reinstall_istore.sh https://gitee.com/heylogo1/aaa/raw/master/commonscript/common/reinstall_istore.sh && chmod +x /tmp/reinstall_istore.sh && /tmp/reinstall_istore.sh

wget -O /tmp/drive-common.sh https://gitee.com/heylogo1/aaa/raw/master/commonscript/common/drive-common.sh && chmod +x /tmp/drive-common.sh && /tmp/drive-common.sh

wget -O /tmp/common.sh https://gitee.com/heylogo1/aaa/raw/master/commonscript/common/common.sh && chmod +x /tmp/common.sh && /tmp/common.sh

【已解决】x86_64的刷完怎么刷新重启也不出现iStore商店

软路由:4500U
固件版本 OpenWrt R23.7.7 GDQ V2[2023] Compiled by eSir with iStoreOS Style / LuCI Master (git-23.198.59743-991daf5)
内核版本 5.15.122
问题描述:运行脚本后各方面都正常,但是不出现商店,印象中SSH里面安装过程没有啥报错信息。
QQ截图20231011161832

R5C安装失败

官方iStore识别不了R5C/R5S无线网卡,希望脚本能支持R5C/R5S

以下是安装日志:

请选择一个选项 (N/B/Q/R/P 不分大小写) : 2
正在安装iStore应用商店....
No.4 architecture info====aarch64_cortex-a53
Downloading https://istore.linkease.com/repo/all/store/Packages.gz
Updated list of available packages in /opt/opkg-lists/is_store
Downloading https://op.dllkids.xyz/packages/aarch64_cortex-a53/Packages.gz
Updated list of available packages in /opt/opkg-lists/custom_dllkids
Downloading https://mirrors.cloud.tencent.com/openwrt/releases/22.03.5/packages/aarch64_generic/base/Packages.gz
Updated list of available packages in /opt/opkg-lists/openwrt_base
Downloading https://mirrors.cloud.tencent.com/openwrt/releases/22.03.5/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /opt/opkg-lists/openwrt_luci
Downloading https://mirrors.cloud.tencent.com/openwrt/releases/22.03.5/packages/aarch64_generic/packages/Packages.gz
Updated list of available packages in /opt/opkg-lists/openwrt_packages
Downloading https://mirrors.cloud.tencent.com/openwrt/releases/22.03.5/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /opt/opkg-lists/openwrt_routing
Downloading https://mirrors.cloud.tencent.com/openwrt/releases/22.03.5/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /opt/opkg-lists/openwrt_telephony
Package luci-app-argon-config (git-24.286.04687-d6b6325) installed in root is up to date.
No packages removed.
Unknown package 'luci-app-store'.
Collected errors:

x86_64安装后,自动切换到了argone主题,但是并无iStoreOS功能。

固件版本 OpenWrt R21.8.6 GDQ v9.1[2021] Compiled by eSir / LuCI Master (git-21.238.35254-83494a9)
内核版本 5.4.132
问题描述:
x86_64安装后,自动切换到了argone主题,但是并无iStoreOS功能。

iStoreOS主题安装前,已经安装过argone主题。
随后一键卸载iStoreOS主题,然后卸载掉原argone主题后,重新一键安装iStoreOS主题,问题依旧。

还有一个小问题,多次安装后在 固件版本 加的小标签 “with iStoreOS Style” 没有重置,也多次追加了。

微信截图_20230925210326

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.