# Failed to register pmm-agent on PMM Server: Internal server error (2.32.0)

**URL:** <https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server-internal-server-error-2-32-0/28251>\
**Category:** PMM 2.x\
**Created:** [February 5, 2024, 8:30am UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server-internal-server-error-2-32-0/28251 "2024-02-05T08:30:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_lee](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anonymous_lee/32/12659_2.png) [@anonymous\_lee](https://forums.percona.com/u/anonymous_lee)\
**Post date:** [February 5, 2024, 8:30am UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server-internal-server-error-2-32-0/28251/1 "2024-02-05T08:30:29Z")

</div>

## Description:

[Detailed description of the issue or question]

os:redhat 7.9  
install file : pmm2-client-2.32.0.tar.gz  
pmm server : 2.32.0

[postgres@cjDfarmdb pmm2-client-2.32.0]$ echo $PATH  
/usr/local/[bin:/usr/bin:/usr/local/sbin:/usr/sbin:/pg\_data/.local/bin:/pg\_data/bin:/usr/pgsql-14/bin:/pg\_dump/pmm/pmm2-client-2.32.0/bin](http://bin/usr/bin:/usr/local/sbin:/usr/sbin:/pg_data/.local/bin:/pg_data/bin:/usr/pgsql-14/bin:/pg_dump/pmm/pmm2-client-2.32.0/bin)  
[postgres@cjDfarmdb pmm2-client-2.32.0]$  
[postgres@cjDfarmdb pmm2-client-2.32.0]$  
[postgres@cjDfarmdb pmm2-client-2.32.0]$  
[postgres@cjDfarmdb pmm2-client-2.32.0]$  
[postgres@cjDfarmdb pmm2-client-2.32.0]$ pmm-agent setup --config-file=${PMM\_DIR}/config/pmm-agent.yaml --server-address=10.65.10.40 --server-insecure-tls --server-username=admin --server-password=\*\*\*\*\*\* --paths-tempdir=${PMM\_DIR}/tmp --paths-base=${PMM\_DIR}  
INFO[2024-02-05T10:52:18.765+09:00] Loading configuration file /pg\_dump/pmm/pmm2-client-2.32.0/config/pmm-agent.yaml. component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/node\_exporter component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/mysqld\_exporter component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/mongodb\_exporter component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/postgres\_exporter component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/proxysql\_exporter component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/rds\_exporter component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/azure\_exporter component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Using /pg\_dump/pmm/pmm2-client-2.32.0/exporters/vmagent component=setup  
INFO[2024-02-05T10:52:18.765+09:00] Updating PMM Server address from “10.65.10.40” to “10.65.10.40:443”. component=setup  
Checking local pmm-agent status…  
pmm-agent is not running.  
Registering pmm-agent on PMM Server…  
Failed to register pmm-agent on PMM Server: Internal server error..

## Steps to Reproduce:

[Step-by-step instructions on how to reproduce the issue, including any specific settings or configurations]

## Version:

[Insert the version number of the software]

## Logs:

[If applicable, include any relevant log files or error messages]

## Expected Result:

[What the user expected to see or happen before the issue occurred]

## Actual Result:

[What actually happened when the user encountered the issue]

## Additional Information:

[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]

---

<div class="post-metadata">

**Author:** ![daniil.bazhenov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/daniil.bazhenov/32/62_2.png) [@daniil.bazhenov](https://forums.percona.com/u/daniil.bazhenov)\
**Post date:** [March 4, 2024, 10:28am UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server-internal-server-error-2-32-0/28251/2 "2024-03-04T10:28:39Z")

</div>

The discussion is taking place in another topic

> [@Failed to register pmm-agent on PMM Server: Internal server error](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server-internal-server-error/28250/6):
>
> looks like your DB scheme was upgraded to version newer then 2.32.0, have you upgraded and then downgraded your PMM Server? Because of new constraints in PMM Server DB introduced in newer version of PMM it can’t write new record to DB. There are 2 solutions: Upgrade your PMM Server, so it can handle new constraints correctly Downgrade DB scheme using reverse engineering

---

<div class="post-metadata">

**Author:** ![daniil.bazhenov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/daniil.bazhenov/32/62_2.png) [@daniil.bazhenov](https://forums.percona.com/u/daniil.bazhenov)\
**Post date:** [March 4, 2024, 10:28am UTC](https://forums.percona.com/t/failed-to-register-pmm-agent-on-pmm-server-internal-server-error-2-32-0/28251/3 "2024-03-04T10:28:45Z")

</div>


