• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
HP Recommended
HP t520 Flexible Thin Client
Other

Managing HP Thinpro 5 Endpoints in HPDM 5.0.6 - Error 14004022 - 

I can discover these devices just fine, however I get the Error when I try and update the agent - 

 

2022-06-15 08:04:50Map repository to: Master Repository
2022-06-15 08:04:51Successfully sent task to the HPDM Gateway
2022-06-15 08:04:53Task has been retrieved by the Agent.
2022-06-15 08:04:56Copy files using repository Master Repository.
2022-06-15 08:04:56Successfully downloaded replace to /tmp from /Repository/Agents/HPThinPro5.
2022-06-15 08:04:56Successfully downloaded hpdmagent.hpk to /tmp from /Repository/Agents/HPThinPro5.
2022-06-15 08:04:56Successfully executed Copyfile task.
2022-06-15 08:04:56Failed to execute chmod 755 /tmp/replace.
2022-06-15 08:04:56Failed to execute Command task.
2022-06-15 08:04:56ErrorCode: 14004022, Error Detail: Command line error.
2022-06-15 08:04:56Failed to execute UpdateAgent task.
2022-06-15 08:04:56ErrorCode: 14004022, Error Detail: Command line error.
2022-06-15 08:04:56Failed to execute common task.
2022-06-15 08:04:56ErrorCode: 14004022, Error Detail: Command line error.
1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Here are the steps in case you want to manually update the HPDM Agent from 4.6 to 5.0 
- On the HPDM 5 Server to go your repository. The default location for HPDM 5 is shown below

Manu_2680_1-1655745271536.png

You will need to unzip the file with name "hpdmagent.hpk"using WinZip/WinRar/7-Zip.  Navigate inside the folders \hpdmagent\HPThinPro\i386 and unzip "hpdmagent.hpk" again. Open the folders hpdmagent\hptc-hpdmagent-ml 

Inside this folder you will find 4 files. This is the Agent and its support files. Should look like below:

Manu_2680_2-1655745836142.png

 

Copy all the files to a flash drive and connect to the Thin client. Navigate to the flash drive and install. Follow the below commands 

 

cd /media/usb_drive_name
fsunlock

dpkg -i hptc-agent-mgr.deb hptc-hpdmagent-ml.deb libqt4-sql-sqlite_4.8.5_ubuntu4.1_i386.deb


wait for the installation to complete then type in "fslock" and reboot. This should update the agent to the latest 5.0

 

**Click the thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

View solution in original post

13 REPLIES 13
HP Recommended

Hello Flyingv59

I believe the support for HP ThinPro 5 ended with HPDM 5.0 SP2.  Below is the screenshot of the release notes for HPDM 5.0 SP2

Manu_2680_1-1655334526164.png


HPDM 5.0.6 only supports from HP ThinPro 7.0 and higher. below is the screenshot from the release notes for HPDM 5.0.6

Manu_2680_0-1655334456760.png

 

**Click the thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
HP Recommended

Thank you! So I have moved down to 5.0.2 and I get this when trying to Update or Send Task - 

ErrorCode: 14004022, Error Detail: Command line error.

 

2022-06-16 09:24:24

Failed to execute /usr/sbin/hpdmmc set vnc allow_shadow=1 name=truststore value=1 convert=base64 content=LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlEY3pDQ0FsdWdBd0lCQWdJQkFUQU5CZ2txaGtpRzl3MEJBUXNGQURCOU1Sb3dHQVlEVlFRRERCRklVQ0JFDQpaWFpwWTJVZ1RXRnVZV2RsY2pFY01Cb0dBMVVFQ3d3VFZrNURVMU5NVUhKdmVIa2dVMlZ5ZG1salpURWFNQmdHDQpBMVVFQ2d3UlNGQWdSR1YyYVdObElFMWhibUZuWlhJeEN6QUpCZ05WQkFjTUFsTklNUXN3Q1FZRFZRUUlEQUpUDQpTREVMTUFrR0ExVUVCaE1DUTA0d0hoY05NakV3TmpFMk1UVTBNakl5V2hjTk5ESXd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3h4WWp2bUJEMnN3DQpLc245eWZBUFRzdHhHMUYzWk4weXh5R1dKejhKTmJRR2hzUGR1NUhycTBNZTUxVXBPbk1PbVIxS1NHTEEzWUI0DQpHL3R5aDdtNFdlcUJFeStsckZaelVvMmdqUnN3RllWM29lRGNlM2pEOXd3MThQWE5NYm83TVpkSTRrWFFHTTlKDQo5K2YwSWwzZzd0dVVzQmYzRnhMcUxKbnZieTl6ME1nPQ0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K.

