#cant deploy Postgres S3 Backup template

100 messages · Page 1 of 1 (latest)

trail flame
frosty wadiBOT
#

Project ID: 948196f9-27d3-44cd-bdd2-e50d7b67c7ef

digital crystalBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

trail flame
#

948196f9-27d3-44cd-bdd2-e50d7b67c7ef

safe valley
#

please link to the template

trail flame
safe valley
#

I'm not even seeing a save config button, can you clear cache and try to open the template again?

trail flame
#

clear cache browser you mean?

#

same thing

#

is there a recommended backup template? i thought this was the "official"

safe valley
#

it is the official, there are plenty others that do just as good of a job though

#

I just don't know why you are getting a different UI than me

trail flame
#

i didnt start through the template link

#

i did it from the project UI.

safe valley
#

I tried both ways too

#

always got the same UI and never saw the save config button

#

what browser?

trail flame
#

safari

#

when installing from the template link i get a new project created

#

that seems to have worked (at least started deploying)

safe valley
#

that's good

trail flame
#

i was adding it as a service inside another project

safe valley
#

I see

trail flame
#

how do i reference ${{Postgres.DATABASE_URL}} (of the project i wish to backup) if i deploy on a different project?

safe valley
#

you can't, it needs to be in the same

#

let me see if I can reproduce, I haven't tried deploying it into an existing project

#

save config, then click deploy

trail flame
#

deploy button doesnt enable

safe valley
#

can you do a full video?

trail flame
#

i'll try

#

mm, i cant doit without revealing credentials

safe valley
#

fair

#

try a different browser?

trail flame
#

does a redline in a variable mean "validation error"?

safe valley
#

show me?

trail flame
#

red line seems to be a safari thing

safe valley
#

the only way I can get that button to not enable for me is if i don't fill out everything

trail flame
#

is this syntax correct?

#

${{Postgres.DATABASE_URL}}

safe valley
#

yes

trail flame
#

i tried a different templame, same problem.

safe valley
#

and you have filled out everything the template asks you for?

trail flame
#

here i'm supposed to put a fresh name, right? a new repo will be created on my github for each deploy of the template

trail flame
#

oh, i think i found the problem

safe valley
#

I don't know what to tell you, I just can't reproduce this

trail flame
#

but i cant leave it blank

#

i filled in some random data in there and the deploy button enabled

safe valley
#

does the deploy button appear if you did fill it out

#

it is a required field, there is an asterisks

trail flame
#

previous screenshot was of another template i was testing, this video is from the template linked previously.

safe valley
#

its a required field

trail flame
#

on the video it has no asterisk

#

and the field's hint is ".. IF using ..."

safe valley
#

why does this have an asterisk lol

trail flame
#

it's not supposed to be required

trail flame
safe valley
#

ah

#

okay this is a bug

trail flame
safe valley
#

@past hare non required variable is being treated as a required variable in the beta in-project template deploy flow

trail flame
#

thx

safe valley
#

sorry it took so long to raise, this was confusing me too

trail flame
#

no prob, thank you for the help

hidden cragBOT
safe valley
#

thats a far better name for the problem than what i came up with

past hare
#

I'd guess this will be picked up and fixed early next week.

trail flame
#

ok, thank you

trail flame
#

should I just try or will this post be updated when de bug is fixed?

past hare
trail flame
#

ok!

#

thx

past hare
#

I'll drop a message here once this is fixed.

trail flame
#

great, i'll wait

torpid bison
#

This is very confusing. Will be fixed tomorrow!

graceful quail
#

I am facing exactly the same issue. 😢

hardy belfry
viral stag
#

Funily enough i just encountered the same problem... What worked for me was to delete the BACKUP_CRON_SCHEDULE then hitting submit created the service... Weird

trail flame
trail flame
past hare
#

The core issue here should be fixed now.

trail flame
#

thx

woven edge
#

Hey everyone 👋 I believe I'm encountering somewhat of a similar issue with the same template.

When I fill anything in the AWS_S3_ENDPOINT variable, I get a greyed out "Deploy" button and nothing every happens.

However, when I leave it blank, it becomes available.

I tested this out on both Brave (with and without the blockers enabled) as well as Firefox, on a Linux machine.

Let me know if there's anything else I can help you with, and thank you for your work!

#

For anyone having the same issue, I believe you can keep this variable empty, create the deployment, cancel it right away, and set it up afterwards 😉

graceful quail
#

if I remember correctly, railway dev fixed this issue

#

that s3 endpoint is optional

woven edge
#

I understand that it is optional, but I need to fill it in as I'm using Scaleway S3 instead of Amazon S3; and the deployment of the template is not working when providing anything other than an empty value in that variable.

I tested this a week ago, and 5 minutes ago; both had the issue 🙏

graceful quail
hardy belfry
#

No, it works with other S3 compatible storages, that's seems to be a Railway bug

#

@safe valley do you think it's a bug brody?

safe valley
#

I've only used it with cloudflare r2

woven edge
#

Can you reproduce it on your machines? I believe these would be the steps:

  • create a new service from inside the Railway project (not via "Deploy with Railway button), based on the template "postgresql S3 backups"
  • fill in all the fields with (fake) data

Result:
Filling anything in the AWS S3 ENDPOINT variable makes the "deploy" button unclickable

Also, the save button doesn't do anything.

Expected:
The deploy button is available, and the "save config" button creates the service

safe valley
#

you can just leave beta via your account settings, then you'd be back on the old template deploy menu without this issue

woven edge
#

Oh I don't mind the bugs, just wanted to report it in case anyone has the same issue 😉

safe valley
#

my bad, this is definitely a known issue

peak shuttle
#

this is my slightly modified template https://github.com/orenaksakal/backup-cron-railway one time backup script which you can set to run through railway cronjob to run for cost optimization (almost 0 cost). Also you can name your backups like db name so its easier to distinguish if you hold multiple db backups at the same bucket

GitHub

Contribute to orenaksakal/backup-cron-railway development by creating an account on GitHub.

trail flame