Ability to restart servers
complete
K
Kai Marshland
Sometimes (particularly in the development stage) my server has gotten stuck on something and I want to be able to restart it. While I can manually deploy, this retriggers the build process, making it take longer than a simple restart.
Log In
Anurag Goel
complete
You can now restart a service from the top right menu on the details page!
M
Marty Cochrane
Anurag Goel: Fantastic! Huge time saver!
M
Michael Hellein
Anurag Goel: Hooray! Many thanks!
s
swingtradebot
Anurag Goel: This is great!... and... is there any chance we could also be able to do this via the API? I'm currently doing scheduled redeploys via the API every morning just to get my servers to restart (in order to free up some RAM). It would be great if I could swap those redeploy calls for restart calls.
L
Léonard Henriquez
Anurag Goel: Awesome !!
m
matthew
swingtradebot: Looks like this was also added to the api: https://api-docs.render.com/reference/restart-server
s
swingtradebot
matthew: yes, I've been using it for several months now.
Anurag Goel
in progress
Coming soon!
T
TheirStack
PLEEEEASE
L
Light
Please @render do this
J
James Chase
I agree that I'd definitely like to have a way to quickly restart my web service without having to force a heavy re-deploy. I don't usually set the automatic deploy because I want to control the timing of my deploy. Thanks for the great service!
R
Robb Shecter
Yes, so the request is really to have an API endpoint to restart a service without a build but
with
zero-downtime.m
matthew
Robb Shecter: Looks like this was added to the api: https://api-docs.render.com/reference/restart-server
R
Richard K
Would also love to have this for CRON jobs. Currently I have to change the type to restart the server. Clicking a button would be much better.
M
Michael Hellein
As noted in the community forum, it's possible to use
kill
within an SSH session to restart a service, but it is rather clumsy and triggers spurious emails about the service failing. https://community.render.com/t/a-dump-question-how-to-reboot-a-server-on-render/1651/10M
Michael Hellein
This does not seem to work anymore. An SSH session does not show the running application process. This should go without saying, but it is absolutely essential that there is a fast way to restart a service.
M
Michael Hellein
I feel like I was perhaps too subtle in my previous comment. It is a huge failure on Render's part that there is
no way
to restart a service without waiting through a full deployment. This must be addressed immediately.M
Michael Hellein
I was wrong about this not working! I was running the wrong command to get the process list because of (errant) muscle memory from working under busybox. Restarting via SSH does still work, thankfully, though it is still awkward. Sorry for the misplaced frustration earlier!
A
Alec Larson
I would love if there were runtime-only environment variables that only restart the server, instead of triggering a build.
For example, I might set DEBUG to enable more logs in my Node.js web service, and the development cycle is faster when I can avoid the unwanted rebuild.
A
Austin Turner
I agree, this would be a great feature.
- I should be able to manually restart without triggering a full build
- If I change an env var, my app should restart without a full build (I am coming from Heroku, and I liked that they handled it without requiring a full build and if I needed a full build I could easily trigger one, but often env vars are just runtime concerns)
Load More
→