More explicit instructions

This commit is contained in:
shamoon 2022-03-03 12:55:34 -08:00 committed by GitHub
parent a233e5d404
commit 0545d9bab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,7 +479,7 @@ Migrating from Paperless-ng
Paperless-ngx is meant to be a drop-in replacement for Paperless-ng and thus upgrading should be Paperless-ngx is meant to be a drop-in replacement for Paperless-ng and thus upgrading should be
trivial for most users, especially when using docker. However, as with any major change, it is trivial for most users, especially when using docker. However, as with any major change, it is
recommended to take a full backup first. Once you are ready, simply change the docker image to recommended to take a full backup first. Once you are ready, simply change the docker image to
point to the new source, e.g. change: point to the new source. E.g. if using Docker Compose, edit ``docker-compose.yml`` and change:
.. code:: .. code::
@ -491,11 +491,13 @@ to
image: ghcr.io/paperless-ngx/paperless-ngx:latest image: ghcr.io/paperless-ngx/paperless-ngx:latest
Then make sure you pull the new image (e.g. ``docker-compose pull`` if using compose), restart and then run ``docker-compose up -d`` which will pull the new image recreate the container.
your container and that's it! That's it!
Users who installed with the bare-metal route should Users who installed with the bare-metal route should also update their Git clone to point to
also update their Git clone to point to ``https://github.com/paperless-ngx/paperless-ngx``. ``https://github.com/paperless-ngx/paperless-ngx``, e.g. using the command
``git remote set-url origin https://github.com/paperless-ngx/paperless-ngx`` and then pull the
lastest version.
Migrating from Paperless Migrating from Paperless
======================== ========================