Error 500: Internal Server Error Caused by Permission denied

277 views
Skip to first unread message

Mohammed Fouad

unread,
Sep 20, 2021, 8:40:59 AM9/20/21
to rundeck-discuss
Hello, 

I have trouble modifying my rundeck project's configuration. It worked perfectly a few days ago.

Error 500: Internal Server ErrorURI/resources/createProjectClassjava.io.IOExceptionMessagejava.io.IOException: Permission deniedCaused byPermission denied

By comparing the files with another machine, on which rundeck is running, i did not find any difference in permission or files. 
I thought by deleting the project and creating a new one, it would work but i realised that i cannot create a new project either.
Generally i can execute jobs, check the nodes, it's just with the configuration project.

This is the project.properties that i have modifed recently
#Project ServeurManagement configuration, generated
#Mon Nov 09 16:36:06 CET 2020
project.jobs.gui.groupExpandLevel=1
project.ssh-authentication=privateKey
project.ansible-ssh-auth-type=privateKey
project.ansible-ssh-passphrase-option=option.password
service.FileCopier.default.provider=com.batix.rundeck.plugins.AnsibleFileCopier
project.execution.history.cleanup.retention.days=60
project.execution.history.cleanup.enabled=false
project.execution.history.cleanup.schedule=0 0 0 1/1 * ? *
project.output.allowUnsanitized=false
project.execution.history.cleanup.batch=500
project.ansible-config-file-path=/etc/ansible/ansible.cfg
project.ansible-ssh-key-storage-path=keys/keys/id_rsa.key
project.disable.executions=false
project.ssh-command-timeout=0
project.description=
project.ssh-keypath=/var/lib/rundeck/.ssh/id_rsa
service.NodeExecutor.default.provider=com.batix.rundeck.plugins.AnsibleNodeExecutor
project.ansible-ssh-user=sdc-maint
project.name=ServerBDD
project.disable.schedule=false
project.ssh-connect-timeout=0
resources.source.1.type=local
project.ansible-executable=/bin/bash
project.label=ServeurBDD
project.ansible-become-method=sudo
project.ansible-become-user=root
project.execution.history.cleanup.retention.minimum=50
resources.source.2.config.includeServerNode=true
resources.source.2.config.generateFileAutomatically=true
resources.source.2.config.format=resourcexml
resources.source.2.config.file=/var/lib/rundeck/projects/ServerBDD/etc/resources.xml
resources.source.2.config.requireFileExists=true
resources.source.1.type=local
resources.source.2.type=file

I am running my project on Redhat 7.8
Rundeck's version : 3.2.8
Java's version : openjdk version "1.8.0_292"

In the attached file, you will find a screenshot of the error.
Could you help me please?

Thanks in advance

Regards
rundeck-error.png

rac...@rundeck.com

unread,
Sep 20, 2021, 10:26:32 AM9/20/21
to rundeck-discuss

Hi Mohammed,

To make sure, double-check the permissions of projects directory and files (better, check the entire /var/lib/rundeck path), make sure that not owned by root user or a user different of rundeck user.

Regards.

Reply all
Reply to author
Forward
0 new messages