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
@Anay-208 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
😸 🙏
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
1the only env I added was
DATABASE_URL
Nile 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
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
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