# Amethyst 1 Server update fails to update Database

**URL:** <https://discourse.datatex.co.za/t/amethyst-1-server-update-fails-to-update-database/60>\
**Category:** Voice recording ( Amethyst and iReCall )\
**Created:** [May 25, 2021, 9:47am UTC](https://discourse.datatex.co.za/t/amethyst-1-server-update-fails-to-update-database/60 "2021-05-25T09:47:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeonvanHeerden](https://discourse.datatex.co.za/letter_avatar_proxy/v4/letter/l/51bf81/32.png) [@LeonvanHeerden](https://discourse.datatex.co.za/u/LeonvanHeerden)\
**Post date:** [May 25, 2021, 9:47am UTC](https://discourse.datatex.co.za/t/amethyst-1-server-update-fails-to-update-database/60/1 "2021-05-25T09:47:28Z")

</div>

Attempting to update the Amethyst 1 database and stopping the upgrade process while it is busy, can result in a restart of the amtserver to fail to continue the update.

> [2021-05-25 10:06:26.021] [Version 1.6.5.60]Error upgrading database: unsuccessful metadata update  
> cannot create index AMTCHATDATA\_PK

This indicates that the amtchatdata table could not be added properly. then the next time the server starts, it tries to add it again and fails.

I have not been able to test if you can stop all the DB access data and try again.  
or  
Stop All DB access software and backup and restore DB, then try again.
