I'm using Google Cloud Platform + Cloud SQL with PostgreSQL to replicate a Moodle enviroment from a on-premise server, but i get the following error:
"Config table does not contain version, can not continue, sorry."
There's a link:
It's strange since i'm actually using the on-premise files (moodle & moodledata), i only edited the config.php to change the root and moodledata file paths, but the information is still the same.
Double checked the version from the version.php file of the moodle folder:
2016052303.00 (supposedly Moodle version 3.1.3)
which db table mdl_config value for version is 2016052303 (less .00) but anyways, the same version, as i pointed before, it's the actual on-premise, working version).
Even if i changed the version.php value to 2016052303 and keep the mdl_config value on 2016052303 with their due apache service restart/ complete instance restart and adding .00 to both values i still get this error.
NOTE: I can connect to PostgreSQL instance from the Google Cloud Compute Engine instance from a psql client, and i have the pgsql extension on php file. (5.6 version, again, same as the on-premise version).
I hope you can point me to the correct direction to solve this.