NS8 Imapsync delete task error

I have a task in imapsync that was not working properly and have therefore recreated it. I wanted to delete the defective task, but unfortunately this is not possible, I get an error message every time. How can I delete this task?

<7>run-imapsync stop erwin_hp7esj
/usr/local/bin/syncctl: /etc/imapsync/erwin_hp7esj.env: line 10: Messages$: not found
Traceback (most recent call last):
  File "/home/imapsync1/.config/actions/delete-task/10stop-service", line 16, in <module>
    agent.run_helper("run-imapsync", "stop", localuser+'_'+task_id).check_returncode()
  File "/usr/lib64/python3.11/subprocess.py", line 502, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '('run-imapsync', 'stop', 'erwin_hp7esj')' returned non-zero exit status 127.

I also noticed a small error. If you make changes and then press cancel, the last changes are still saved.

Best
Erwin

runagent -m imap1

Then in the state folder find and remove all task/credential starting by erwin_hp7esj

@stephdl Thank you, the task has been deleted.

1 Like