A cabin reopened after months can smell of many things. Only one of them is a plumbing diagnosis.
Separate the two
Stagnation. A musty or flat smell from water that has stood in the tank and lines. It clears as the system is flushed.
Sulphur. A distinct rotten-egg odour, strongest at the nearest hot tap, which usually means the anode and sulphate in the water.
Run the cold tap as well. Odour on cold points at the supply rather than the heater.
If it is the tank
Drain, refill, and see whether it returns. Where it does, the anode is the next step: a different metal, plus disinfection.
If it is the supply
The cabin's water source varies and is recorded on the permit. A test establishes what is in the water, and treatment follows the result.
What not to do
Mask it. A scent or a cartridge bought before a test treats the symptom and leaves the cause.
Before closing up
Drain the tank and the lines, and leave the system dry. A cabin left dry does not grow the problem it would have had full.
What to have ready
Cold result, closure length, drain history.