Octopus service stops - with Raven DB error 1808

Our Octopus Deploy service has been running fine for a while but now the service won’t continue to run. Restarting it starts it up but it stops straight afterwards. Error logs show : “Raven (3212) 1-1lOcpk-C:\ProgramFiles\Octopus\RavenDB\Data: Unable to write a shadowed header for file C:\ProgramFiles\Octopus\RavenDB\temp\tmp.edb. Error -1808.” and “Octopus.Server (3212) An attempt to create temporary database C:\ProgramFiles\Octopus\RavenDB\temp\tmp.edb failed with error -1808.” then the Octopus.Server.exe has an System.InvalidOperationException.

I have tried restarting the whole server and running the service as a different user but with no effect. I have tried opening the Octopus Manager and running the Octopus Repair Wizard but this fail with the same error (as below). …any ideas on what my next course of action should be please?

"Service stopped
Repairing the Octopus Server storage at C:\ProgramFiles\Octopus\RavenDB.
Recovering the ESENT database…

Extensible Storage Engine Utilities for Microsoft® Windows®
Version 6.3
Copyright © Microsoft Corporation. All Rights Reserved.

Initiating RECOVERY mode…
Logfile base name: RVN
Log files: C:\ProgramFiles\Octopus\RavenDB\logs
System files: C:\ProgramFiles\Octopus\RavenDB\system
Database Directory: C:\ProgramFiles\Octopus\RavenDB

Performing soft recovery…
Restore Status (% complete)

      0    10   20   30   40   50   60   70   80   90  100
      |----|----|----|----|----|----|----|----|----|----|
      ...................................................

Operation completed successfully in 1.156 seconds.

Defragmenting the ESENT database…

Extensible Storage Engine Utilities for Microsoft® Windows®
Version 6.3
Copyright © Microsoft Corporation. All Rights Reserved.

Initiating DEFRAGMENTATION mode…
Database: C:\ProgramFiles\Octopus\RavenDB\Data

              Defragmentation Status (% complete)

      0    10   20   30   40   50   60   70   80   90  100
      |----|----|----|----|----|----|----|----|----|----|
      X

Operation terminated with error -1808 (JET_errDiskFull, No space left on disk) after 0.109 seconds.

The previous command returned a non-zero exit code of: -1808
The command that failed was: “esentutl” /d "C:\ProgramFiles\Octopus\RavenDB\Data"
ESENT defragmentation failed
Deleting RavenDB indexes…

Error: Could not open transactional storage: C:\ProgramFiles\Octopus\RavenDB\Data

Full error details are available in the log files.
See: http://g.octopushq.com/LogFiles
Error: The previous command returned a non-zero exit code of: 100
Error: The command that failed was: “C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe” repair-storage --instance “OctopusServer”
"

Problem solved: NOTHING TO DO WITH OCTOPUS in the end. The errors were merely the first things that the system could not do because…the hard disk had run out of space !