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: SemaphoreUI Runner do not remove inventory_* dirs #2645

Open
bernd-mueller-el opened this issue Dec 18, 2024 · 0 comments
Open

Problem: SemaphoreUI Runner do not remove inventory_* dirs #2645

bernd-mueller-el opened this issue Dec 18, 2024 · 0 comments

Comments

@bernd-mueller-el
Copy link

bernd-mueller-el commented Dec 18, 2024

Issue

Using a runner for tasks will result in this message

level=error msg="remove /tmp/semaphore/inventory_9: directory not empty"

I think this line have to be like the following

if err := os.Remove(fullPath); err != nil {

	if err := os.RemoveAll(fullPath); err != nil {

Is this correct?

Impact

Semaphore Project

Installation method

Package

Database

Postgres

Browser

No response

Semaphore Version

v2.10.43

# semaphore version
2.10.43-e43af6b-1732277822

Ansible Version

No response

Logs & errors

level=error msg="remove /tmp/semaphore/inventory_9: directory not empty"

Manual installation - system information

No response

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