Rollback to working deployment?
simplehostingserverd
HOBBYOP

4 months ago

The backend and everything was working perfectly fine but we hired a team from Pakistan and they messed it up. How do we put it back or rollback to the working deployment?

$10 Bounty

13 Replies

Railway
BOT

4 months ago


4 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open noahd 4 months ago


starphoneswebtech
PRO

4 months ago

Just go to the service, deployment tabs, there is vertical ellipsis on the top right of the card and clicking it will show redeploy option.


simplehostingserverd
HOBBYOP

4 months ago

Does it have to be public redis, postgresql and the backend or can it just stay internal and still work?


starphoneswebtech

Just go to the service, deployment tabs, there is vertical ellipsis on the top right of the card and clicking it will show redeploy option.

simplehostingserverd
HOBBYOP

4 months ago

I couldn't figure out how to change the admin for this MedusaJS v2 Deployment is there a specific command to use because we did the whole railway link and then command but it didn't work. If you could help me with that that would be amazing.


starphoneswebtech
PRO

4 months ago

oh , since you mention MedusaJS, whats the reason of redeployment?

are you running predeployment on custom start?


simplehostingserverd

Does it have to be public redis, postgresql and the backend or can it just stay internal and still work?

starphoneswebtech
PRO

4 months ago

redis, postgresql can connect to backend/medusajs as internal. but make sure you configure your variables properly


starphoneswebtech

oh , since you mention MedusaJS, whats the reason of redeployment?are you running predeployment on custom start?

simplehostingserverd
HOBBYOP

4 months ago

Loaders for module Cache failed: No redisUrl provided in cacheService module options. It is required for the Redis Cache Module. We keep getting this error. We had the whole store running perfectly 2 days ago but they started moving stuff around and then adding a new template inside the same railway container and we didn't ask for that so we blocked them and removed the things they added but they changed the urls for Redis and for Postgresql and for the Backend so now Redis and the Backend and Postgresql aren't connecting together and we can't login to the admin panel even with the old login or pushing a new email and password. So we're just trying to figure out how to redeploy something that was previously working. How would we redeploy the working versions of those 3 without moving the code back too far?


starphoneswebtech
PRO

4 months ago

Ahh, are you using redis internal in variable? you should add ?family=0 on redis url in your medusa for that to work

like ${{Redis.REDIS_URL}}?family=0

this should fix the redis problem.

https://docs.railway.com/reference/errors/enotfound-redis-railway-internal

p.s. if code is working perfectly on your local, then mostlikely its internal connections fault. once you fixed the redis and postgres issue, then you can redeploy the latest.


simplehostingserverd
HOBBYOP

4 months ago

Oops! Something went wrong

Failed to load products. Please check if the backend is running and try again. Shenna's Studio - Premium Ocean-Inspired Products & Marine Conservation < This is the issue also it doesn't show our e-commerce products anymore and we can't login to the admin panel can you all help with that please thanks.


starphoneswebtech
PRO

4 months ago

looks like your backend is running, but since it was down before cached might hit the down time, can you try redeploying or restarting your storefront?


starphoneswebtech

looks like your backend is running, but since it was down before cached might hit the down time, can you try redeploying or restarting your storefront?

simplehostingserverd
HOBBYOP

4 months ago

OK let me try that and add the information here when it finishes thanks for trying to help me everyone I appreciate it and we have a lot of customers trying to order so we need it back up quickly. We can do some type of donation or whatever if we get it fixed.


simplehostingserverd

OK let me try that and add the information here when it finishes thanks for trying to help me everyone I appreciate it and we have a lot of customers trying to order so we need it back up quickly. We can do some type of donation or whatever if we get it fixed.

simplehostingserverd
HOBBYOP

4 months ago

It has this error over and over...

regex

Attachments


simplehostingserverd

It has this error over and over...regex

starphoneswebtech
PRO

4 months ago

Looks like the redis have been resolved.

can you send the full error context?


Loading...