JJMicro Posted August 10, 2021 Share Posted August 10, 2021 My current build number is 8951. I am attempting to update first to version 8995 and then to version 9003 as per the instructions here: https://www.clickstudios.com.au/downloads/version9/Upgrade_Instructions.pdf I've downloaded 8995, put Passwordstate into Maintenance mode, and run the installer. It installs without issue. However, when the installation finishes and I go to login, it does not prompt me to upgrade the database. And the version still shows as 8951. How do I get it to initiate the database upgrade? At this point, I've tried running the installer again, and it just asks if I want to uninstall or repair my installation. I have tried to repair the installation but I am still not prompted to upgrade the database upon login. Please advise. Link to comment Share on other sites More sharing options...
support Posted August 10, 2021 Share Posted August 10, 2021 Hello JJMicro, Can you tell us if you have done any hardening on your web server? With our installer/upgrader, we do use some custom PowerShell scripts to perform various tasks, and we've been made recently aware by a couple of customers that these PowerShell scripts are not executing, due to server hardening. We're going to try and replicate this ourselves today, and work on a fix if we can. We will post back here once we have more information. Regards Click Studios Link to comment Share on other sites More sharing options...
JJMicro Posted August 11, 2021 Author Share Posted August 11, 2021 No. I haven't done any server hardening. PowerShell scripts can run just fine on this server. Is there any way to get PasswordState to go into database upgrade mode manually? Perhaps a setting in a config file? Link to comment Share on other sites More sharing options...
support Posted August 11, 2021 Share Posted August 11, 2021 Can you please open a command prompt for us, and type powershell.exe - can you let us know what this does? Thanks Click Studios Link to comment Share on other sites More sharing options...
support Posted August 11, 2021 Share Posted August 11, 2021 Or do you possible have some Anti-Virus software which is blocking our PowerShell scripts? We had one customer reporting Kaspersky was blocking it. Regards Click Studios Link to comment Share on other sites More sharing options...
JJMicro Posted August 11, 2021 Author Share Posted August 11, 2021 See attached screenshot showing what I get when I run powershell from a command prompt. I double checked my antivirus and see no quarantined files or alerts. Our antivirus is not set to block powershell scripts. Link to comment Share on other sites More sharing options...
JJMicro Posted August 11, 2021 Author Share Posted August 11, 2021 Just for fun, I just snoozed my antivirus protection and tried reinstalling the update. It only gives me the option to uninstall or repair at this point. So I chose repair. After the installation finished, I logged back in to Passwordstate and it did not prompt me to upgrade the database. And it's still showing build 8951 at the top. Link to comment Share on other sites More sharing options...
support Posted August 12, 2021 Share Posted August 12, 2021 Hi JJ, Thanks, and there something strange going on where our PowerShell scripts are just not being executed for some reason, and we cannot seem to replicate this in any of our environments. Could you also do something else for us, so we can try and troubleshoot this issue: Let us know what version of the operating system you are using, and whether it is 32bit or 64bit Let us know what version of PowerShell and .NET Framework you have installed And from the run command in Windows, can you try pasting the two separate commands below, and let us know if any of these versions of PowerShell are blocked or not: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe Thanks very much Click Studios Link to comment Share on other sites More sharing options...
JJMicro Posted August 12, 2021 Author Share Posted August 12, 2021 64 Bit Server 2012 R2 Standard PowerShell is version 5.1.14409.1018 See screenshot for all the .NET Framework versions installed: (2.0, 3.0, 3.5, 4.0, and 4.8) Both PowerShell executables open from the Run Command without issue. Both launch PowerShell windows. Link to comment Share on other sites More sharing options...
support Posted August 12, 2021 Share Posted August 12, 2021 Hello JJ, We've had reports that the 32bit version of PowerShell i.e. C:\Windows\SysWOW64 does report one error like in the screenshot below. Does yours do the same as below? Also, we assume your language in Windows is set to English? Link to comment Share on other sites More sharing options...
JJMicro Posted August 12, 2021 Author Share Posted August 12, 2021 This is what I get when I run the 32 bit version of PowerShell (I don't see any errors): Link to comment Share on other sites More sharing options...
support Posted August 12, 2021 Share Posted August 12, 2021 Okay thanks. It definitely seems like there is something on your system which is blocking execution of our PowerShell scripts with our installers, and we're not sure what it could be now. We are making some changes to the installer today, to force the use of the 64bit version of PowerShell, so we might need to try that when it's ready, to see if this works for you. Regards Click Studios Link to comment Share on other sites More sharing options...
JJMicro Posted August 12, 2021 Author Share Posted August 12, 2021 What PowerShell scripts need to run? Can I run them manually after unpacking the update? Link to comment Share on other sites More sharing options...
support Posted August 12, 2021 Share Posted August 12, 2021 Hello JJ, No, we do not think that would be possible do to the order in which the scripts are run, they would need to be edited, etc. Regards Click Studios Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now