Error when starting service after automated deployment
I'm trying to automatically deploy seq to a VM using Azure Resource Manager and a powershell script I found and adapted here: https://gist.github.com/bjcull/d566d237ed172ae9c524bc289c41eda9
Everything appears to install to the correct location, however the service cannot start. Please note that if I navigate to where seq lives and run "seq run" the application appears to start up for the first time correctly.
The error I'm getting from the service (found in event viewer) is below:
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.IO.Path.CheckInvalidPathChars(System.String, Boolean)
at System.IO.Path.NormalizePath(System.String, Boolean, Int32, Boolean)
at Seq.Cli.OptionSet.ParseValue(System.String, Seq.Cli.OptionContext)
at Seq.Cli.OptionSet.Parse(System.String, Seq.Cli.OptionContext)
at Seq.Cli.Command.Invoke(System.String, System.IO.TextWriter, System.IO.TextWriter)
This leads me to believe there's an invalid path somewhere, but I can't figure out where.
When viewing the properties of the service, it has this as the path to executable: "C:\Program Files\Seq\Seq.exe" run --storage="F:\SeqData\"
The seq.json file found in F:\SeqData has the following content:
"masterKey": "[removed for this question]"
Any help would be greatly appreciated :) Cheers, Ben.
Posted by Ben Cull over 4 years ago