Myst UI hanging
You may find a MyST Studio action fails in the UI backend however, the MyST agent continues and completes successfully. This is due to MyST Studio failing to push the studio.log
into its database because of a max packet constraint.
The default MySQL max_allowed_packet is ~4MB. If studio.log exceeds this size then the MyST Studio action fails but the MyST agent continues to run normally.
Error Message
In the container logs you will find the following error. Take note of the error: Packet for query is too large (6472818 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
Solution
Increase the max_allowed_packet
for MyST Studio database container by adding the following. In this example 10M is used.
Backup your MyST Studio database
cd /opt/myst-studio/bin
./backup-database.sh
Update
/opt/myst-studio/conf/docker-compose.yml
. The resulting file could look like this:Restart MyST Studio
cd /opt/myst-studio/bin
./restart.sh
Impact of Increasing max_allowed_packet
The larger the studio.log file is the slower MyST UI will be to display the log. Raise a support ticket if you find logs you believe should be changed or silent.
Last updated