I need to migrate an old Moodle to my new Cloudron Moodle--what are the DB details?
-
Here are the details I need in order to migrate:
-
you can jump on a terminal and enter
env | grep MYSQL
, this will give you the database details. -
@msbt said in I need to migrate an old Moodle to my new Cloudron Moodle--what are the DB details?:
env | grep MYSQL
Thanks but that doesn't give me anything in the cloudron terminal. Nothing happens
-
@jordanurbs the cloudron package uses postgres. So try
env | grep POSTGRESQL
-
ah my bad, should have omitted the MY from MYSQL
-
@girish said in I need to migrate an old Moodle to my new Cloudron Moodle--what are the DB details?:
@jordanurbs the cloudron package uses postgres. So try
env | grep POSTGRESQL
@jordanurbs
You can find out what addons being used for a cloudron app by checking the repohttps://git.cloudron.io/cloudron/moodle-app
and the CloudronManifest.json
https://git.cloudron.io/cloudron/moodle-app/-/blob/master/CloudronManifest.json
{ "id": "org.moodle.cloudronapp", "title": "Moodle", "author": "Moodle developers", "description": "file://DESCRIPTION.md", "tagline": "The world's most popular learning management system", "version": "1.0.0", "healthCheckPath": "/", "httpPort": 8000, "memoryLimit": 524288000, "manifestVersion": 2, "website": "https://moodle.org/", "contactEmail": "support@cloudron.io", "icon": "logo.png", "addons": { "postgresql": {}, "localstorage": {}, "sendmail": {}, "ldap": {}, "scheduler": { "periodic": { "schedule": "*/1 * * * *", "command": "/usr/bin/php /app/code/admin/cli/cron.php >/dev/null" } } }, "tags": [ "moodle", "learning", "lms", "canvas", "blackboard", "edutech" ], "changelog": "file://CHANGELOG", "postInstallMessage": "file://POSTINSTALL.md", "mediaLinks": [ "https://screenshots.cloudron.io/org.moodle.cloudronapp/1.png", "https://screenshots.cloudron.io/org.moodle.cloudronapp/2.png", "https://screenshots.cloudron.io/org.moodle.cloudronapp/3.jpg" ], "minBoxVersion": "5.3.0", "forumUrl": "https://forum.cloudron.io/category/102/moodle", "documentationUrl": "https://docs.cloudron.io/apps/moodle/" }
Or when you open the logs you should have a button for
Postgres
orMySQL
-
@girish said in I need to migrate an old Moodle to my new Cloudron Moodle--what are the DB details?:
env | grep POSTGRESQL
Thanks, that gives me the details.
Now I've got a second issue though: the old Moodle only lets me choose between MariaDB or Improved MySQL. Any thoughts?
-
@jordanurbs this is probably relevant to you https://docs.moodle.org/310/en/Database_transfer