Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

truenas core(freebsd)无法安装服务,提示服务已安装 #1104

Open
xinjiajuan opened this issue May 7, 2024 · 15 comments
Open
Labels
bug Something isn't working

Comments

@xinjiajuan
Copy link

问题描述

truenas core(freebsd)无法安装服务,提示服务已安装

DNS服务商

DnsPod

是否已搜索同类问题

已搜索,但未能解决

操作系统

FreeBSD

架构

x86_64

版本

v6.3.3

安装方式

服务

额外信息

root@truenas[~/app/ddns-go]# ./ddns-go -s install
2024/05/07 21:14:03 ddns-go service has been installed, no need to install again
root@truenas[~/app/ddns-go]# ./ddns-go -v        
v6.3.3
root@truenas[~/app/ddns-go]#
@xinjiajuan xinjiajuan added the bug Something isn't working label May 7, 2024
@xinjiajuan
Copy link
Author

补充,truenas core版本TrueNAS-13.0-U6.1

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

已经提示安装过了。你想怎么操作?

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

你可以先卸载然后在安装 ./ddns-go -s uninstall

@xinjiajuan
Copy link
Author

我知道你想的,但是我不会笨到自己已经安装成功过都不知道吧

root@truenas[~/app/ddns-go]# ./ddns-go -s uninstall
2024/05/07 21:20:49 ddns-go service uninstalled failed, Exception: remove /usr/local/etc/rc.d/ddns-go: no such file or dir/local/etc/rc.d/ddns-go: no such file or directory
root@truenas[~/app/ddns-go]# ./ddns-go -s install  
2024/05/07 21:21:15 ddns-go service has been installed, no need to install again
root@truenas[~/app/ddns-go]#

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

那你写完整点吧,都看不懂想表达什么意思。
用的三方包管理的服务,有些非主流的系统支持不是很完善,直接把安装包替换就可以了,能规避就规避

@xinjiajuan
Copy link
Author

xinjiajuan commented May 7, 2024

那你写完整点吧,都看不懂想表达什么意思。 用的三方包管理的服务,有些非主流的系统支持不是很完善,直接把安装包替换就可以了,能规避就规避

什么安装包?替换成什么?

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

把之前的旧版本的ddns-go文件替换为新版本的

@xinjiajuan
Copy link
Author

意思是换成6.5.0的版本吗

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

可以。升级就直接替换二进制包,卸载就直接删除文件

@xinjiajuan
Copy link
Author

可以。升级就直接替换二进制包,卸载就直接删除文件

那么神奇吗,这个版本又可以了,什么情况?

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

没truenas,你有空研究反馈吧

@xinjiajuan
Copy link
Author

没truenas,你有空研究反馈吧

但是现在是在终端上面跑的吧,ctrl+c之后是不是就被关闭了?

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

@xinjiajuan
Copy link
Author

啊?那怎么办?

@jeessy2
Copy link
Owner

jeessy2 commented May 7, 2024

替换二进制后重启nas,或者docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants