15

Staging

Production

Exact replicas according to git

Of course, production is the one that doesn't work

FUCK I FUCKING HATE IT WHEN THIS HAPPENS SO FUCKING ANNOYING AND FRUSTRATING

Comments
  • 12
    Fixes:

    1. Never get to the point where you can deploy to production

    2. Never be the one having to deploy to production

    3. 'Bye guys, I've had enough, I'm gonna be a farmer'
  • 3
    Sounds like you need to request a package comparison between the two environments.

    Likely one has been updated and the other has not.
  • 2
    @sariel package comparison? As in dependencies? I'd rather suspect configuration differences
  • 10
    It was environment variables.

    why is it always FUCKING environment variables.

    i knew it was small and thats why i got so frusterated. the small things are hardest to find.

    i'm a 🤡 at the highest level
  • 3
    Prod is inherently divergent because it interacts with the real world. You can virtualize any setup down to the lowest level that you or a cooperative third party owns. You can never virtualize the entire reality of any situation.
  • 3
    @fullstackclown

    I dunno how / where you store the env variables...

    But from someone who has fallen in that pit too many times: Make sure that env variables can only be changed by few chosen ones and that a release workflow contains an easily accessible snapshot of env variables.

    Best diffable.

    Bit of extra work, but less playing cluedo - who killed the production... Especially with less players who's first answer is always: i didn't do anything.
  • 2
    Infrastructure as code and only 2 people have ssh keys is the way to go.
  • 1
    @ScriptCoded for me it's almost always a different package version installed.

    Config changes are much harder to compare since there's so much installed on servers ootb these days. It does happen though.
  • 1
    I know, I know. Infra as code is really the only way to go now, but its a legacy project on a managed server... i'm getting there okay

    🤡
  • 1
    @fullstackclown I'm disappointed that many believe the line about infra as code.

    Sure, it's easy, but it's just a solution and not every solution is THE solution.
  • 0
    Sounds like a job for docker.
Add Comment