Tableau Server upgrade fails with the following error:
"The primary port for service gateway_0 was already registered on port 80 and cannot be remapped."
or
"UnableToFindAvailablePortException: Port 80 was already registered for port type gateway_0:primary but isn't available. Unable to remap port"
When this error occurred, you might have already set gateway.port to 80 using "tsm topology set-ports" and might have confirmed this using "tsm configuration get -k gateway.port".
You might be able to find that gateway.port is not configured 80 in the configuration file generated by "tsm settings export -f <file name>".
Configure gateway.port manually using "tsm configuration set" command:
tsm configuration set -k gateway.port -v 80 tsm pending-changes applyThen execute upgrade script again.
001471760

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.