EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB483346: Troubleshooting Metadata Upgrade Issues


Ling Jing

Product Owner, Principal • MicroStrategy


Use the following troubleshooting techniques if you encounter errors in your metadata after upgrading.

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.
If you encounter errors or issues with your metadata after upgrading, review the following troubleshooting techniques.
 

Issue: The Metadata is Locked


If a project source's configuration is locked, it can cause the metadata to lock after upgrading. 
This is indicated by the following message found in the DSSERRORS.LOG file: 
CASTOR_SERVER_CONFIGURATION` with ID `xxxxxxx` cannot be modified because it is in use by `Administrator` on `machinename` since d/dd/yyyy h:mm:ss. Please contact your administrator for more information.

ka0PW0000001JmqYAE_0EM4W000001JTdE.jpeg


The quickest way to remove all locks is to delete all rows from the DSSMDOBJLOCK table directly. 

ka0PW0000001JmqYAE_0EM2R000000hE9g.jpeg

Related Articles

  • KB34172: When trying to delete an incomplete project, an error is thrown
  • KB9937: "%1 object '%2' with ID '%3' cannot be modified because it is %4 by '%5' on '%6' since %7

 Error: Object with ID #### and type ## is Not Found in the Metadata


If your object is not found in the metadata, it is possible it was deleted. If you cannot copy the dossier because it has exceeded your allocated storage space, this means you have used the allocated 100MB of storage space.
To resolve this error, expand your storage space.

  • In Developer, go to Project Configurations > Governing Rules > Import Data.
  • Change Maximum quota per user (MB) to -1. 
  • Click OK.
ka0PW0000001JmqYAE_0EM2R000000hEBh.jpeg


For more information on project configuration settings, see the System Admin Guide.
 

Issue: Metadata Takes a Long Time to Upgrade with Many Users

This occurs because updating causes the Access Control List (ACL) of group User Administrators to propagate to the folder Users. The ACL applies to all users in the Users folders and grants them access. This results in a large usage metadata if there are several users. For more information about ACLs, see Controlling Access to Objects: Permissions.
To workaround this time constraint, grant the access rights of the group User Administrators to the Users folder manually.  
Note: If the group User Administrators already has Browse, Read, and Write access to the Users folder, skip the step of propagating the correct ACL to the Users folder when upgrading the metadata.

  • In Developer, click Tools > Preferences.
  • From the Developer Preferences dialog, select Developer > Browsing.
  • Select the checkbox Display hidden objects.
ka0PW0000001JmqYAE_0EM2R000000hECL.jpeg
  • Click OK.
  • From the Developer menu, select Administration > Search for Configuration Objects.
  • In the Configuration window, click Tools > Search by ID.
  • Search by ID of the user folder, which is 73F7482611D3596C60001B8F67019608.
  • Right-click on the Users folder and select Properties. 
ka0PW0000001JmqYAE_0EM2R000000hECk.jpeg
  • In the Properties window, select Properties > Security. 
  • Under Permissions, click the Object drop-down next to User Administrator.
  • Grant Browse, Read, and Write access for the Object of User Administrator. 
ka0PW0000001JmqYAE_0EM2R000000hED4.jpeg
  • Click OK.
  • Under Permissions, click the Children drop-down next to User Administrator.
  • Grant Browse, Read, and Write access for the Children of User Administrator. 
ka0PW0000001JmqYAE_0EM2R000000hEDE.jpeg
  • Click OK.


 

Error: Fail to validate the connection: Failed to execute: 'CREATE OR REPLACE FUNCTION TMP0319FUNC() RETURNS trigger AS ' BEGIN SELECT * FROM TMP_0319; RETURN OLD; END; ' LANGUAGE 'plpgsql' VOLATILE'

If the database role/user used to create the database connection is not the owner of the tmp0319func function, the connection validation fails with the following error message in the

DSSErrors.log
:
 
2020-09-06 23:07:04.598-04:00 [HOST:tec-w-012382][SERVER:][PID:10768][THR:3052][Database Classes][Error][UID:0][SID:0][OID:0][ConnectionKeeper.cpp:77] Execute Query failed. Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [S0002:6844177: on HSTMT] [Strategy][ODBC PostgreSQL Wire Protocol driver][PostgreSQL]ERROR: VERROR; table "tmp_0319" does not exist(File d:\pginstaller_12.auto\postgres.windows-x64\src\backend\commands\tablecmds.c; Line 1185; Routine DropErrorMsgNonExistent; ) Connection String: DSN=ACL;UID=acl_all;DB=postgres;HOST=10.23.6.98;PORT=5433;. SQL Statement: DROP TABLE TMP_0319. 2020-09-06 23:07:04.611-04:00 [HOST:tec-w-012382][SERVER:][PID:10768][THR:3052][Database Classes][Error][UID:0][SID:0][OID:0][ConnectionKeeper.cpp:77] Execute Query failed. Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [37000:6818257: on HSTMT] [Strategy][ODBC PostgreSQL Wire Protocol driver][PostgreSQL]ERROR: VERROR; must be owner of function tmp0319func(File d:\pginstaller_12.auto\postgres.windows-x64\src\backend\catalog\aclchk.c; Line 3625; Routine aclcheck_error; ) Connection String: DSN=ACL;UID=acl_all;DB=postgres;HOST=10.23.6.98;PORT=5433;. SQL Statement: CREATE OR REPLACE FUNCTION TMP0319FUNC() RETURNS trigger AS ' BEGIN SELECT * FROM TMP_0319; RETURN OLD; END; ' LANGUAGE 'plpgsql' VOLATILE.

ka0PW0000001JmqYAE_0EM4W000001JTfA.jpeg

To resolve this issue, use the role/user who created the metadata to do the metadata upgrade, or alter the ownership to this user, or just DELETE the function by the power user.
On the database server (for example, PostgreSQL), run either one of the two workarounds:

  • To delete the function (suggested):
    DROP FUNCTION tmp0319func();

  • Or to alter the function owner:
    ALTER FUNCTION tmp0319func OWNER TO username;

Here are some suggestions:

  • Use the same database role/user to create and update the metadata/
  • If it's acceptable, please grant all privileges on tables to the database user: GRANT ALL on all tables in schema schema_name to user_name;
  • If you run into any privilege issue, a super user can solve all of them.

 

Error: This metadata has not been updated using Strategy 10.0 or later releases. Upgrading this metadata is not supported with Strategy 2021 Update 3 and higher releases. Please upgrade this Metadata with Strategy 2021 GA first. 

When upgrading an old metadata to 2021 Update 1 via Configuration Wizard, the error is returned. 
This error occurs because upgrading an old metadata (versions prior to Strategy 10.0) to version 2021 Update 1 or later is not supported. 
To avoid this error you should upgrade the metadata to an intermediate version first. The intermediate version should be a version between Strategy 10.0 and 2021 (including 10.0 and 2021). Then, you should update the metadata to 2021 Update 1 or a later version. 

Issue: Other


​​​​​​If the above troubleshooting does not assist you in your troubleshooting, contact Technical Support for assistance.

  • Help information to provide to support is your:
    • Database type 
    • Version of metadata (before upgrading and after)
    • Project count in the metadata
    • Time for metadata (logical) update 
    • MDUPD-xx-xx.log   
    • DSSErrors.log 
    • MACfgWiz.xml

Error: "Cannot merge from package file ReportTemplateLookupSourcingCube.bin due to error 0x800423D4"

When upgrading the metadata to version 2021, the error can be found in the MDUPD-x-xx.log file. Update the project via Configuration Wizard. The following error is returned.

ka0PW0000001JmqYAE_0EM4W000001KoP3.jpeg

 
In the MPUDPD-x-cxx.log file, the following can be seen:
2021-01-12 11:33:20.356+01:00 [HOST:xxxxxx][SERVER:CastorServer][PID:94960][THR:140341466408704][MD Update][Error][0x800424A3][UID:54F3D26011D2896560009A8E67019608][SID:9C5CE7F6A97DEF705E9AF5D3328A0610][OID:0][CDSSMDUpdate.cpp:11780] Cannot merge from package file ReportTemplateLookupSourcingCube.bin due to error 0x800423D4.
2021-01-12 11:33:25.896+01:00 [HOST:xxxxxx][SERVER:CastorServer][PID:94960][THR:140341466408704][MD Update][Info][UID:54F3D26011D2896560009A8E67019608][SID:9C5CE7F6A97DEF705E9AF5D3328A0610][OID:0] Fall back to individual load.
The System object, System Hierarchy object id has not been unified yet. Its GUID is not FD107ADDE8A948AE80F794A288FA70F4.

ka0PW0000001JmqYAE_0EM4W000001KoRT.jpeg

This occurs because the System Hierarchy object's GUID was not unified and in Strategy 2021, we introduced a new Intelligent cube called, "Default Attribute Form Caching Intelligence Cube," and it depends on the System Hierarchy object. 
The error is thrown because the dependent object with object ID FD107ADDE8A948AE80F794A288FA70F4 cannot be found.
 
Solution:
Starting from Strategy 2021 Update 4, we provide a solution to such issues, please follow the steps below to fix the issue. For earlier versions, please contact Strategy Technical Support to get some assistance.
 
Steps:
1. Back up your metadata.
2. Connect to the metadata DSN from DB Query Tool.
3. Run the following SQL to insert a new system property:
INSERT INTO DSSMDSYSPROP VALUES('IDUNIFYREMEDYPOLICY', '1');
If the row is already existing, run the following SQL to update the row:
UPDATE DSSMDSYSPROP SET prop_val='1' WHERE name='IDUNIFYREMEDYPOLICY';
4. Upgrade your project again in Strategy Configuration Wizard.


Comment

0 comments

Details

Knowledge Article

Published:

June 5, 2019

Last Updated:

March 21, 2024