2022-06-16 09:24:24

The property: truststore is not supported or can not be null.

2022-06-16 09:24:24

Failed to execute ApplySettings task.

2022-06-16 09:24:24

ErrorCode: 14004022, Error Detail: Command line error.

2022-06-16 09:24:24

Failed to execute common task.

2022-06-16 09:24:24

ErrorCode: 14004022, Error Detail: Command line error.

HP Recommended

Since you have a fresh install of HPDM, there are 2 settings you need to check. 
- Please make sure that the Gateway is authenticated. 
1: Go to Administrator Tab
2: Click on Gateway Authentication >> enter your HPDM login password
3: on the new window select your Gateway and click on Acknowledge to make it green. 
4: close the Window
5: click on VNC Certificate 
6: generate a certificate and close the Windows

Manu_2680_0-1655404860671.png

Once this is done, please send an Agent update to the Thin client, Enable VNC and VNC shadow.. 



**Click the thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
HP Recommended

Thanks again for the prompt reply and suggestions - 

I am still receiving the Error (I restarted services and rebooted) - 

 

2022-06-16 12:48:03Map repository to: Master Repository
2022-06-16 12:48:03Successfully sent task to the HPDM Gateway
2022-06-16 12:48:05Task has been retrieved by the Agent.
2022-06-16 12:48:08Copy files using repository Master Repository.
2022-06-16 12:48:08Successfully downloaded replace to /tmp from /Repository/Agents/HPThinPro5.
2022-06-16 12:48:08Successfully downloaded hpdmagent.hpk to /tmp from /Repository/Agents/HPThinPro5.
2022-06-16 12:48:08Successfully executed Copyfile task.
2022-06-16 12:48:08Failed to execute chmod 755 /tmp/replace.
2022-06-16 12:48:08Failed to execute Command task.
2022-06-16 12:48:08ErrorCode: 14004022, Error Detail: Command line error.
2022-06-16 12:48:08Failed to execute UpdateAgent task.
2022-06-16 12:48:08ErrorCode: 14004022, Error Detail: Command line error.
2022-06-16 12:48:08Failed to execute common task.
2022-06-16 12:48:08ErrorCode: 14004022, Error Detail: Command line error.
HP Recommended

what is the current HPDM agent version on your ThinPro 5 unit ?

**Click the thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
HP Recommended

4.6.3670.22274 - 

HP Recommended

HPDM 5 would not support any units that has HPDM agent below 4.7. I will see if there is option to upgrade the agent manually. However this is not the easiest since it may not be possible to do from HPDM. You will need to perform the steps manually using flash drive. 

**Click the thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
HP Recommended

Here are the steps in case you want to manually update the HPDM Agent from 4.6 to 5.0 
- On the HPDM 5 Server to go your repository. The default location for HPDM 5 is shown below

Manu_2680_1-1655745271536.png

You will need to unzip the file with name "hpdmagent.hpk"using WinZip/WinRar/7-Zip.  Navigate inside the folders \hpdmagent\HPThinPro\i386 and unzip "hpdmagent.hpk" again. Open the folders hpdmagent\hptc-hpdmagent-ml 

Inside this folder you will find 4 files. This is the Agent and its support files. Should look like below:

Manu_2680_2-1655745836142.png

 

Copy all the files to a flash drive and connect to the Thin client. Navigate to the flash drive and install. Follow the below commands 

 

cd /media/usb_drive_name
fsunlock

dpkg -i hptc-agent-mgr.deb hptc-hpdmagent-ml.deb libqt4-sql-sqlite_4.8.5_ubuntu4.1_i386.deb


wait for the installation to complete then type in "fslock" and reboot. This should update the agent to the latest 5.0

 

**Click the thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
HP Recommended

Thank you for the replies and information - 

 

Much appreciated!!

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.