[GH-ISSUE #1366] v0.15.4 upgrade "broke" automated tasks #2797

Closed
opened 2026-03-14 05:33:08 +03:00 by kerem · 2 comments
Owner

Originally created by @stavros-k on GitHub (Dec 7, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1366

Originally assigned to: @wh1te909 on GitHub.

Server Info (please complete the following information):

  • OS: [e.g. Ubuntu 20.04, Debian 10]
  • Browser: [e.g. chrome, safari]
  • RMM Version (as shown in top left of web UI):

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI):
  • Agent OS: [e.g. Win 10 v2004, Server 2012 R2]

Describe the bug
Automated tasks show empty env vars ( ) instead of []
Because of that tasks do not execute and result in a 500 status code.

Top: how it was after upgrade
Bottom: How it it after re-adding

image

More detailed info in https://discord.com/channels/736478043522072608/1050090372719718411

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Originally created by @stavros-k on GitHub (Dec 7, 2022). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1366 Originally assigned to: @wh1te909 on GitHub. **Server Info (please complete the following information):** - OS: [e.g. Ubuntu 20.04, Debian 10] - Browser: [e.g. chrome, safari] - RMM Version (as shown in top left of web UI): **Installation Method:** - [x] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): - Agent OS: [e.g. Win 10 v2004, Server 2012 R2] **Describe the bug** Automated tasks show empty env vars (` `) instead of `[]` Because of that tasks do not execute and result in a 500 status code. Top: how it was after upgrade Bottom: How it it after re-adding <img width="607" alt="image" src="https://user-images.githubusercontent.com/47820033/206248537-af0009ba-6239-46df-a78f-4534caa4826b.png"> More detailed info in https://discord.com/channels/736478043522072608/1050090372719718411 **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here.
kerem 2026-03-14 05:33:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@stavros-k commented on GitHub (Dec 7, 2022):

Note: This is only an issue on the previously created tasks, not new!

For now I solved the issue, by editing each task adding the script again and removing the old entry

New tasks works fine

<!-- gh-comment-id:1341321866 --> @stavros-k commented on GitHub (Dec 7, 2022): Note: This is only an issue on the **previously** created tasks, not new! For now I solved the issue, by editing each task adding the script again and removing the old entry New tasks works fine
Author
Owner

@wh1te909 commented on GitHub (Dec 8, 2022):

thank you, fixed in 0.15.5 I added a migration for older tasks to get them into the newer format

<!-- gh-comment-id:1342179885 --> @wh1te909 commented on GitHub (Dec 8, 2022): thank you, fixed in 0.15.5 I added a migration for older tasks to get them into the newer format
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2797
No description provided.