https://wiki.ihris.org/mediawiki/index.php?title=Developers_Frequently_Asked_Questions&feed=atom&action=historyDevelopers Frequently Asked Questions - Revision history2024-03-28T09:29:43ZRevision history for this page on the wikiMediaWiki 1.40.1https://wiki.ihris.org/mediawiki/index.php?title=Developers_Frequently_Asked_Questions&diff=53604&oldid=prevLduncan: /* The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file */2014-07-16T07:38:38Z<p><span dir="auto"><span class="autocomment">The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:38, 16 July 2014</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l15">Line 15:</td>
<td colspan="2" class="diff-lineno">Line 15:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>====The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file====</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>====The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file====</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This may be <del style="font-weight: bold; text-decoration: none;">cause </del>some data is still loaded in memcached. Before doing the update process you will want to restart memcached and apache2:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This may be <ins style="font-weight: bold; text-decoration: none;">because </ins>some data is still loaded in memcached. Before doing the update process you will want to restart memcached and apache2:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="bash"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="bash"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sudo service memcached restart; sudo service apache2 restart</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sudo service memcached restart; sudo service apache2 restart</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Then update as explained here [[#How do you update a site from the command line?]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Then update as explained here [[#How do you update a site from the command line?]]</div></td></tr>
</table>Lduncanhttps://wiki.ihris.org/mediawiki/index.php?title=Developers_Frequently_Asked_Questions&diff=53603&oldid=prevLduncan: 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..."2014-07-16T07:38:08Z<p>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..."</p>
<p><b>New page</b></p><div>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.<br />
==Command Line Questions==<br />
===How do you update a site from the command line?===<br />
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).<br />
<source lang="bash"><br />
cd /var/www/YOUR-SITE<br />
php index.php --update=1<br />
sudo service apache2 restart<br />
</source><br />
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:<br />
<source lang="bash"><br />
cd /var/www/iHRIS/manage-demo<br />
php index.php --update=1<br />
sudo service apache2 restart<br />
</source><br />
====The update doesn't seem to be working even though I've fixed some discovered errors in the configuration file====<br />
This may be cause some data is still loaded in memcached. Before doing the update process you will want to restart memcached and apache2:<br />
<source lang="bash"><br />
sudo service memcached restart; sudo service apache2 restart<br />
</source><br />
Then update as explained here [[#How do you update a site from the command line?]]</div>Lduncan