As described by the link I did, but for some reason there was no window with a one-time password input when loading, the window loaded the same as I threw off the screenshot above.
However, I solved the problem in this way: Adding or deleting admin accounts to Openfire
And I found another option, but I didn’t have to use it:
in the <adminConsole>
tag, write: <authorizedUsernames>admin</authorizedUsernames>
because it is missing from the configuration file openfire.xml when reinstalling Openfire