Check your servers directory it should be owned by a non privileged account, if it isn’t then you will be denied write permissions which could be the case here if changes are not saving.
Above is an expert taken from the following thread below i removed the stuff which is irrelevant but you can read through this too if you feel although its for Docker which possible does not apply to you but the idea is the same you just need to tailor this information to suit. 117serv You would replace with your servers name when typing the commands.