trying to do a bitbucket 4.14 on linux upgrade. I'm trying to build a new instance and copy the data over or upgrade a clone, whatever is easier.
the zero downtime diy backup worked (the name is a lie btw, builds where breaking entire time during the backup), but the restore doesn't work, kept complaining about a missing postgres port which is weird, the entire var config is copied over, there's nothing missing.
So i tried to clone the environment instead and just go from there. The problem with this route is bitbucket is sitting behind a reverse proxy with SSL, If i change all the configs with the new server IP's and hostname it breaks beacause suddenly the cert doesn't work, If i change just the IP the proxy just forwards to the live environment.
How do i change the config to go back to the simple tomcat server instead of using the reverse apache server?
Or, how do i get the zero restore script to work?