Hello,
I kept on getting this error when i initially setup Duplicati, by default, as a browser. After digging through some similar issues, I found at that switching to running it as a service would improve the situation - and at least I got rid of that error. After other hours of setting the backups to save to a NAS, i ended up getting two backups successfully save data last thursday, so i figured that ‘this was it’ and I’m now good & stable with Duplicati 2.
Yesterday, however, Duplicati 2 was showing as a fresh install and still kept on asking me to install/activate the 11th of April update (even though i’ve done that countless of times). I shutdown and went to sleep.
Today, the backups are there, however none would even start running with a ‘back to square one’ error:
Access to the path ‘C:\Program Files\Duplicati 2\true’ is denied.System.UnauthorizedAccessException: Access to the path ‘C:\Program Files\Duplicati 2\true’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access)
at Duplicati.Library.Main.Controller.SetupCommonOptions(ISetCommonOptions result, String& paths, IFilter& filter)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String& paths, IFilter& filter, Action`1 method)
at Duplicati.Library.Main.Controller.Repair(IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)
What is generating this and why on earth did it had perms on Thursday, but it doesn’t have today? Yet it was able to read the configuration files it didn’t read yesterday…
The service runs as ‘Local System’, and has ran as such ever since the setup.
Thank you.
LE: I just noticed that, after yesterday’s update, I have TWO Duplicati’s: the one that’s empty, and that has started running on 8200, and the original one, which was on 8200 on Thursday, HAD the backups complete and now moved onto 8300 and started failing with the error from the subject.
Urgh.
Even LE: The reason is the dreaded ‘run as administrator’ check that got removed with the updated. Why i have TWO duplicati instances running, one as user on 8200 and one as a service on 8300, beats me, but at least everything works now