The online score is calculated within 30 days window, to fully recover your node should be online for the next 30 days. See How is the online score calculated? - Storj Docs
You may check when your node was unavailable with these scripts:
You may also search for "ping satellite failed" except "rate" in your logs to see a real reason, why your node was unavailable.