Talk:Administration via command line: Difference between revisions
From MoodleDocs
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/...") |
(sudo: unknown user: apache) |
||
Line 9: | Line 9: | ||
$ sudo -u apache /usr/bin/php admin/cli/upgrade.php | $ sudo -u apache /usr/bin/php admin/cli/upgrade.php | ||
$ sudo -u apache /usr/bin/php admin/cli/maintenance.php --disable | $ sudo -u apache /usr/bin/php admin/cli/maintenance.php --disable | ||
-- | |||
My command line says: | |||
$ sudo: unknown user: apache | |||
Any ideas? | |||
[[User:Tom Greenfield|Tom Greenfield]] ([[User talk:Tom Greenfield|talk]]) 03:54, 17 March 2016 (AWST) |
Latest revision as of 19:54, 16 March 2016
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
-- My command line says: $ sudo: unknown user: apache Any ideas? Tom Greenfield (talk) 03:54, 17 March 2016 (AWST)