简体   繁体   English

未在 rundeck 中创建项目名称目录

[英]project name directory is not getting created in rundeck

I am beginner for rundeck.我是 rundeck 的初学者。 i installed rundeck 3.2 on centos7 using rpm package.我使用 rpm 包在centos7上安装了rundeck 3.2 After installation I changed the hostname in framework properties and rundeck-config file.安装后,我更改了框架属性和 rundeck-config 文件中的主机名。 And put the iptable rule from 80 to 4440 .并将iptable 规则从 80 改为 4440

I created the project on rundeck gui but i can't found project-name directory in /var/lib/rundeck/projects .我在 rundeck gui 上创建了项目,但在/var/lib/rundeck/projects找不到项目名称目录。 Can you please help me on the same?你能帮我吗?

Second i installed the 3.0 version as well where i project directory is there in /var/rundeck/projects .其次,我还安装了 3.0 版本,我的项目目录位于/var/rundeck/projects but resources.xml is not getting read.但是resources.xml没有被读取。 I was using vis password not from key exchange.我使用的密码不是来自密钥交换。

Support will be appreciated.支持将不胜感激。 Thanks谢谢

In rundeck 3.2 the default folder changed to "/var/lib/rundeck/projects"在 rundeck 3.2 中,默认文件夹更改为“/var/lib/rundeck/projects”

You will find more info in the following link https://docs.rundeck.com/docs/upgrading/upgrading-to-rundeck-3.2.html#upgrading-from-rundeck-3-0-using-debian-rpm-packaging您可以在以下链接中找到更多信息https://docs.rundeck.com/docs/upgrading/upgrading-to-rundeck-3.2.html#upgrading-from-rundeck-3-0-using-debian-rpm-packaging

Hope it helps希望能帮助到你

if you defined projects to be saved in the database in如果您定义了要保存在数据库中的项目

Example (rundeck-config.properties)示例(rundeck-config.properties)

rundeck.projectsStorageType=db << project config saved and read in database. rundeck.projectsStorageType=db << 项目配置已保存并读入数据库。

OR或者

rundeck.projectsStorageType=file << project config will be saved and read in Filesystem. rundeck.projectsStorageType=file << 项目配置将被保存并在文件系统中读取。

You can check this line by doing a grep您可以通过执行 grep 检查此行

# cat /etc/rundeck/rundeck-config.properties | grep rundeck.projectsStorageType

All your project config will be saved/read according to this setting.您的所有项目配置都将根据此设置保存/读取。 If you create/modify files in the filesystem and you are using the database to read/save project settings, your changes will not take effect.如果您在文件系统中创建/修改文件并且您正在使用数据库来读取/保存项目设置,您的更改将不会生效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM