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: Tasks go missing #2589

Open
UNiXMIT opened this issue Nov 26, 2024 · 2 comments
Open

Problem: Tasks go missing #2589

UNiXMIT opened this issue Nov 26, 2024 · 2 comments

Comments

@UNiXMIT
Copy link

UNiXMIT commented Nov 26, 2024

Issue

Today, i noticed that tasks have been going missing:

image
image
and
image
image

If I click task 385 or 388 in my users Active Tasks section it just went back to the dashboard and task 385 or 388 was not visible there.

What should I do to diagnose this further?

Thanks

Impact

Web-Frontend (what users interact with)

Installation method

Docker

Database

Postgres

Browser

Firefox

Semaphore Version

2.10.35

Ansible Version

No response

Logs & errors

No response

Manual installation - system information

No response

Configuration

No response

Additional information

No response

@BenGig
Copy link

BenGig commented Nov 28, 2024

Same issue, 2.10.43 (mariadbd Ver 10.5.22-MariaDB)

Errors in the log (key constraint errors truncated, there are many):

time="2024-11-27T15:05:26+01:00" level=error msg="Error 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`semaphore`.`task__output`, CONSTRAINT `task__output_ibfk_1` FOREIGN KEY (`task_id`) REFERENCES `task` (`id`) ON DELETE CASCADE)"
...
time="2024-11-27T15:20:23+01:00" level=error msg="Error 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`semaphore`.`task__output`, CONSTRAINT `task__output_ibfk_1` FOREIGN KEY (`task_id`) REFERENCES `task` (`id`) ON DELETE CASCADE)"
time="2024-11-27T15:20:23+01:00" level=error msg="Error 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`semaphore`.`task__output`, CONSTRAINT `task__output_ibfk_1` FOREIGN KEY (`task_id`) REFERENCES `task` (`id`) ON DELETE CASCADE)"
time="2024-11-27T15:20:23+01:00" level=error msg="remove /data_1/semaphore/inventory_69864: no such file or directory"

I found the same log message in #459 but tasks aren't manually deleted here.

Maybe related: when I refresh the Dashboard page, I get further errors:

time="2024-11-27T15:47:13+01:00" level=error msg="websocket: close sent" fields.level=Error
time="2024-11-27T15:47:13+01:00" level=error msg="close tcp 127.0.0.1:3000->127.0.0.1:48138: use of closed network connection" fields.level=Error

@BenGig
Copy link

BenGig commented Nov 29, 2024

Update: the same template sometimes works as expected, sometimes not. If it works, the log window opens, if not, the window does not appear. However, the task is processed in any case.

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

2 participants