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

Problem: Ansible Playbook Dry-run "fatal: could not create work tree dir 'repository_3_9': Permission denied" #2208

Open
sebiweise opened this issue Jul 19, 2024 · 0 comments

Comments

@sebiweise
Copy link

Issue

I´m new to Semaphore and I´m trying to run my first Playbook. When I try to run it as Dry-run, I´m getting the following error:

10:56:09 AM
Task 3 added to queue
10:56:12 AM
Started: 3
10:56:12 AM
Run TaskRunner with template: update-aptpackages
10:56:12 AM
Preparing: 3
10:56:12 AM
Cloning Repository https://github.com/******/homelab
10:56:12 AM
fatal: could not create work tree dir 'repository_3_9': Permission denied
10:56:12 AM
Failed updating repository: exit status 128
10:56:12 AM
Running app failed: exit status 128

Impact

Ansible (task execution)

Installation method

Docker

Database

MySQL

Browser

Chrome, Microsoft Edge

Semaphore Version

v2.10.19-fef54a1-1721293380

Ansible Version

No response

Logs & errors

Attempting to connect to database semaphore on mysql:3306 with user semaphore ...
No additional system dependencies to install
No additional python dependencies to install
Starting semaphore server
.Loading config
Validating config
MySQL semaphore@mysql:3306 semaphore
Tmp Path (projects home) /tmp/semaphore
Semaphore v2.10.19-fef54a1-1721293380
Interface
Port :3000
Server is running

time="2024-07-19T10:55:58+02:00" level=error msg="websocket: close sent" fields.level=Error
time="2024-07-19T10:55:58+02:00" level=error msg="close tcp 172.25.0.15:3000->172.25.0.5:32884: use of closed network connection" fields.level=Error

time="2024-07-19T10:56:05+02:00" level=error msg="websocket: close sent" fields.level=Error
time="2024-07-19T10:56:05+02:00" level=error msg="close tcp 172.25.0.15:3000->172.25.0.5:51158: use of closed network connection" fields.level=Error
time="2024-07-19T10:56:09+02:00" level=info msg="Task 3 added to queue"
time="2024-07-19T10:56:11+02:00" level=info msg="Set resource locker with TaskRunner 3"
time="2024-07-19T10:56:11+02:00" level=info msg="Task 3 removed from queue"
time="2024-07-19T10:56:11+02:00" level=info msg="Stopped running TaskRunner 3"
time="2024-07-19T10:56:11+02:00" level=info msg="Release resource locker with TaskRunner 3"

time="2024-07-19T10:57:30+02:00" level=error msg="websocket: close sent" fields.level=Error
time="2024-07-19T10:57:30+02:00" level=error msg="close tcp 172.25.0.15:3000->172.25.0.5:51174: use of closed network connection" fields.level=Error

Manual installation - system information

Linux srv1 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:25:01 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Configuration

No response

Additional information

No response

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

No branches or pull requests

1 participant