Waiting for the script in task (error - task not found)

I get the following error:
Waiting for the script in task (error - task not found) to finish as this script requires that no other Octopus scripts are executing on this target at the same time.
The only way we have found to break the waiting is to re-boot the whole server which takes some coordination on our systems
I have the whole logs, but i dont want to post them here

here are the latter parts near the break:

14:54:54   Verbose  |         Using Calamari.netfx 14.11.0
14:54:54   Verbose  |         Requesting upload...
14:54:54   Verbose  |         Establishing SSH connection...
14:54:54   Verbose  |         SSH connection established
14:54:55   Verbose  |         Beginning streaming transfer of command.sh to $HOME\.octopus\OctopusServer\Work\20210119215454-62715-119667
14:54:55   Verbose  |         Establishing SFTP connection...
14:54:57   Verbose  |         SSFTP connection established
14:54:57   Verbose  |         Stream transfer complete
14:54:59   Verbose  |         Requesting upload...
14:55:00   Verbose  |         Beginning streaming transfer of CatiController.2.8.111_F009AD65_to_2.8.111_F009AD65.octodelta to $HOME\.octopus\OctopusServer\Work\20210119215454-62715-119667
14:55:00   Verbose  |         Stream transfer complete
14:55:03   Verbose  |         Requesting upload...
14:55:04   Verbose  |         Beginning streaming transfer of Variables.secret to $HOME\.octopus\OctopusServer\Work\20210119215454-62715-119667
14:55:05   Verbose  |         Stream transfer complete
14:55:07   Verbose  |         Requesting upload...
14:55:08   Verbose  |         Beginning streaming transfer of Variables.Bash.secret to $HOME\.octopus\OctopusServer\Work\20210119215454-62715-119667
14:55:08   Verbose  |         Stream transfer complete
14:55:12   Verbose  |         Calamari Version: 14.11.0
14:55:12   Verbose  |         Environment Information:
14:55:12   Verbose  |         OperatingSystem: Unix 3.10.0.1127
14:55:12   Verbose  |         OsBitVersion: x64
14:55:12   Verbose  |         Is64BitProcess: True
14:55:12   Verbose  |         Running on Mono: True
14:55:12   Verbose  |         CurrentUser: wire
14:55:12   Verbose  |         MachineName: ubluprdotv09v
14:55:12   Verbose  |         ProcessorCount: 2
14:55:12   Verbose  |         CurrentDirectory: /home/wire/.octopus/OctopusServer/Work/20210119215454-62715-119667
14:55:12   Verbose  |         TempDirectory: /tmp/
14:55:12   Verbose  |         HostProcess: Calamari (68466)
14:55:13   Info     |         Applying delta to /home/wire/.octopus/OctopusServer/Files/CatiController@S2.8.111@A5765BF79DD0304394D2517DF9A8172B.zip with hash f009ad65faa37895cd2ea59f65c8dd10962df3e2 and storing as /home/wire/.octopus/OctopusServer/Files/CatiController@S2.8.111@235226728C1FA6479A05715599551FC4.zip
14:55:16   Verbose  |         SFTP connection disposed.
14:55:16   Verbose  |         SSH connection disposed.
14:55:16   Verbose  |         Exit code: 0
14:55:16   Info     |         Delta for package CatiController v2.8.111 successfully uploaded and applied.
                    |       
                    |   == Running: Step 1: Deploy app ==
                    |   
                    |     == Running: ubluprdotv07v ==
                    |     
                    |       == Running: Deploy app ==
14:55:17   Verbose  |         Octopus Server version: 2020.4.0+Branch.tags-2020.4.0.Sha.6fcc5868ffcdca3e5d2bb1a2071964dfa43d218a
14:55:17   Verbose  |         Environment Information:
                    |         IsRunningInContainer: False
                    |         OperatingSystem: Microsoft Windows 10.0.14393
                    |         OsBitVersion: x64
                    |         Is64BitProcess: True
                    |         CurrentUser: NT AUTHORITY\SYSTEM
                    |         MachineName: WBLUPRDOCT01V
                    |         ProcessorCount: 4
                    |         CurrentDirectory: C:\Windows\system32
                    |         TempDirectory: C:\Windows\TEMP\
                    |         HostProcessName: Octopus.Server
                    |         PID: 2544
14:55:17   Verbose  |         Executing Deploy app (type Deploy a Package) on ubluprdotv07v
14:55:17   Verbose  |         Using Calamari.netfx 14.11.0
14:55:17   Wait     |         Waiting for the script in task (error - task not found) to finish as this script requires that no other Octopus scripts are executing on this target at the same time.
                    |       
                    |     == Running: ubluprdotv08v ==
                    |     
                    |       == Running: Deploy app ==
14:55:17   Verbose  |         Octopus Server version: 2020.4.0+Branch.tags-2020.4.0.Sha.6fcc5868ffcdca3e5d2bb1a2071964dfa43d218a
14:55:17   Verbose  |         Environment Information:
                    |         IsRunningInContainer: False
                    |         OperatingSystem: Microsoft Windows 10.0.14393
                    |         OsBitVersion: x64
                    |         Is64BitProcess: True
                    |         CurrentUser: NT AUTHORITY\SYSTEM
                    |         MachineName: WBLUPRDOCT01V
                    |         ProcessorCount: 4
                    |         CurrentDirectory: C:\Windows\system32
                    |         TempDirectory: C:\Windows\TEMP\
                    |         HostProcessName: Octopus.Server
                    |         PID: 2544
14:55:17   Verbose  |         Executing Deploy app (type Deploy a Package) on ubluprdotv08v
14:55:17   Verbose  |         Using Calamari.netfx 14.11.0
14:55:17   Wait     |         Waiting for the script in task (error - task not found) to finish as this script requires that no other Octopus scripts are executing on this target at the same time.
                    |       
                    |     == Running: ubluprdotv09v ==
                    |     
                    |       == Running: Deploy app ==
14:55:17   Verbose  |         Octopus Server version: 2020.4.0+Branch.tags-2020.4.0.Sha.6fcc5868ffcdca3e5d2bb1a2071964dfa43d218a
14:55:17   Verbose  |         Environment Information:
                    |         IsRunningInContainer: False
                    |         OperatingSystem: Microsoft Windows 10.0.14393
                    |         OsBitVersion: x64
                    |         Is64BitProcess: True
                    |         CurrentUser: NT AUTHORITY\SYSTEM
                    |         MachineName: WBLUPRDOCT01V
                    |         ProcessorCount: 4
                    |         CurrentDirectory: C:\Windows\system32
                    |         TempDirectory: C:\Windows\TEMP\
                    |         HostProcessName: Octopus.Server
                    |         PID: 2544
14:55:17   Verbose  |         Executing Deploy app (type Deploy a Package) on ubluprdotv09v
14:55:17   Verbose  |         Using Calamari.netfx 14.11.0
14:55:17   Wait     |         Waiting for the script in task (error - task not found) to finish as this script requires that no other Octopus scripts are executing on this target at the same time.
                    |

Hi Samuel,

We might need some more logs to get to the bottom of this one. For that I can turn this message into a private chat.

Just to clarify; Does this happen everytime you deploy?

We may need SSH logs, SFTP logs and a process dump.

However, before we do that, I have noticed that you are using an SSH connection to your linux target. Are you able to replace the SSH connection with a linux tentacle? This may solve your issues.

Let me know if this is not possible and I will lock down the ticket so you can send across your log files.

Regards,

Dane

This has only happened 3 times in the last year, but it is a pain when it does happen. i will try upgrading to a linux tentacle thanks

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.