Difference between revisions of "AM FAQ"

From Archivematica
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Main Page]] > [[Development]] > [[Administrator_manual]] > FAQ
 
[[Main Page]] > [[Development]] > [[Administrator_manual]] > FAQ
 +
  
 
=How to restart the Archivematica services?=
 
=How to restart the Archivematica services?=
 
== Stopping ==
 
== Stopping ==
* Stop the server
+
<pre>sudo stop archivematica-mcp-server
<pre>sudo stop archivematica-mcp-server</pre>
+
sudo stop archivematica-mcp-client
* Stop the client
+
sudo /etc/init.d/apache2 stop
<pre>sudo stop archivematica-mcp-client</pre>
+
sudo /etc/init.d/gearman-job-server stop
* Stop the dashboard
+
sudo stop mysql
<pre>sudo apache2ctl stop</pre>
+
sudo /etc/init.d/elasticsearch stop</pre>
* Stop the gearman service
 
<pre>sudo /etc/init.d/gearman-job-server stop</pre>
 
* Stop the mysqld service
 
<pre>sudo stop mysql</pre>
 
* Stop the elastic search service
 
<pre>sudo /etc/init.d/elasticsearch stop</pre>
 
  
 
== Starting ==
 
== Starting ==
* Start the elastic search service
+
<pre>sudo /etc/init.d/elasticsearch start
<pre>sudo /etc/init.d/elasticsearch Start</pre>
+
sudo start mysql
* Start the mysqld service
+
sudo /etc/init.d/gearman-job-server start
<pre>sudo start mysql</pre>
+
sudo /etc/init.d/apache2 start
* Start the gearman service
+
sudo start archivematica-mcp-server
<pre>sudo /etc/init.d/gearman-job-server Start</pre>
+
sudo start archivematica-mcp-client</pre>
* Start the dashboard
+
 
<pre>sudo apache2ctl Start</pre>
+
=I am getting a white error page in the Dashboard. How can I find out what the error is?=
* Start the server
+
 
<pre>sudo Start archivematica-mcp-server</pre>
+
Seeing an full error stack trace for the Dashboard requires knowing how to edit a configuration file from the command line.
* Start the client
+
 
<pre>sudo Start archivematica-mcp-client</pre>
+
# SSH to the Archivematica server
 +
# With your preferred text editor, open the dashboard settings file (vim shown in example; Note that you must use sudo to edit this file): <pre>sudo vim /usr/share/archivematica/dashboard/settings/common.py</pre>
 +
# Change the "DEBUG" flag from "False" to "True" <pre>DEBUG = True</pre>
 +
# Save the file
 +
# Restart Apache <pre>sudo apache2ctl restart</pre>
 +
# Reload the dashboard page reporting the error in your browser
 +
# ''Debug or report error''
 +
# Restore DEBUG to False and restart Apache to turn error reporting off again

Latest revision as of 11:12, 2 April 2014

Main Page > Development > Administrator_manual > FAQ


How to restart the Archivematica services?[edit]

Stopping[edit]

sudo stop archivematica-mcp-server
sudo stop archivematica-mcp-client
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/gearman-job-server stop
sudo stop mysql
sudo /etc/init.d/elasticsearch stop

Starting[edit]

sudo /etc/init.d/elasticsearch start
sudo start mysql
sudo /etc/init.d/gearman-job-server start
sudo /etc/init.d/apache2 start
sudo start archivematica-mcp-server
sudo start archivematica-mcp-client

I am getting a white error page in the Dashboard. How can I find out what the error is?[edit]

Seeing an full error stack trace for the Dashboard requires knowing how to edit a configuration file from the command line.

  1. SSH to the Archivematica server
  2. With your preferred text editor, open the dashboard settings file (vim shown in example; Note that you must use sudo to edit this file):
    sudo vim /usr/share/archivematica/dashboard/settings/common.py
  3. Change the "DEBUG" flag from "False" to "True"
    DEBUG = True
  4. Save the file
  5. Restart Apache
    sudo apache2ctl restart
  6. Reload the dashboard page reporting the error in your browser
  7. Debug or report error
  8. Restore DEBUG to False and restart Apache to turn error reporting off again