#Is the a hosting or db issue?
211 messages · Page 1 of 1 (latest)
example: sqlite
Railway's filesystem isn't persistent. If you create a new deployment, all changes made by your code will get deleted.
You'll have to use a remote database. (redis, mongo, postgres, mysql)
oh, a friend told me smth like that
so practically, it doesnt update the db or file, it just kinda like, runs it?
It does update
but everytime you make a new deployment
filesystem is deleted
is a deployment done manually by me, or is it done automatically?
also if the bot some how stops or goes down and comes back up, is that also seen as a deployment?
- railway up
- git commit
- changing environment variables
- changing builder
- rollback
all of these trigger a new deployment ^
If you are restarting it no
but if you are rolling it back yes
but whats weird is, it didnt restart or like, rollback or nth, it just some way some how went on reset mode. The bot is running, i make changes and then leave it. I use buttons that have no timeout so they dont stop unless the bot does. But i come back, see the buttons have stopped, and when i run the cmd again, the db some how reverts back to the first stage
I think i gotta use or learn how to use sql for now
sql browser can work on this right?
btw railway has their own database viewer
but any other database browser should work too
if they support postgres/mysql
I didnt know
thats kl
imma check it out rn
im not allowed to ping you?
yeah, automod blocks it
anyway, could you help me with this pls
i verified with my acc yesterday
why is it saying this now
bug 
lmao
what's your github username?
Yellowtapes
this https://github.com/yellowtapes, right?
yep
Your github needs to have some activity in order to qualify for free plan
mb, not a bug
You can link your card to verify using that
fr? I waited for months just so i could sign up for the things, as in railway, cause they said my acc was too young
yeah
180 days + some activity
i really would, but i dont have a credit card just as yet....
you can even use your debit card
no like, i have no cards...like none
i dont even have my id as yet
im trying to get them now as a matter of fact
you won't be able to use railway without a card or a github account with some activity
😦
when you say activity, what do you mean
what can i do to make it active
create repos, make commits, fork repos, create issues etc
I dont really know how to use github that much so
oh
what are repos?
ig i have to yt and google it all
ok, after i do those, can it then work?
over time
cant you just bypass me, cause its not like im doing anything malicious 😭😭
there's no way to verify that 😦
multiple people in the past have deployed crypto miners after angelo verified them manually
so you can see exactly what i coded
Yeah, but railway doesn't scan them yk
crypto miners?
it's against railway's fair-use policy
sigh
what's possible?
the good must suffer for the bad ig
yeah
idk, crypto mining
sadly 😦
idk how it works but yh
ill learn how to use git
make a couple things and try again
i could, but personally i dont like doing that, cause if smth goes wrong, its on me
and i have nth to give back
and i cant replace it either
mhh, what happens when i use a card?
it said you guys will ask for 1 dollar to make sure the acc is real or active
right?
yup & then railway refunds it immediately
You can buy specific amount of credits if you want
railway won't auto-charge them that way
Railway has two types of payment plans -
one is postpaid where railway auto-charges & another one is prepaid you can pay railway $5 & use RAM/CPU worth $5 without the fear of getting auto-charged
756
yup
yh
why is it so cheap?
what's so cheap?
You'll be able to use only resource worth 755JM not more than that
755 is a little bit of money, not bragging, just saying, its cheaper than i thought
i dont get it, man this whole thing is alot to take in
ok, resources, thats the CPU and what not?
what can i do with those pertaining the website?
is that like storage or speed?
lol, just got a full explanation on it, i understand RAM, so it is practically storage
cpu usage is like how much computing a program is doing
how does that work on railway website or server
yea so on your server say you have a program that adds some numbers
when its adding numbers it has to keep them in ram for the cpu to be able to add them
so it uses ram and cpu
storage is for files
ram is for things that are about to be computed
and cpu usage is how much computation you are doing
so, how much RAM do i have as a regular user?
512mb on free plan
how much can that run?
wait, but thats a decent amount of mb is it not
a bot
discord bot
hours?
oh
unless you link a card
how much to do i get then?
the hours limit goes away
and you pay for how much cpu and ram you use
but railway will subtract $5 from the bill
so if you dont use much its free
mhh, so when i link my card, no hours and i dont have to worry about fees cause my bot doesnt need that much ram
oh, so i also have to pay $5 to remove the 500 hours?
or just link it?
just link it
is it ok if i use a friends card?
yeah thats alright
sigh, alr
when i contact them i will do it
but for now imma just host my bot on my laptop and learn how to use git to keep active in the future
keep in mind you also need to upgrade to the dev plan
instead of the free plan
how do i do that and how much money?
you just hit upgrade on the billing page
its free to upgrade
it just means that you will be charged after you use up the free amount
on free plan we just take your bot offline
paid plan that wont happen
how much will i be charged?
depends on the amount of cpu or ram you use
this will tell you
your bot will likely be free to run
hopefully, cause i have no card to pay, muchless money rn
i will see though
thank you very much
both of you
Huh
@prime ravinei tried with my friends own but it was insufficient 😭
can yall help
idk how to keep my git active enough to verify
also, once a i verify, do i have to keep my git active still?
That's not required
pls help, i dont know how to keep it active cause half of the things there i have no use for. Since all i do is code a bot
i mainly use vscode and discord
do you think if i show yu my code that would work
or i could show you my server with the bot as proof of it being legit?
Just Code any feature / bug fixes Or even typo and Push the changes to your repository
That's all you have to do
Nothing else
And I thinks asking for manual verification will NOT work here, They have never entertained such cases in past nor are they gonna do it specifically for you