Leerob's isr page - "Data has been fresh for:"
Unanswered
Nile Crocodile posted this in #help-forum
Nile CrocodileOP
its not showing any time :/ but as shown in the video it was showing time
what could be the problem ?
what could be the problem ?
72 Replies
Nile CrocodileOP
Can someone help?
Can you send the repo link?
Nile CrocodileOP
wait
@"use php" its the timer
not sure why its not working
π
do i have to make some tweaks
are you sure you haven't done any changes?
Nile CrocodileOP
nope
π£ β
let me check it out locally
Nile CrocodileOP
alright
its not working on my vps
and i havent checked locally
im not using vercel as i was thinking how to self host nextjs
self host vercel?
Nile CrocodileOP
my bad
if you mean nextjs, then you can, I think there is a deploy script given
Nile CrocodileOP
well yes but
everything is working
except that timer

Is that time working in dev?
Nile CrocodileOP
yuhp
π€
what could be the reason ?
I'm trying it out
Nile CrocodileOP
alright
thanks for your time anay
πΈ π
@"use php" Whats your OS
Nile CrocodileOP
locally ? or on the vps ?
locally it works perfectly fine
but on vps (alpine) it doesnt seem to work
do you think its related to NEXT_PUBLIC_SAFE_KEY & SECRET_KEY ?
i dont think so
GitHub codespace
Nile CrocodileOP
interesting
i guess i should just sleep
and do this after i wake up
thanks anay
πΈ will ping you later
thanks for your time means a lot
@Nile Crocodile do you think its related to NEXT_PUBLIC_SAFE_KEY & SECRET_KEY ?
1the only env I added was
DATABASE_URLNile CrocodileOP
i am mainly using
external database url
and database url
I just used one
Nile CrocodileOP
well the db route doesnt work with just one
u need an external database url
as well
isr is not related to database url
@Nile Crocodile but on vps (alpine) it doesnt seem to work
Maybe try Ubuntu
@"use php" Maybe try Ubuntu
Nile CrocodileOP
the distro is not a problem here
i am using ubuntu for building and
alpine for runtime as its the lightest and the best
its some env which im missing
not sure what
I just added
DATABASE_URL env, and also created the tables mentioned in README.md. And nothing elseand ran docker container for setup
@"use php" I just added `DATABASE_URL` env, and also created the tables mentioned in README.md. And nothing else
Nile CrocodileOP
well its working for you locally right ?
its running on my docker
yes
it runs perfectly in my docker
and
without docker as well
I'm using github codespaces, but it shouldn't make much of a difference
Nile CrocodileOP
not sure
but it works