once you try OTA with too large firmware ESP8266 shows error and remains so until you reboot, even with correct size firmware.
So:
reboot the module, and then you do OTA in two steps.
Jak zaktualizować moduł przez www ?
thanks for the hint, maybe next time it will be useful because now I have uploaded the new firmware using the cable