It would be helpful to see the messages. Nonetheless, run ghost doctor from the Ghost folder and this will tell tou how to correct this. Run ghost doctor again and until no errors are reported.
Furthermore, if you are updating Ghost V4 to Ghost V5, be sure to update to V4-latest first, and upgrade to MySQL 8.0 if you haven’t done so already.