DETAIL: The data directory was initialized by PostgreSQL version 10, which is not compatible with this version 13.0.stopped waiting code example
Example: database files are incompatible with server
brew postgresql-upgrade-database
brew postgresql-upgrade-database