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

v0.15.4 upgrade "broke" automated tasks #1366

Closed
1 of 2 tasks
stavros-k opened this issue Dec 7, 2022 · 2 comments
Closed
1 of 2 tasks

v0.15.4 upgrade "broke" automated tasks #1366

stavros-k opened this issue Dec 7, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@stavros-k
Copy link
Contributor

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.

@stavros-k
Copy link
Contributor Author

stavros-k commented 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

@wh1te909 wh1te909 self-assigned this Dec 8, 2022
@wh1te909 wh1te909 added the bug Something isn't working label Dec 8, 2022
@wh1te909
Copy link
Member

wh1te909 commented Dec 8, 2022

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

@wh1te909 wh1te909 closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants