Problem Updating kibana 8.19 -> 9.4.1

We have been updating our cluster from 8.19 to 9.4.1, we finished all the nodes except the kibana. when updating we saw the service stuck on [plugins.screenshotting.chromium] Browser executable: /usr/share/kibana/node_modules/@kbn/screenshotting-plugin/chromium/headless_shell-linux_x64/headless_shell.

when adding the setting xpack.screenshotting.enabled: false its stuck on starting saved objects migrations.
we kept all ymls the same on all the nodes.

We ended up finding out that shard allocation was not set to all so it fell every time