Developers Frequently Asked Questions: Difference between revisions
(Created page with "This is currently a work in progress to document some frequently asked questions for developers. Please let us know if you would like any questions added here. ==Command Line...") |
|||
Line 15: | Line 15: | ||
</source> | </source> | ||
====The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file==== | ====The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file==== | ||
This may be | This may be because some data is still loaded in memcached. Before doing the update process you will want to restart memcached and apache2: | ||
<source lang="bash"> | <source lang="bash"> | ||
sudo service memcached restart; sudo service apache2 restart | sudo service memcached restart; sudo service apache2 restart | ||
</source> | </source> | ||
Then update as explained here [[#How do you update a site from the command line?]] | Then update as explained here [[#How do you update a site from the command line?]] |
Latest revision as of 02:38, 16 July 2014
This is currently a work in progress to document some frequently asked questions for developers. Please let us know if you would like any questions added here.
Command Line Questions
How do you update a site from the command line?
In the terminal, change to the pages directory in your site, or alternatively change to the linked location under /var/www (or /var/www/html in Ubuntu 14.04). <source lang="bash"> cd /var/www/YOUR-SITE php index.php --update=1 sudo service apache2 restart </source> This will begin the update process and then you'll need to restart apache so the APC(u) can be recached with your changes. An example location may be: <source lang="bash"> cd /var/www/iHRIS/manage-demo php index.php --update=1 sudo service apache2 restart </source>
The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file
This may be because some data is still loaded in memcached. Before doing the update process you will want to restart memcached and apache2: <source lang="bash"> sudo service memcached restart; sudo service apache2 restart </source> Then update as explained here #How do you update a site from the command line?