Non-interactive terminal deployment migration

I have deployment, that located on the remote linux server.
Before migration to CLI, i used shopify app deploy –force with SHOPIFY_CLI_PARTNERS_TOKEN

But now, when i’m trying to deploy new version, i got this error

but if i remove ”–force”, i got this

How can i resolve it?

Hi @atyaglik

There are instructions here for migrating, have you followed these?

Hi @Liam-Shopify
My problem is connected with this steps.

Non-interactive deploys (shopify app deploy --force) and the shopify app dev command will fail until you’ve completed these steps.

I don’t have access to Partners Account, and I need steps to avoid cloning, build, log in, deploy and committing keys.

Finally i’m resolve this problem.
My app is working inside Docker Container on a remote server.
I just went inside container using

docker exec -it <CONTAINER-NAME> /bin/sh

While project was in restart loop, I had enough time to run

shopify app deploy

And confirm changes without log in using partner account

Hi @atyaglik

The only problem with this approach is that I assume you were unable to commit to source control the UID values that deploy added to your extension toml’s.

I would recommend logging into the Developer Dashboard and grabbing the UID values your app version info. They need to be added to your extension toml files, or you risk future changes causing a delete/add of your extensions.

[[extensions]]
name = "t:name"
handle = "admin-block"
uid = "8d6e5102-c69b-e537-350a-dd9351a4255fba4e7982"
type = "ui_extension"