Closed kraghupathi closed 6 years ago
Followed below steps to setup and configure openedx dogwood version in local environment
sudo mongodump -o ./mongo-backup
sudo mysqldump -u root -p --all-databases > ./backup.sql
rsync -avz --progress backup-edx raghupathi@ssh-tunnel.vlabs.ac.in:.
rsync -avz --progress backup-edx vagrant@10.2.57.162:.
Working on restoring of mysql and mongo databases.
vagrant@precise64:~/backup-edx-2017-11-25/backup-edx$ sudo mysql -uroot -p < ./backup.sql Enter password: ERROR 1064 (42000) at line 113: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) DEFAULT NULL,
is_superuser
tinyint(1) NOT NULL,username
varchar(30)' at line 4
We are working on above issues
The following are the road blocks in resolving the above issues.
Updating Course There was an error while importing the new course to our database. 'NoneType' object has no attribute 'data_dir'
Steps followed for importing courses manually into CMS
$ tar -cvf course.tar.gz course
.The following steps are done
$ find . -name "policy.json" | xargs sed -i 's/Home/Home1/g' && find . -name "policy.json" | xargs sed -i "s/course_info/course_info1/g" $ find . -name "policy.json" | xargs sed -i "s/Course/Course1/g" && find . -name "policy.json" | xargs sed -i "s/courseware/courseware1/g" $ find . -name "policy.json" | xargs sed -i "s/Home1/Course/g" && find . -name "policy.json" | xargs sed -i "s/course_info1/courseware/g" $ find . -name "policy.json" | xargs sed -i "s/Course1/Home/g" && find . -name "policy.json" | xargs sed -i "s/courseware1/course_info/g"
$ tar -cvf course.tar.gz course
.Created following boxes for test edx-dogwood version on local machine.
Done the following steps
Tested all the courses and able to access the all experiments with feedback links.
Set up and configure openedx dogwood version in local environment.