{"id":19592077,"url":"https://github.com/catalyst/oneninetotwo","last_synced_at":"2025-04-27T14:33:37.050Z","repository":{"id":66891653,"uuid":"1785199","full_name":"catalyst/oneninetotwo","owner":"catalyst","description":"Convert Moodle 1.9 backups into 2.0 format backups by scripting the restore, 1.9 -\u003e 2.0 upgrade and backup process","archived":false,"fork":false,"pushed_at":"2012-05-15T23:09:17.000Z","size":167,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-05T00:51:14.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catalyst.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-22T20:58:50.000Z","updated_at":"2017-09-14T20:30:05.000Z","dependencies_parsed_at":"2023-02-20T13:45:32.272Z","dependency_job_id":null,"html_url":"https://github.com/catalyst/oneninetotwo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Foneninetotwo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Foneninetotwo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Foneninetotwo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Foneninetotwo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catalyst","download_url":"https://codeload.github.com/catalyst/oneninetotwo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251154689,"owners_count":21544543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T08:33:01.719Z","updated_at":"2025-04-27T14:33:35.865Z","avatar_url":"https://github.com/catalyst.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======================================================================\n Automated Moodle 1.9 to 2.0 course conversion\n=======================================================================\n\nThis converter is a collection of scripts that Automate the process of\nimporting a Moodle 1.9 backup file, upgrading the entire Moodle site to\n2.0 and then exporting a Moodle 2.0 format backup file.\n\nThis development work was made possible through funding from the New\nZealand Ministry of Education, and was quickly put together to assist\nteachers affected by the Christchurch earthquake in sharing Moodle\ncourses with other Schools.\n\n\n=======================================================================\n Prerequisites\n=======================================================================\n\n - Linux server that meets the Moodle 2.0 system requirements\n - PostgreSQL   - http://www.postgresql.org/\n - Git          - http://git-scm.com/\n - dotlockfile  - http://www.linuxmanpages.com/man1/dotlockfile.1.php\n - Ensure that the php.ini file used by your command-line PHP executable\nhas the \"variables_order\" flag set to include \"E\"\n\n\n\n=======================================================================\n Installation\n=======================================================================\n\n 1. Clone git repository\n\n    $ cd /var/www  # or another location of your choosing\n    $ git clone git://github.com/matt-catalyst/oneninetotwo.git oneninetotwo \u0026\u0026 cd oneninetotwo\n\n\n 2. Download Moodle 1.9.x and 2.0.x repositories (may take some time)\n\n    $ setup/init.sh\n\n    NOTE: If you have any non-standard modules used in your Moodle 1.9 backup\n    files then you must add the 1.9 and 2.0 module code to the  ./onenine\n    and ./two directories. The setup script in step 4 will initiate\n    the database installation of your modules, If your modules\n    require any additional setup then you will need to configure your\n    webserver to point to the ./onenine directory and then login with\n    your browser and complete the setup.\n\n 3. Create Postgres DB user: (with createdb permissions)\n\n    $ createuser -SdRP oneninetotwo\n\n\n 4. Run installation script\n\n    $ sudo ./setup/setup.sh\n\n    Enter the following when prompted:\n\n        - Database username:\n            As setup in step 3. e.g. oneninetotwo\n\n        - Database password:\n            As setup in step 3. e.g. ohmohPh9\n\n        - Database host:\n            e.g. localhost\n\n        - Database port:\n            Default port is 5432\n\n        - Webserver user:\n            Normally www-data, apache or httpd\n\n        - Data directory:\n            Directory to be used for all Moodle data files (will be created by script) e.g. /var/lib/sitedata/oneninetotwo\n\n        - Virtual Host name:\n            Domain you intend to run the converter from e.g. oneninetotwo.catalyst.net.nz\n\n        - Admin email address:\n            Email address that users can reply to when using this converter\n\n5. Configure your web-server to serve the content from the www directory\n\n    e.g.\n\n    \u003cVirtualHost *:80\u003e\n        ServerName oneninetwo.catalyst.net.nz\n        DocumentRoot /var/www/oneninetotwo/www\n    \u003c/VirtualHost\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Foneninetotwo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalyst%2Foneninetotwo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Foneninetotwo/lists"}