cancel

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
Deshi Honor Student
Honor Student
2 1 0 0
Message 1 of 3
1,173
Flag Post
HP Recommended

hp device manager upgrade failing to upgrade database

HP Device Manager

We are attempting to upgrade our version of HP Device Manager from version 4.6 to version 4.7,  however it always fails on the upgrade database portion of the install.  It does not give me any reason for the fail,  just a dialog bos that says "Upgrade Failed"

 

I have also tried creating a new database and then importing the old database into the new database,  but this also fails.  

 

Any ideas?  Is there some logs with more details somewhere that I am missing?  Cant troubleshoot much with just "Upgrade Failed"

 

heres the installer log output output:

 

6-23-2016 11:00:51 | INFO | Start HPDM installation/uninstallation...
6-23-2016 11:00:51 | INFO | No command-line parameters is set. Install HPDM with interactive UI.
6-23-2016 11:00:51 | INFO | Successfully execute: C:\Users\KAREEF~1.HUG\AppData\Local\Temp\2\{13FC33E7-9CF8-4B19-9397-735CE3F2778F}\QueryLogonUser.cmd
6-23-2016 11:00:51 | INFO | Install HPDM...
6-23-2016 11:00:51 | INFO | A previous HPDM exists in the machine.
8-8-2016 13:42:20 | INFO | Start HPDM installation/uninstallation...
8-8-2016 13:42:20 | INFO | No command-line parameters is set. Install HPDM with interactive UI.
8-8-2016 13:42:20 | INFO | Successfully execute: C:\Users\KAREEF~1.HUG\AppData\Local\Temp\1\{A6CDEC59-F949-4DCB-A2E7-590D1BED3A92}\QueryLogonUser.cmd
8-8-2016 13:42:20 | INFO | Install HPDM...
8-8-2016 13:42:20 | INFO | A previous HPDM exists in the machine.
8-8-2016 13:43:11 | INFO | D:\hpdm
8-8-2016 13:43:16 | INFO | HPDM Console is selected to be installed.
8-8-2016 13:43:16 | INFO | HPDM Server is selected to be installed.
8-8-2016 13:43:16 | INFO | HPDM Gateway is selected to be installed.
8-8-2016 13:43:16 | INFO | HPDM Master Repository Controller is selected to be installed.
8-8-2016 13:43:16 | INFO | There exists a folder named Repository, back up it.
8-8-2016 13:43:17 | INFO | Setup Type: Custom.
8-8-2016 13:43:17 | INFO | Start to copying HPDM installation files to destination path.
8-8-2016 13:43:17 | INFO | Upgrade is selected, starting to uninstall previous services.
8-8-2016 13:43:18 | INFO | Preparing to stop processes and stop, uninstall previous services.
8-8-2016 13:43:18 | INFO | Successfully execute: taskkill /F /IM Console.exe /T
8-8-2016 13:43:18 | INFO | Successfully execute: taskkill /F /FI "WINDOWTITLE eq HP Device Manager *" /FI "IMAGENAME eq java*" /T
8-8-2016 13:43:18 | INFO | Successfully execute: taskkill /F /IM GatewayControl.exe /T
8-8-2016 13:43:19 | INFO | Successfully execute: taskkill /F /IM ServerControl.exe /T
8-8-2016 13:43:19 | INFO | Successfully execute: net stop hpdmpxe
8-8-2016 13:43:21 | INFO | Successfully execute: net stop hpdmgateway
8-8-2016 13:43:22 | INFO | Successfully execute: net stop hpdmgateway
8-8-2016 13:43:28 | INFO | Successfully execute: net stop MasterRepositoryController
8-8-2016 13:43:31 | INFO | Successfully execute: net stop hpdmserver
8-8-2016 13:43:34 | INFO | Successfully execute: net stop "HPDM PostgreSQL 8.3"
8-8-2016 13:43:34 | INFO | Successfully execute: C:\Users\KAREEF~1.HUG\AppData\Local\Temp\1\{A6CDEC59-F949-4DCB-A2E7-590D1BED3A92}\sc delete hpdmpxe
8-8-2016 13:43:34 | INFO | Successfully execute: C:\Users\KAREEF~1.HUG\AppData\Local\Temp\1\{A6CDEC59-F949-4DCB-A2E7-590D1BED3A92}\sc delete hpdmgateway
8-8-2016 13:43:34 | INFO | Successfully execute: C:\Users\KAREEF~1.HUG\AppData\Local\Temp\1\{A6CDEC59-F949-4DCB-A2E7-590D1BED3A92}\sc delete MasterRepositoryController
8-8-2016 13:43:34 | INFO | Successfully execute: C:\Users\KAREEF~1.HUG\AppData\Local\Temp\1\{A6CDEC59-F949-4DCB-A2E7-590D1BED3A92}\sc delete hpdmserver
8-8-2016 13:43:34 | INFO | Successfully execute: C:\Users\KAREEF~1.HUG\AppData\Local\Temp\1\{A6CDEC59-F949-4DCB-A2E7-590D1BED3A92}\sc delete "HPDM PostgreSQL 8.3"
8-8-2016 13:43:34 | INFO | Finish to stop processes and stop, uninstall previous services.
8-8-2016 13:43:34 | WARN | Removing C:\Program Files (x86)\Hewlett-Packard\HP Device Manager\JVM
8-8-2016 13:43:35 | ERROR | Failed to remove the folder C:\Program Files (x86)\Hewlett-Packard\HP Device Manager\JVM .
8-8-2016 13:45:47 | INFO | HPDM installation files have been copied to destination path.
8-8-2016 13:45:47 | INFO | Start to configure HPDM.
8-8-2016 13:45:47 | INFO | D:\hpdm
8-8-2016 13:45:47 | INFO | set configure file path:D:\hpdm
8-8-2016 13:45:47 | INFO | Configure file path:C:\Program Files (x86)\Hewlett-Packard\HP Device Manager\MasterRepositoryController\Controller.conf
8-8-2016 13:45:47 | INFO | Preparing to configure HPDM components.
8-8-2016 13:45:47 | INFO | Launch Configuration Wizard in custom mode.
8-8-2016 13:46:49 | INFO | Launch Configuration Wizard successfully. Return code = 0
8-8-2016 13:46:49 | INFO | Successfully configure HPDM components.
8-8-2016 13:46:49 | INFO | Preparing to initialize HPDM Database.
8-8-2016 13:46:49 | INFO | Launch DBSetup application in custom mode.
8-8-2016 14:09:58 | INFO | Launch DBSetup application successfully. Return code = 0
8-8-2016 14:09:58 | ERROR | Launch DBSetup application successfully, but the result of execution is FAILED.
8-8-2016 14:09:58 | ERROR | Fail to initilize HPDM Database, please check and reinstall.
8-8-2016 14:10:01 | INFO | Successfully execute: xcopy /herkyi "C:\ProgramData\Hewlett-Packard\HP Device Manager\Console\logs\*" "C:\ProgramData\HP\HP Device Manager\Console\logs\"
8-8-2016 14:10:02 | INFO | HPDM installation Done. Error code: 1. (0 is success, 1 is fail)

