Errors in the OctopusServer log

We are getting constant errors inside our octopus server.
We did some automated scripting to cleanup our nugget feed and the script automatically deletes the corresponding releases from octopus. This worked pretty well, however, it deleted some releases and now it’s constantly throwing errors.
Below is an example of what happened and a few of the errors afterwords. It’s still going on today… (FYI, I started looking around because deployment was really slow and the task logs were empty for literally 10 minutes after they were finished!)

Any ideas on how to fix the mess I’ve made?

here is the specific log file info:

2014-05-28 10:11:31.4080   INFO  Delete: releases-3946
2014-05-28 10:11:31.6424   INFO  Referenced by: Deploy to RC (deployments-4139)
2014-05-28 10:11:31.6424   INFO  Rule: All deployments for a release are deleted when the release is deleted.
2014-05-28 10:11:31.6580   INFO  Referenced by: variableset-deployments-4139 (variableset-deployments-4139)
2014-05-28 10:11:31.6580   INFO  Rule: The manifest variable set for a deployment will be deleted when the deployment is deleted.
2014-05-28 10:11:31.9548   INFO  Deleted: variableset-deployments-4139
2014-05-28 10:11:32.7360   INFO  Referenced by: Deploy to RC (ServerTasks-19716)
2014-05-28 10:11:32.7516   INFO  Rule: The deployment task is deleted when the deployment is deleted.
2014-05-28 10:11:34.4545   INFO  Deleted: ServerTasks-19716
2014-05-28 10:11:34.8763   INFO  Deleted: deployments-4139
2014-05-28 10:11:36.0949  ERROR  
Octopus.Platform.Documents.Persistence.ResourceNotFoundException: The resource 'ServerTasks-19716' was not found.
   at Octopus.Platform.Documents.Persistence.SessionExtensions.LoadRequired[TModel](IDocumentSession session, String id) in y:\work\db516cd4dfb6f424\source\Octopus.Platform.Documents\Persistence\SessionExtensions.cs:line 45
   at Octopus.Server.Orchestration.TaskController.Receive(TimeoutElapsedEvent timeout) in y:\work\db516cd4dfb6f424\source\Octopus.Server\Orchestration\TaskController.cs:line 98
2014-05-28 10:11:36.2043   INFO  Deleted: releases-3946
2014-05-28 10:11:37.9072   INFO  Deletion complete
2014-05-28 10:11:41.2192  ERROR  
Octopus.Platform.Documents.Persistence.ResourceNotFoundException: The resource 'ServerTasks-19716' was not found.
   at Octopus.Platform.Documents.Persistence.SessionExtensions.LoadRequired[TModel](IDocumentSession session, String id) in y:\work\db516cd4dfb6f424\source\Octopus.Platform.Documents\Persistence\SessionExtensions.cs:line 45
   at Octopus.Server.Orchestration.TaskController.Receive(TimeoutElapsedEvent timeout) in y:\work\db516cd4dfb6f424\source\Octopus.Server\Orchestration\TaskController.cs:line 98
2014-05-28 10:11:46.2810  ERROR  
Octopus.Platform.Documents.Persistence.ResourceNotFoundException: The resource 'ServerTasks-19716' was not found.
   at Octopus.Platform.Documents.Persistence.SessionExtensions.LoadRequired[TModel](IDocumentSession session, String id) in y:\work\db516cd4dfb6f424\source\Octopus.Platform.Documents\Persistence\SessionExtensions.cs:line 45
   at Octopus.Server.Orchestration.TaskController.Receive(TimeoutElapsedEvent timeout) in y:\work\db516cd4dfb6f424\source\Octopus.Server\Orchestration\TaskController.cs:line 98

I seem to have fixed my issue. I added fake server tasks with match deployments linked to existing releases back into the ravendb. Then I deleted the related releases and ran the database repair. Then I removed the related actors from the actors directory and everything seems to running smoothly again!