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

KB485993: (Container) Cube is unloaded after restarting the environment


Xiuyi Yang

Software Engineer, Senior • MicroStrategy


This KB is created as a workaround for the issue where the cube gets unloaded after restarting the environment in a container environment.

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.

Symptom


Customers may encounter Dossier failures whenever they restart the environment in a container environment.
The error message is related to the cubes, for example:

ka0PW0000001JkpYAE_0EM4W0000071C9Z.jpeg

 

Cause


In a container environment, the newly created project is assigned the cube folder as the default folder, which is typically located at "/opt/mstr/MicroStrategy/IntelligenceServer/Cube" instead of a default persistent volume.
As a result, after restarting the environment, all the cube files in the folder will be lost, which may cause failures in running dossiers in the newly created project with the error message "Cube XXX is not published".
Furthermore, the cube in existing projects will still work because the cube folder path of the existing projects has been updated to the folder on persistent volume by mstrbak when creating the environment.
 

Action


To resolve this issue, we need to change the cube folder to the folder on the persistent volume. The default folder on the persistent volume is located at "/opt/mstr/ContainerState", and we can change the cube folder to "/opt/mstr/ContainerState/Cube".
To do this, right-click the newly created project on the Workstation and select "Properties" followed by "Caches and Cubes". Then, set the cube folder to the folder on our default persistent volume.
The default folder when creating a new project:

ka0PW0000001JkpYAE_0EM4W0000071C9e.jpeg

Set it to the folder on the persistent volume:

ka0PW0000001JkpYAE_0EM4W0000071C9o.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

April 12, 2023

Last Updated:

March 21, 2024