0 Kudos
2 REPLIES 2
StefanICT Honor Student
Honor Student
4 3 0 0
Message 2 of 3
1,092
Flag Post
HP Recommended

hp device manager upgrade failing to upgrade database

Hi,

I had the same issue. But then it was when upgrading 4.7 to SP1/2/3/4. Always upgrade failed but no information to work with.

Today I've spend arround 4 hours to create a new 2012R2 server (i'm working on vmware environment), install 4.7 clean, new DB. Then SP1 till SP4 installed and it works fine....Also imported the templates from the old server and it was done.

Hope this will help you, there is another topic about this but also not a solution that works for me.

Regards,

0 Kudos
Honor Student JasonShi Honor Student
Honor Student
4 4 0 0
Message 3 of 3
920
Flag Post
HP Recommended

hp device manager upgrade failing to upgrade database

8-8-2016 13:43:35 | ERROR | Failed to remove the folder C:\Program Files (x86)\Hewlett-Packard\HP Device Manager\JVM .

The log shows that 'JVM' folder cannot be removed which might cause the HPDM upgrade process interrupted.

 

Please check and make sure that the this folder is not opened or occupied by process (exsiting Java instance).

 

 

I am an HPI Employee.
My opinions are my own, and do not express those of HPI.
**Click the White Thumbs Up Button on the right to say Thanks**

0 Kudos

Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation