Just spitballing here...
Something is overriding the 'close' command, and it only occurs after an 'open' command is given.
On my controller, the 'open' state latches for an adjustable amount of time, during which time the gate will not accept a 'close' command. It sounds like something is keeping yours latched in the 'open' state. Assuming that by 'opener command' you mean a typical remote control or key fob, is it possible the button is sticking? Maybe take the batteries out of the remote to disable it to see if that changes anything?
Power cycling restores everything back to the 'zero' state, which un-latches everything and explains why the gate closes after power cycling.
DISCLAIMER: I'm not an expert, but some of the basics should apply to all gate controllers. I got fed up with the exorbitant costs from the gate maintenance folks (i.e. owning an automatic gate seems to signify unlimited wealth, thus outrageous charges for service), so I taught myself enough about automatic gates and their controllers to keep my gate up and running on my own. All of the information you need should be available online.