Unable to install new Remix app on production stores (You don't have this app installed)

Solved

Unable to install new Remix app on production stores (You don't have this app installed)

Romain80
Shopify Partner
3 1 0

Hello,

 

 

I migrated my old app developped 2 years ago with new Remix app in typescript using shopify app init.

 

Everything is working on dev, I'm able to install my app, but since the deployment in production, all new customers are unable to install it. They got redirected as infinite loop with the message: "You don't have this app installed"

 

Romain80_0-1737628132733.png

 

The new app is properly working for existing customers though. Only new app install doesn't works.

 

Any ideas ?

 

Accepted Solution (1)
Romain80
Shopify Partner
3 1 0

This is an accepted solution.

I ended up found the solution: I just forgot to run a 'shopify app deploy' command

 

Hope it can help if somebody has the same issue 🙂

View solution in original post

Replies 3 (3)

FarioConsulting
Shopify Partner
59 3 7

Hi,

You will want to make sure your OAuth callback is setting up a record for each shop that signs up.
That's key for your system to know they've installed it.
Also check how you're handling session tokens with Shopify’s API....that could be causing the loop if not set right

Looking for Shopify development help?
Visit Fario Consulting
Romain80
Shopify Partner
3 1 0

Hi Fario,

 

Thanks for answering.

 

I created the app as shopify app template using shopify cli, so oauth process should be handled automatically, if I understand the documentation ?

 

 

I'm also using prisma as session storage as configured out of the box so I don't see why app install is not working.

.

Romain80
Shopify Partner
3 1 0

This is an accepted solution.

I ended up found the solution: I just forgot to run a 'shopify app deploy' command

 

Hope it can help if somebody has the same issue 🙂