Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

docker更新不可用

Featured Replies

这是什么原因,突然间显示都更新显示都不可用

image.thumb.png.bb257cc13e6025a7bd4216d2de0e6499.png
 

 

image.thumb.png.a9ed83e56f80d6d3d3b5bb3443ad9520.png

 

 

 

 

 

image.thumb.png.bb257cc13e6025a7bd4216d2de0e6499.png

+1

我是开的梯了,插件能理新,docker无法拉取。

同样的问题,能更新插件但是docker都不行

如果需要梯子,而且确认梯子有效,去看看unraid设置的网络设定相关路由和dns的IP地址是否填写正确。

可以尝试手动运行以下命令刷新Docker的更新状态

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate

 

3 hours ago, cddjr said:

可以尝试手动运行以下命令刷新Docker的更新状态

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate

 

手动刷新是可以的,但为什么点检查更新按钮就不行呢

+1 我也是这样 webui 中无法检查更新

我的也是这样,检查更新都是不可用

我遇到了类似的情况。

 

我的解决办法是,终端执行 docker login,登录一下账号。

 

登录后界面重新点击“检查更新”,问题消失。

Edited by under_bed

On 9/25/2024 at 1:07 PM, Shanyan said:

手动刷新是可以的,但为什么点检查更新按钮就不行呢

 

我的unraid是通过配置代理实现的梯子,可能在自动检测更新的时候没有走代理,所以失败。

而我们直接运行命令,由于终端配置了代理环境,所以可以成功。

 

具体是不是如此,我没有深入研究,不清楚是不是unraid的bug。

但如果你是网关指向软路由实现的全局代理,那应该不会有这个问题。

Edited by cddjr

我已经定位到问题了,是因为通过ProxyEditor配置的代理无法被定时任务使用。

(unraid通过crontab的方式自动检测docker更新,而crontab不会加载/etc/profile)

 

临时应对方法是运行如下命令:

sed -i "s|*.cron|*.cron \| sed 's\| /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate\| source /etc/profile;/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate\|'|" /usr/local/sbin/update_cron

其原理是强制让cron在执行联网检测前加载我们配置的代理变量(可以将此命令追加到go文件,确保在重启后也能生效)

 

最后在终端中执行这条命令,重新生成定时任务

/usr/local/sbin/update_cron

 

这样操作后,unraid就能通过代理去定时检测docker更新了。

 

Quote

TODO:目前发现CA插件的检测Docker更新也没有用到代理,会导致状态异常

 

Edited by cddjr

用了楼上的代码之后\

 

再输入 /usr/local/sbin/update_cron

 

都提示 报错 

 

bash:  /usr/local/sbin/update_cron: No such file or directory

之前一直好好的,为何突然出现这个问题呢?快一个月都这样了。

  • 3 weeks later...

最近一直有这个问题,应用商店检测到有可用更新,但点击更新拉取失败,已经开全局代理了。

  • Author

梯子插件问题,升级7.0就好了,用系统自带梯子。我已经用7.0一段时间了,再没出现的问题,同样的代理

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.