Everything goes well until I try to start the secondary and then it fails on the next error :
2019-05-23 04:17:02 EDT 23593 FATAL: database files are incompatible with server 2019-05-23 04:17:02 EDT 23593 DETAIL: The database cluster was initialized with PG_CONTROL_VERSION 960, but the server was compiled with PG_CONTROL_VERSION 1100. 2019-05-23 04:17:02 EDT 23593 HINT: It looks like you need to initdb. 2019-05-23 04:17:02 EDT 23593 LOG: database system is shut down
I upgraded the primary, then I run the rsync command in the primary :