Live data from Hacker News

Taaalk [Update: site now back up]

taaalk.co

21–30 of 60 posts

Re: Taaalk [Update: site now back up]

#21

Earlier quoted context omitted.

Hey, I tried to scale up my server mid hn ride and now I'm just getting a 404. I'm not experienced with doing this, and I can log into the server and everything seems to be working/up to date. So I don't understand why it's not working. I'm using a Hetzner, and I'm bummed :(

Make sure you remounted /var/www after your server rebooted.

Hey, I'm a server n00b. Do you know where I would do that? Or what that means in more layman's terms?

Re: Taaalk [Update: site now back up]

#23
post #18

I would post your nginx.conf

Hey, thanks for writing to me. I'm using Hetzner Cloud. They have a 'Rescale' option which I used. To activate it I had to turn off my server. I did that. Then rescaled and it went on again.

When I log into my server or run 'git push dokku master' everything seems the same/is up to date. But getting a 404 for the entire app. Server logs seem to be ok (found with dokku logs taaalk -t). So I'm just very confused and very sad.

The server still has the same IP address.

It is also saying:

server.request_console taaalk taaalk Joshua Summers 8 minutes ago

server.request_console taaalk taaalk Joshua Summers 18 minutes ago

server.change_type taaalk taaalk Joshua Summers 37 minutes ago

server.stop taaalk taaalk Joshua Summers 39 minutes ago

server.request_console taaalk taaalk Joshua Summers 2 months ago

This server.request_console is new...

Re: Taaalk [Update: site now back up]

#24

Earlier quoted context omitted.

Hey, I tried to scale up my server mid hn ride and now I'm just getting a 404. I'm not experienced with doing this, and I can log into the server and everything seems to be working/up to date. So I don't understand why it's not working. I'm using a Hetzner, and I'm bummed :(

Make sure you remounted /var/www after your server rebooted.

Hey, thanks for writing to me. I'm using Hetzner Cloud. They have a 'Rescale' option which I used. To activate it I had to turn off my server. I did that. Then rescaled and it went on again.

When I log into my server or run 'git push dokku master' everything seems the same/is up to date. But getting a 404 for the entire app. Server logs seem to be ok (found with dokku logs taaalk -t). So I'm just very confused and very sad.

The server still has the same IP address.

It is also saying:

server.request_console taaalk taaalk Joshua Summers 8 minutes ago

server.request_console taaalk taaalk Joshua Summers 18 minutes ago

server.change_type taaalk taaalk Joshua Summers 37 minutes ago

server.stop taaalk taaalk Joshua Summers 39 minutes ago

server.request_console taaalk taaalk Joshua Summers 2 months ago

This server.request_console is new...

Re: Taaalk [Update: site now back up]

#27
post #18

I would post your nginx.conf

root@taaalk:~# nginx:access-logs taaalk -t -bash: nginx:access-logs: command not found root@taaalk:~# nginx:error-logs taaalk -t -bash: nginx:error-logs: command not found root@taaalk:~# nginx:report taaalk -bash: nginx:report: command not found

Re: Taaalk [Update: site now back up]

#28

Earlier quoted context omitted.

Make sure you remounted /var/www after your server rebooted.

Hey, thanks for writing to me. I'm using Hetzner Cloud. They have a 'Rescale' option which I used. To activate it I had to turn off my server. I did that. Then rescaled and it went on again. When I log into my server or run 'git push dokku master' everything seems the same/is up to date. But getting a 404 for the entire app. Server logs seem to be ok (found with dokku logs taaalk -t). So I'm just very confused and ve…

I have some hours before bed that I could use to take a look at this. Shoot me an email with SSH credentials if you want some free help.

Re: Taaalk [Update: site now back up]

#29

Ah, the ol' HN hug of death. For future reference (and I haven't been able to access the site yet, so this may or may not be relevant to Taaalk), if the site has a landing page, make it with static files, and put it behind a CDN or just use a free service like Netlify. Put the actual app behind a subdomain which you can then host however you want. This way, people who visit can still check out what the service does a…

Hey, I tried to scale up my server mid hn ride and now I'm just getting a 404. I'm not experienced with doing this, and I can log into the server and everything seems to be working/up to date. So I don't understand why it's not working. I'm using a Hetzner, and I'm bummed :(

This is why standardized solutions like K8s are necessary (or at least a managed container platform). Right now we have no idea about your stack or how it is hosted. With containers it wouldn't have mattered. And with K8s it would have been a simple `kubectl scale deploy/taaalk --replicas 10` regardless of on-prem, cloud X, Y or Z.

Re: Taaalk [Update: site now back up]

#30

Ah, the ol' HN hug of death. For future reference (and I haven't been able to access the site yet, so this may or may not be relevant to Taaalk), if the site has a landing page, make it with static files, and put it behind a CDN or just use a free service like Netlify. Put the actual app behind a subdomain which you can then host however you want. This way, people who visit can still check out what the service does a…

Hey, I tried to scale up my server mid hn ride and now I'm just getting a 404. I'm not experienced with doing this, and I can log into the server and everything seems to be working/up to date. So I don't understand why it's not working. I'm using a Hetzner, and I'm bummed :(

You should stick to solutions like Heroku, netlify, github pages, etc., if you don't have enough experience to manage your own stack. Plenty of people who DO have that experience still prefer highly-managed, autoscaling solutions.
Post reply on HN