Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Add missing step to migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
bauerj committed Dec 5, 2020
1 parent 3634dfb commit 55cc93e
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,14 @@ Migration to paperless-ng is then performed in a few simple steps:
``docker-compose.env`` to your needs.
See `docker route`_ for details on which edits are advised.

6. In order to find your existing documents with the new search feature, you need
6. Since ``docker-compose`` would just use the the old paperless image, we need to
manually build a new image:

.. code:: shell-session
$ docker-compose build
7. In order to find your existing documents with the new search feature, you need
to invoke a one-time operation that will create the search index:

.. code:: shell-session
Expand All @@ -414,19 +421,19 @@ Migration to paperless-ng is then performed in a few simple steps:
This will migrate your database and create the search index. After that,
paperless will take care of maintaining the index by itself.

7. Start paperless-ng.
8. Start paperless-ng.

.. code:: bash
$ docker-compose up -d
This will run paperless in the background and automatically start it on system boot.

8. Paperless installed a permanent redirect to ``admin/`` in your browser. This
9. Paperless installed a permanent redirect to ``admin/`` in your browser. This
redirect is still in place and prevents access to the new UI. Clear
browsing cache in order to fix this.

9. Optionally, follow the instructions below to migrate your existing data to PostgreSQL.
10. Optionally, follow the instructions below to migrate your existing data to PostgreSQL.


.. _setup-sqlite_to_psql:
Expand Down

0 comments on commit 55cc93e

Please sign in to comment.