The suggested fix for the issue is to upgrade the application to any build higher than 11105.
If
an upgrade is not possible immediately, then to overcome this issue,
you can take a trimmed backup (if it's manual backup) or you can take a
backup of the database alone (if it's a scheduled backup).
And
during the upgrade, take a manual trimmed backup and skip the backup
during the upgrade process to prevent this issue from happening during
upgrade.
KB-ID: BK05
Exception trace:
org.postgresql.util.PSQLException: ERROR: index "xxxx_pk"
contains unexpected zero page at block
{x}
Reason for the issue:
DB indexing issue/ Data corruption
Steps to resolve the issue:
-
Stop ServiceDesk Plus Service.
-
Navigate to Drive:\ManageEngine\ServiceDesk\ and copy the pgsql folder to a different location as a backup
-
After the copy is complete, open CMD with admin privileges and navigate to Drive:\ManageEngine\ServiceDesk\bin and invoke the startDB.bat command as shown below.
Drive:\ManageEngine\ServiceDesk\bin > startDB.bat 65432
-
Once you see the message 'Database Started', connect to ServiceDesk Plus DB by following the steps available
here
.
-
Once connected, execute the below queries one-by-one in the same order.
reindex database servicedesk;
vacuum full;
reindex database servicedesk;
-
After the above commands are executed successfully, close the CMD and open a new CMD with admin privileges.
-
In the new CMD, try to run a backup.
-
If the backup still fails, y
ou can then raise a support ticket where we can help you with this further.