March 21, 2022 paperless-ng raspberry-pi paperless-ngx
In theory, this should be a plug-and-play update as the image is identical except for the new software updates. The biggest difference is that the old image was hosted on dockerhub and the new image is hosted on the github container registry (as per #104).
150c150 < image: jonaswinkler/paperless-ng:latest --- > image: ghcr.io/paperless-ngx/paperless-ngx:latest
147a148,149 > volumes: > - redisdata:/data 227a230,232 > > volumes: > redisdata
I personally haven’t bothered with this, as redis is meant to be a cache and not permanent storage.
And just like that, I’ve upgrade from Paperless-NG 1.5.0 to Paperless-NGX 1.6.0. So far I can’t really notice any major differences but that’s the point. It’s a continuation of the project, not an entirely new version!
[email protected]:~/paperless$ vim docker-compose.yml [email protected]:~/paperless$ docker-compose stop paperless Stopping paperless ... done [email protected]:~/paperless$ docker-compose up --no-deps --build paperless 279a020076a7: Pull complete ... 5624cdf6a4f1: Pull complete Digest: sha256:f2f2d77cb7898a338314a59103b1b403807a7fa479b78489edb0ebb8de477d15 Status: Downloaded newer image for ghcr.io/paperless-ngx/paperless-ngx:latest Recreating paperless ... done Attaching to paperless paperless | Paperless-ngx docker container starting... paperless | Creating directory /tmp/paperless ...
That’s it for now. I’m involved in a PR #27 to use a Apache Tika container with ARM support. Once that gets merged I will probably update this post, as well as create a new and more in-depth longer one.
And remember, always create a backup before changing your system! I have my rlcone setup but still like doing a quick
tar -czvf paperless paperless.tar.gz before an upgrade just in case.