Jump to content

Update not working


SeSchi
 Share

Recommended Posts

Hello,

 

I've just tried to update from build 8744 to the latest one. But I got the following error in the error console after clicking the "Start Upgrade" button on the "Step 1 - Upgrade the Web Files" page:

 

Quote

Der Zugriff auf den Pfad "c:\inetpub\Passwordstate\upgrades\UpgradeLog.txt" wurde verweigert., StackTrace = bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) bei 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) bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) bei System.IO.StreamWriter..ctor(String path, Boolean append) bei Passwordstate.Upgrade.UpdateUpgradeLogFile(String LogEntry) bei upgrades_step1.StopWindowsServiceButton_Click(Object sender, EventArgs e) bei System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) bei System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Sorry, it is a german Windows... But it means something like "access to path 'c:\inetpub\Passwordstate\upgrades\UpgradeLog.txt' denied".

 

The question is: who or what needs that access.

 

Regards

Sebastian

Link to comment
Share on other sites

Hi Sebastian,

 

Under Administration -> Backups and Upgrades -> Settings, you will have previously set a domain account on this screen, and this is the account that needs to have permissions to write to that file.  It does a bunch of other stuff too, like deleting old files and copying in new ones,  and the easiest way to fix this is to make it a member of the local administrators group on your web server.

 

If you start the upgrade again, hopefully it goes through this time, if everything is ok.  If you run into any issues, click the Test Permissions button on that Backup and Upgrades page and this will give you more information.  Password may be incorrect, or locked out etc.

 

Hope this helps,

Support. 

Link to comment
Share on other sites

Good news that's working now!

 

Just to confirm it does not necessarily have to be a local administrator, you can reduce the permissions if you want to by following the advice under Help -> Security Administrators Manual -> Passwordstate Administration -> Backups and Upgrades.

 

Or alternatively, you can link the account you set on the backups and upgrades screen to a password record, which can automatically recycle the password on a schedule of your choice.  This way it can be a local Admin and you can be confident the account cannot be used for malicious purposes.  


Just wanted to document this here in case anyone else finds this post, and needs the advice:)

 

Regards,

Support

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...