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

安装问题 #3672

Closed
pptfz opened this issue Sep 4, 2020 · 15 comments
Closed

安装问题 #3672

pptfz opened this issue Sep 4, 2020 · 15 comments
Labels
question Further information is requested

Comments

@pptfz
Copy link

pptfz commented Sep 4, 2020

官方文档 安装步骤中1.5 : 数据库初始化

有一个操作是如下
创建表和导入基础数据
修改 conf 目录下 application-dao.properties 中的下列配置
vi conf/application-dao.properties

但是下载的包无论是源码还是二进制都没有这个文件,是安装文档有问题吗?

安装版本 1.2 1.3 都是这个问题

@pptfz pptfz added the question Further information is requested label Sep 4, 2020
@zhuangchong
Copy link
Contributor

vi conf/datasource.properties

@pptfz
Copy link
Author

pptfz commented Sep 4, 2020

嗯嗯 多谢回复 我正好是自己刚找到这个文件 谢谢

@pptfz
Copy link
Author

pptfz commented Sep 4, 2020

还是安装问题,第1.6 : 修改运行参数
修改一键部署脚本 install.sh中的各参数,特别注意以下参数的配置 这一步中第所有内容是全部粘贴进这个install.sh就可以了吧?

结果运行报错如下 这个为什么要解析呢?看不明白,官方安装文档中也没有提到要修改hosts解析吧

ssh: Could not resolve hostname ds4: Name or service not known
ssh: Could not resolve hostname ds4: Name or service not known
ds1 worker server is starting
ssh: Could not resolve hostname ds1: Name or service not known
ssh: Could not resolve hostname ds1: Name or service not known
ds3 worker server is starting
ssh: Could not resolve hostname ds3: Name or service not known
ssh: Could not resolve hostname ds3: Name or service not known
ds2 worker server is starting
ssh: Could not resolve hostname ds2: Name or service not known
ssh: Could not resolve hostname ds2: Name or service not known
ssh: Could not resolve hostname ds3: Name or service not known
ds1 worker server is starting
ssh: Could not resolve hostname ds1: Name or service not known

看了半天实在是搞不懂安装逻辑,麻烦指导一下,如果后续安装成功并且踩坑完成我可以分享一下安装踩坑过程方便其他安装者,谢谢

@zhuangchong
Copy link
Contributor

hosts 是否配置?ssh 时候失败不到ds1/ds2/ds3/ds4域名,可以手动先ssh user@ds1 试试能连接么

@pptfz
Copy link
Author

pptfz commented Sep 5, 2020

单机部署 手动修改了 hosts文件 IP:ds1 ds2 ds3 ds4 ds5 这个问题解决

下一个问题
前端部署中 2.1 自动化部署
install-dolphinscheduler-ui.sh 没有这个脚本,执行的是install.sh,执行完成后并没有安装nginx,需要手动安装nginx
这个是新版修改了安装脚本吧? 这个最新文档貌似不是最新的啊

@pptfz
Copy link
Author

pptfz commented Sep 5, 2020

再次遇到问题 文档中nginx配置文件问题

前端解压缩后并改名如下dolphinscheduler-ui,这个目录中内容如下,并没有官方文档中说的前端解压的dist目录地址,尝试改成ui目录也不行

drwxr-xr-x 2 root root    79 Sep  5 09:19 bin
drwxr-xr-x 6 root root  4096 Sep  5 10:19 conf
-rw-rw-r-- 1 1002 1002   563 Aug 18 14:41 DISCLAIMER
-rw-rw-r-- 1 1002 1002  4663 Aug 18 14:42 install.sh
drwxr-xr-x 2 root root 12288 Sep  5 09:19 lib
-rw-rw-r-- 1 1002 1002 38537 Aug 18 14:42 LICENSE
drwxrwxr-x 3 1002 1002 12288 Aug 18 14:42 licenses
-rw-rw-r-- 1 1002 1002 70942 Aug 18 14:42 NOTICE
drwxr-xr-x 2 root root   218 Sep  5 09:19 script
drwxr-xr-x 4 root root   125 Sep  5 09:19 sql
drwxr-xr-x 8 root root   113 Sep  5 09:19 ui

可否提供最新配置文件,目前按照 官方文档 这个地址中的文档安装确认是无法安装成功的,能否提供最新版的安装文档,感觉文档和实际相差太多了,修改了太多内容,不是开发者应该很难搞清整个逻辑的

@pptfz
Copy link
Author

pptfz commented Sep 5, 2020 via email

@zhuangchong
Copy link
Contributor

推荐使用1.3.1或1.3.2 版本,1.2.1版本文档存在很多未更新的地方。1.2.1版本之后可以不用安装nginx,直接访问,地址http:[api-server.ip]:12345/dolphinscheduler

dolphinscheduler社区有微信群并也推荐关注‘海豚调度’公众号,第一时间了解DS的相关消息,请按此方式加群
image

@pptfz
Copy link
Author

pptfz commented Sep 7, 2020 via email

@marswon
Copy link

marswon commented Sep 29, 2020

vi conf/datasource.properties

这个文件在哪啊?找不到呀 也没有conf这个目录呀,1.3.2

@marswon
Copy link

marswon commented Sep 29, 2020

/home/escheduler/incubator-dolphinscheduler-1.3.2/conf/config/install_config.conf: 没有那个文件或目录

@lukairui
Copy link

《一分钟安装DolphinScheduler并上手体验》
https://mp.weixin.qq.com/s/X2Edda3CIUsALh5MNDFVSA
自己写的一篇文章,把自己的踩坑经验变成自动安装脚本了。
后边小伙伴推荐阅读一下。
附带视频操作。

@pptfz
Copy link
Author

pptfz commented Sep 29, 2020

@lukairui 👍

@marswon
Copy link

marswon commented Oct 9, 2020

《一分钟安装DolphinScheduler并上手体验》
https://mp.weixin.qq.com/s/X2Edda3CIUsALh5MNDFVSA
自己写的一篇文章,把自己的踩坑经验变成自动安装脚本了。
后边小伙伴推荐阅读一下。
附带视频操作。

安装是成功了,貌似任务上线会报任务调度失败,是我操作有问题还是?

@davidzollo
Copy link
Contributor

Please check the runtime log under logs directory, MasterServer/WorkerServer/ApiServer

for chinese user, we have user wechat group , please add wechat:
龙飞

By the way, As a global project, English is needed, please update/add title and desc in English, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants