Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Administration via command line.

Talk:Administration via command line

From MoodleDocs
Revision as of 18:08, 25 July 2012 by conan barber (talk | contribs) (Created page with "Did a fresh install of 2.2, but I don't have the folder cd /var/www/sites/moodle/htdocs/ It's just missing, do you know where I can get it? $ cd /var/www/sites/moodle/htdocs/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Did a fresh install of 2.2, but I don't have the folder cd /var/www/sites/moodle/htdocs/

It's just missing, do you know where I can get it?

 $ cd /var/www/sites/moodle/htdocs/
  $ git fetch
  $ sudo -u apache /usr/bin/php admin/cli/maintenance.php --enable
  $ git merge origin/cvshead
  $ sudo -u apache /usr/bin/php admin/cli/upgrade.php
  $ sudo -u apache /usr/bin/php admin/cli/maintenance.php --disable