Wangxing Posted September 2, 2020 Share Posted September 2, 2020 改hosts 科学上网都试过了,一直无法安装,还有其他方法吗 Quote Link to comment
JavyLiu Posted September 3, 2020 Share Posted September 3, 2020 有科学上网的话,按道理来讲是可以连得上应用市场的,估计不是连接问题,不如贴一个截图看看? Quote Link to comment
JavyLiu Posted September 3, 2020 Share Posted September 3, 2020 2 hours ago, Wangxing said: 如图 看样子似乎仍然是网络连接的问题,不知道你使用的是何种科学上网的方式?考虑将 githubusercontent.com 加入到黑名单(即强制走代理)试试看如何? Quote Link to comment
Wangxing Posted September 4, 2020 Author Share Posted September 4, 2020 研究了几天终于找到个可行的方法,要在命令行里要修改paths.php Quote Link to comment
JavyLiu Posted September 4, 2020 Share Posted September 4, 2020 17 minutes ago, Wangxing said: 研究了几天终于找到个可行的方法,要在命令行里要修改paths.php 真是个有趣的问题,方便的话不如详细谈谈是如何产生和解决的?回头等我这边的索引列好了之后也一起添加到一些奇奇怪怪的问题的解决方案当中去,感谢支持 Quote Link to comment
Wangxing Posted September 4, 2020 Author Share Posted September 4, 2020 (edited) 可能我的网络也是中国移动的网络的原因 参考https://ocasis.cn/1070.html 参考 @Issacc 大佬的这篇文章 :加速Unraid插件商店安装速度https://www.issacc.top/archives/unraid-docker-accelerate.html 在UNRAID命令行中输入 cd /usr/local/emhttp/plugins/community.applications/include 按回车,然后再输入 ls 按回车,在显示的文件列表中,可以找到 paths.php 这个文件 接下来,我们要修改这个文件的内容 继续再命令行输入 cp paths.php paths_bak.php 按回车,目的是给这个文件复制一下,做个备份 然后输入 vi paths.php 再按Shift + : 然后输入 %d 按回车,会发现 paths.php 这个文件的内容被我们清空了 我们去 @Issacc 的文章中,复制他提供的 <?PHP ############################################################### # # # Community Applications copyright 2015-2020, Andrew Zawadzki # # Licenced under the terms of GNU GPLv2 # # # ############################################################### $CA = "community.applications"; $caPaths['tempFiles'] = "/tmp/$CA/tempFiles"; /* path to temporary files */ $caPaths['flashDrive'] = "/boot/config/plugins/$CA"; $caPaths['templates-community'] = $caPaths['tempFiles']."/templates-community-apps"; /* templates and temporary files stored here. Deleted every update of applications */ $caPaths['community-templates-url'] = "https://cdn.jsdelivr.net/gh/Squidly271/Community-Applications-Moderators@master/Repositories.json"; $caPaths['PublicServiceAnnouncement'] = "https://cdn.jsdelivr.net/gh/Squidly271/Community-Applications-Moderators@master/PublicServiceAnnouncement.txt"; $caPaths['Repositories'] = $caPaths['tempFiles']."/Repositories.json"; $caPaths['community-templates-info'] = $caPaths['tempFiles']."/templates.json"; /* json file containing all of the templates */ $caPaths['community-templates-displayed'] = $caPaths['tempFiles']."/displayed.json"; /* json file containing all of the templates currently displayed */ $caPaths['application-feed'] = "https://cdn.jsdelivr.net/gh/Squidly271/AppFeed@master/applicationFeed.json"; $caPaths['application-feed-last-updated'] = "https://cdn.jsdelivr.net/gh/Squidly271/Community-Applications-Moderators@master/PublicServiceAnnouncement.txt"; $caPaths['application-feedBackup'] = "https://raw.staticdn.net/Squidly271/AppFeed/master/applicationFeed.json"; $caPaths['application-feed-last-updatedBackup'] = "https://raw.staticdn.net/Squidly271/AppFeed/master/applicationFeed-lastUpdated.json"; $caPaths['appFeedDownloadError'] = $caPaths['tempFiles']."/downloaderror.txt"; $caPaths['categoryList'] = $caPaths['tempFiles']."/categoryList.json"; $caPaths['currentServer'] = $caPaths['tempFiles']."/currentServer.txt"; $caPaths['lastUpdated'] = $caPaths['tempFiles']."/lastUpdated.json"; $caPaths['lastUpdated-old'] = $caPaths['tempFiles']."/lastUpdated-old.json"; $caPaths['addConverted'] = $caPaths['tempFiles']."/TrippingTheRift"; /* flag to indicate a rescan needed since a dockerHub container was added */ $caPaths['convertedTemplates'] = "{$caPaths['flashDrive']}/private/"; /* path to private repositories on flash drive */ $caPaths['dockerSearchResults'] = $caPaths['tempFiles']."/docker_search.json"; /* The displayed docker search results */ $caPaths['dockerfilePage'] = $caPaths['tempFiles']."/dockerfilePage"; /* the downloaded webpage to scrape the dockerfile from */ $caPaths['Dockerfile'] = $caPaths['tempFiles']."/Dockerfile"; $caPaths['moderationURL'] = "https://raw.staticdn.net/Squidly271/Community-Applications-Moderators/master/Moderation.json"; $caPaths['moderation'] = $caPaths['tempFiles']."/moderation.json"; /* json file that has all of the moderation */ $caPaths['unRaidVersion'] = "/etc/unraid-version"; $caPaths['logos'] = $caPaths['tempFiles']."/logos.json"; $caPaths['unRaidVars'] = "/var/local/emhttp/var.ini"; $caPaths['docker_cfg'] = "/boot/config/docker.cfg"; $caPaths['dockerUpdateStatus'] = "/var/lib/docker/unraid-update-status.json"; $caPaths['pinnedV2'] = "{$caPaths['flashDrive']}/pinned_appsV2.json"; $caPaths['appOfTheDay'] = $caPaths['tempFiles']."/appOfTheDay.json"; $caPaths['statistics'] = $caPaths['tempFiles']."/statistics.json"; $caPaths['statisticsURL'] = "https://raw.staticdn.net/Squidly271/AppFeed/master/statistics.json"; $caPaths['pluginSettings'] = "{$caPaths['flashDrive']}/community.applications.cfg"; $caPaths['fixedTemplates_txt'] = $caPaths['tempFiles']."/caFixed.txt"; $caPaths['invalidXML_txt'] = $caPaths['tempFiles']."/invalidxml.txt"; $caPaths['warningAccepted'] = "{$caPaths['flashDrive']}/accepted"; $caPaths['pluginWarning'] = "{$caPaths['flashDrive']}/plugins_accepted"; $caPaths['pluginDupes'] = $caPaths['tempFiles']."/pluginDupes.json"; $caPaths['pluginTempDownload'] = $caPaths['tempFiles']."/pluginTempFile.plg"; $caPaths['dockerManTemplates'] = $dockerManPaths['templates-user']; $caPaths['iconHTTPSbase'] = "https://raw.staticdn.net/Squidly271/AppFeed/master/https-images/"; $caPaths['disksINI'] = "/var/local/emhttp/disks.ini"; $caPaths['dynamixSettings'] = "/boot/config/plugins/dynamix/dynamix.cfg"; $caPaths['installedLanguages'] = "/boot/config/plugins"; $caPaths['dynamixUpdates'] = "/tmp/plugins"; ?> 然后再回到命令行,输入 vi paths.php 按 i ,然后把复制的内容粘贴进去 再按 Esc ,然后按 Shift + : 输入 wq ,按回车,即可保存 应该都可以正常访问APPS市场了 Edited September 4, 2020 by Wangxing 1 Quote Link to comment
Squid Posted September 4, 2020 Share Posted September 4, 2020 34 minutes ago, Wangxing said: $caPaths['application-feed-last-updated'] = "https://cdn.jsdelivr.net/gh/Squidly271/Community-Applications-Moderators@master/PublicServiceAnnouncement.txt"; This is the wrong URL. It should be $caPaths['application-feed-last-updated'] = "https://cdn.jsdelivr.net/gh/Squidly271/AppFeed@master/applicationFeed-lastUpdated.json"; And what is the update frequency on that CDN? If it's live (or nearly live), then I can work on adding these alternative links into CA Quote Link to comment
160512 Posted September 5, 2020 Share Posted September 5, 2020 大陆地区建议修改hosts 或者是在上游路由器加入指定DNS 199.232.4.133 raw.githubusercontent.com 就好了 Quote Link to comment
shydunraid Posted September 6, 2020 Share Posted September 6, 2020 (edited) 自己搭建的docker服务器,全速拉取。请关注:少花一点 Edited November 12, 2020 by shydunraid Quote Link to comment
blumy Posted October 6, 2020 Share Posted October 6, 2020 尝试了hosts文件写入,家里也有梯子,openwrt还设置了unraid机器全局代理,反正网上一切可以尝试的操作全部尝试过了,依旧打不开APPS商店。。。前一阵子还是好的! Quote Link to comment
blumy Posted October 13, 2020 Share Posted October 13, 2020 前几天我试了一下,把CA删除,重新安装,然后竟然可以访问APPS了,但是今天又不行了。。。。我依旧删除CA,想重新安装,可是今天不管是github的地址,还是国内其他几个地址,都无法安装CA,提示Network failure Quote Link to comment
F9527 Posted October 21, 2020 Share Posted October 21, 2020 On 9/4/2020 at 11:01 PM, Squid said: This is the wrong URL. It should be $caPaths['application-feed-last-updated'] = "https://cdn.jsdelivr.net/gh/Squidly271/AppFeed@master/applicationFeed-lastUpdated.json"; And what is the update frequency on that CDN? If it's live (or nearly live), then I can work on adding these alternative links into CA Sync every two hours,Please help to add these alternative links to the CA, thank you. Quote Link to comment
Recommended Posts
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.