DEV Community

Discussion on: Developer Fears: Breaking Production

Collapse
 
abdurrkhalid333 profile image
Abdur Rehman Khalid

Here is One of My Production Breaking Story.

We are two teams currently working on our Final Year Project, and I have the responsibility to deploy the fresh build and merge the pull requests of team members as well.

One day, early in the morning one team member messaged me that there is a New PR that I have to merge and deploy the new build on the production server.

I said, "Okay, I am on to it.". That day my WiFi Router was not working so I turned on my Mobile Hotspot and Started to Upload Production Build File to the Server, but due to data loss files were not uploading correctly, so I tried to add SSH key of my ubuntu os with FileZilla but the known_hosts file got corrupted and I lost access to the server and nothing was deployed on the server.

So I asked our supervisor to reset the root password but he said, he is not able to reset the password, so I had to buy a new domain and new hosting and set up everything from scratch.

Moral of the Story: New Access the Files of the Server From Localhost if you do not have a stable internet connection

Collapse
 
viguza profile image
Victor Guzman

Thanks for sharing! And yes, a bad internet connection can be a problem. There are also other things that we consider an impediment to deploy, for example, GitHub being down.

Collapse
 
abdurrkhalid333 profile image
Abdur Rehman Khalid

Fortunately, We Have Not Implemented any CI/CD Yet So GitHub is Not a Problem :)