Jump to content

Upgrade error


dbcrvl

Recommended Posts

Hi,

 

I am trying to upgrade PasswordState from V8.1 (Build 8165)  to the latest version available.

 

When I tried the first time, it said it could not download the ZIP and asked me to do it manually and place it in the /upgrades folder, so I did.

 

Now when I try to upgrade again, I get this error log in the webpage:

Quote

- Stopping Passwordstate Windows Service.....
- Compressing and backing up web files.....
- Backing up database.....
- Removing old backup files.....
- Download started.....
- Extracting new files.....
- Upgrade error detected - Object reference not set to an instance of an object. - Method = ExtractBuildButton_Click

 

and this in the UpgradeLog.txt file:

Quote

7/10/2018 1:06:46 PM - Passwordstate upgrade started.
7/10/2018 1:06:53 PM - Stopping of the Passwordstate Windows Service started.
7/10/2018 1:06:53 PM - Stopping of the Passwordstate Windows Service completed.
7/10/2018 1:06:54 PM - Compressing and backing up of web files started.
7/10/2018 1:07:20 PM - Compressing and backing up of web files completed.
7/10/2018 1:07:20 PM - Backing up of database started.
7/10/2018 1:07:20 PM - Backing up of database completed.
7/10/2018 1:07:20 PM - Removing old backups started.
7/10/2018 1:07:21 PM - Removing old backups completed.
7/10/2018 1:07:21 PM - Downloading of file passwordstate_upgrade.zip started.
7/10/2018 1:07:21 PM - Downloading of file passwordstate_upgrade.zip completed.
7/10/2018 1:07:21 PM - Extracting of files in file passwordstate_upgrade.zip started.
7/10/2018 1:07:27 PM - Extracting of files in file passwordstate_upgrade.zip completed.
7/10/2018 1:07:28 PM - Copying of new files started.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - Authentication Failed = Please check if the UserName and Password you have specified for Backups and Upgrades is correct.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - Object reference not set to an instance of an object. - Method = CopyNewFiles
7/10/2018 1:07:28 PM - Finished copying of new files.
7/10/2018 1:07:28 PM - Starting of the Passwordstate Windows Service started.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - There was an issue starting the Passwordstate Windows Service.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - Object reference not set to an instance of an object. - Method = StartWindowsService
7/10/2018 1:07:28 PM - Finished starting the Passwordstate Windows Service.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - Authentication Failed = Please check if the UserName and Password you have specified for Backups and Upgrades is correct.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - Object reference not set to an instance of an object. - Method = DeleteFile
7/10/2018 1:07:28 PM - Finished deleting the Passwordstate_Upgrade.zip file.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - Authentication Failed = Please check if the UserName and Password you have specified for Backups and Upgrades is correct.
7/10/2018 1:07:28 PM - The following error occurred during preparing for an upgrade - Object reference not set to an instance of an object. - Method = DeleteFilesInFolder
7/10/2018 1:07:28 PM - Finished deleting all temp files in the folder /upgrades/passwordstate.

 

Tried with different local administrator accounts, domain admin accounts, also added these users to the "Log on as batch job" policy, gave these users full permissions on the whole Passwordstate folder... but no luck.

 

Can someone please help? Thanks!

 

Link to comment
Share on other sites

Hi dbcrvl,

 

Do you have your Passwordstate Service running as a specific user, instead of Local System?

 

Possibly if you just want to upgrade quickly, you could follow Section 5 of this document which is the manual upgrade instructions:  https://www.clickstudios.com.au/downloads/version8/Upgrade_Instructions.pdf

 

And here is a video of this process:  https://www.youtube.com/watch?v=-Ban10vxdSE

 

 

Regards,

Support

 

Link to comment
Share on other sites

Also, do you have any Antivirus software installed on your web server? It's very strange to get these errors in the middle of an upgrade, and I'm wandering if AV software could be killing/clearing some session variables in the middle of the process.

Regards

Click Studios

Link to comment
Share on other sites

Hi support and thanks for your replies.

 

We do not have any AntiVirus software installed on the server and the PasswordState service is running as "Local System".

 

Will try the manual upgrade.

 

Link to comment
Share on other sites

It is very easy!  just stop the service and replace some files....Glad that got it working for you, hopefully next time you do an auto upgrade it will work for you without error:)

 

Coincidentally we are releasing a new build today:)

 

Regards,

Support

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...