Jump to content

Error when attempting to upgrade to version 9.1 build 9100


KC_BREC
 Share

Recommended Posts

I am receiving the following error when attempting to upgrade to version 9.1 build 9100:

 

Access to the path 'c:\inetpub\Passwordstate\upgrades\UpgradeLog.txt' is denied., StackTrace = 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, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at Passwordstate.Passwordstate.Upgrade.UpdateUpgradeLogFile(String LogEntry) at Passwordstate.upgrades_step1.DownloadButton_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Any ideas what may be causing this issue and how to correct?

Link to comment
Share on other sites

Hello KC_BREC,

 

Access denied messages generally means incorrect NTFS permissions.

Please ensure your backup account, and the NETWORK SERVICE account, has Modify NTFS permissions to your entire Passwordstate folder - make sure you propagate those permissions down.

Regards

Click Studios

Link to comment
Share on other sites

Permissions are all correct on the server. The Passwordstate scheduled nightly backups a completing just fine, but if I run the test permissions on the backup screen I get access denied. If I attempt to upgrade, with the backup enabled prior to upgrade, that backup completes but the upgrade fails with the above message.

Link to comment
Share on other sites

Hi KC_Brec,

 

Could you please contacts us on our support@clickstudios.com.au address, and send us through the results of this Server Info check?  We'd like to work with you to see if we can get to the bottom of this:  https://www.clickstudios.com.au/community/index.php?/topic/2518-passwordstate-support-information-script/

 

 

 

Regards,

Support

 

 

Link to comment
Share on other sites

13 hours ago, support said:

If anyone else is reading this post, it looks like the backup account did not have explicit modify permissions on the c:\inetpub\passwordstate folder.  Adding those permissions fixed this issue.

 

Regards,

Support

Can confirm this, afterwards no more issues with permissions.

Link to comment
Share on other sites

I have since discovered that the backup user must be given permissions to the directory specifically and not just be a member of a group that has appropriate permissions. Our backup user is a member of the administrators group and as such should have had all necessary permissions. Nightly scheduled backups where completing without error but when testing permissions, or attempting an upgrade, it was failing. After specifically adding the user to the directory (outside of the group) it now works. Apparently something changed during the upgrade version 9.0 build 9073, as we have never had any issues until then.

Link to comment
Share on other sites

Hi KC_BREC,

 

We do have it documented that explicit NTFS permissions are required to the Passwordstate folder, and the backup folder. We agree this does not make sense if you are a local admin, but it seems Microsoft's various libraries we are using here need it.

Regards

Click Studios

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...