Skip to content

Getting started

The latest release of ArchivesSpace is v4.1.1.

There are two different ways to install ArchivesSpace:

  • Using Docker
  • Using the .zip file distribution

See the Running with Docker page for instructions on how to install ArchivesSpace using Docker.

Starting with ArchivesSpace v4.0.0, the easiest and recommended way to get up and running is using Docker. This method eases installing, upgrading, starting, and stopping ArchivesSpace. It also makes it easy to setup ArchivesSpace as a system service that starts automatically on every reboot.

The older and more involved way is to install from the latest distribution .zip file as described below.

ArchivesSpace is being tested on Ubuntu Linux, Mac OS X, and Windows.

At least 1024 MB RAM allocated to the application are required. We recommend using at least 2 GB for optimal performance.

When using the zip distribution, a Java runtime environment and a Solr instance are required. See using Docker to avoid these dependencies.

We recommend using OpenJDK. The following table lists the supported Java versions for each version of ArchivesSpace:

ArchivesSpace versionOpenJDK version
≤ v3.5.18 or 11
v4.0.0 up to v4.1.111 or 17
≥ v4.2.017 or 21

The Jruby version used in ArchivesSpace v4.2.0 is still compatible with java 11 we highly recommend using Java 17 or 21 as those are the Java versions ArchivesSpace v4.2.0 has been tested with. You can still use java 11 with v4.2.0 but the ArchivesSpace Program Team can provide support for environments using Java versions we have tested ArchivesSpace with (17 or 21).

Note that in the next major release we expect to drop support for java 17 and only support java 21 and 25.

Up to ArchivesSpace v3.1.1, the zip file distribution includes an embedded Solr v4 instance, which is deprecated and not supported anymore. Use the Docker images provided on ArchivesSpace Docker repository and see also using Docker to avoid managing an external Solr instance.

ArchivesSpace v3.2.0 or above requires an external Solr instance when running using the Zip distribution. The table below summarizes the supported Solr versions for each ArchivesSpace version:

ArchivesSpace versionExternal Solr version
≤ v3.1.1no external solr required
v3.2.0 up to v3.5.18 (8.11)
v4.0.0 up to v4.1.19 (9.4.1)
≥ v4.2.09 (9.9.0)

Each ArchivesSpace version is tested for compatibility with the corresponding Solr version listed in the table above. Using the corresponding version of Solr is recommended as that version is being used during development and running the ArchivesSpace automated tests.

If you need to use ArchivesSpace with an older version of Solr check the release notes for any potential version compatibility issues.

Note: the ArchivesSpace Program Team can only provide support for Solr deployments using the “officially” supported version with the standard configuration provided by the application. Everything else will be treated as “best effort” community-led support.

See Running with external Solr for more information on installing and upgrading Solr.

While ArchivesSpace does include an embedded database, MySQL is required for production use.

(While not officially supported by ArchivesSpace, some community members use MariaDB so there is some community support for version 10.4.10 only.)

The embedded database is for testing purposes only. You should use MySQL or MariaDB for any data intended for production, including data in a test instance that you intend to move over to a production instance.

All ArchivesSpace versions can run on MySQL version 5.x or 8.x.

Download the distribution .zip for your version from ArchivesSpace releases on GitHub.

Confirm a supported Java version is active on your PATH:

Terminal window
java -version

Compare the output with Java Runtime Environment. If needed, install a supported OpenJDK or point your environment at one (avoid using an unsupported newer Java as the default).

Extract the .zip; it creates a directory named archivesspace. Before starting ArchivesSpace, finish provisioning:

Do not proceed until MySQL and Solr (when required) are running.

Start ArchivesSpace from that directory. On Linux and macOS:

Terminal window
cd /path/to/archivesspace
./archivesspace.sh

On Windows:

Terminal window
cd \path\to\archivesspace
archivesspace.bat

This runs ArchivesSpace in the foreground (it stops when you close the terminal). By default, logs are written to logs/archivesspace.out.

Note: On Windows, errors such as unable to resolve type 'size_t' or no such file to load -- bundler often mean the path to the archivesspace folder contains spaces. Use a path without spaces.

The first startup can take about a minute. Then confirm the services in a browser:

In the staff interface, sign in with the default administrator account:

  • Username: admin
  • Password: admin

Create a repository via SystemManage repositories (top right). From System you can manage users and other administration tasks. Change the default admin password before production use.