马春杰杰博客
致力于深度学习经验分享!

IYUUPlus: Unable to acquire X-Transmission-Session-Id

.bash_profile bash cron git IYUU php Transmission 容器 源码

使用IYUUPlusdocker版本的时候,正常填写了各种参数,仍然提示:

Unable to acquire X-Transmission-Session-Id

在大卫的指导下发现可能是容器网络配置的原因,大家可以用这条命令测试下:

这条命令主要是加了--net=host,这样一来,容器和宿主机就在统一网络下了,也就不需要端口映射了。然后打开127.0.0.1:8787就可以了。

不过我这么用了之后,就打不开IYUUPlus的配置界面了。尝试多次之后,大卫建议用源码,经过我的测试,源码版可以正常使用。

使用源码版需要你的php打开了pcntl扩展,mac下自带的php扩展没有这个,安装php并开启pcntl扩展的具体流程如下:

brew install php@7.4

brew install brew-php-switcher

brew services start php@7.4

echo 'export PATH="/usr/local/opt/php@7.4/bin:$PATH"' >> /Users/mcj/.bash_profile

echo 'export PATH="/usr/local/opt/php@7.4/sbin:$PATH"' >> /Users/mcj/.bash_profile

source ~/.bash_profile

pecl install pcntl

安装之后,下载IYUU的源码:

git clone https://github.com/ledccn/IYUUPlus.git

cd IYUUPlus

php start.php start -d

成功打开:

这时打开127.0.0.1:8787就可以正常登陆使用了。

使用方法如下:

赞(267) 打赏
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《IYUUPlus: Unable to acquire X-Transmission-Session-Id》
文章链接:https://www.machunjie.com/setup/pt/1035.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

评论 抢沙发

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫

:smile: :sad: :arrow: :cool: :confused: :cry: :eek: :evil: :exclaim: :idea: :lol: :mad: :mrgreen: :neutral: :question: :razz: :redface: :rolleyes: :surprised: :wink: :biggrin: :twisted: