| Changelog | Features
- The archive can now live in a Team folder, or in an external storage that is mounted for several users or groups, such as the media folder of Paperless mounted read-only for a group. Such a mount has no account of its own that owns its files, so until now its documents never showed in the search. Name it with
occ paperless_unified_search:trusted-mounts team:3 external:7, a Team folder by its ID and an external storage by its mount ID, and each user who may only read a file there finds its document in the search, on the dashboard and in notifications. A user who may write there sees none of its documents, since they could have named a file after any document: Try a search and occ paperless_unified_search:search --explain say so, the settings list the trusted mounts below the shares, and occ paperless_unified_search:check says that it can't count their files. Trust only a mount that nobody but the synchronization writes; see decision 0019.
- The administration settings can be changed while Paperless doesn't answer: when the test of the connection fails and a connection is stored, Test connection and save still saves the archive account, Always include Paperless in global search, Let users include Paperless in all their searches and Let users ask for notifications about new documents, and keeps the stored URL, API token and Paperless runs in my local network. So you can turn off a search that every user sends to Paperless exactly while it is down, slow or being moved; the message says what failed and what was saved, in the colour of a warning.
occ paperless_unified_search:setup does the same and still exits with 1.
- Find similar documents in Paperless in the menu of a file in Files whose name carries the marker of a document, such as
[P412]: it shows the documents that Paperless finds similar to that one, as the search term like:412 finds them, in a dialog with the preview and the title of each, and a click opens the file. No term to type, and no need to turn on Search connected services first.
- While Paperless is down, all of Nextcloud stays responsive: after a search request that gets no answer at all, because Paperless doesn't answer in time, refuses the connection or its name doesn't resolve, the searches of the next 30 seconds, of every user, show no Paperless documents without asking Paperless, instead of each holding a PHP worker of Nextcloud for up to 10 seconds per keystroke. This matters most with Always include Paperless in global search or the personal switch on, where every search of Nextcloud asks Paperless. An answer of Paperless with an error starts no rest, the failure is in Search problems as before, and Test connection and save or
occ paperless_unified_search:test ends the rest at once when Paperless answers the test. Without a distributed memory cache, every search asks Paperless, as before.
- Search problems in the administration settings now says in the column Error what failed and what to do, in the language of the administrator and in the words of the test of the connection, such as Paperless did not answer in time, for a request to Paperless that failed, also one that Paperless never answered, as in an outage, or that only its second try answered. The kind and the message of the error stay below it, as they are, for a bug report. Problems recorded before the update, and those of finding the files in Nextcloud, show the error alone, as before.
- A user whom Paperless Sync lets see only the documents with some tags now reads which tags those are at the top of the section Paperless of their personal settings, such as Your administrator lets you find only the documents that have one of these tags in Paperless: Katja, Household., so that a search that comes back empty for another document no longer looks broken. The section shows for such a user even when the administrators let users choose neither of its settings.
- A notification about one new document now says which of your saved searches found it, such as Found by your saved search: tag:unpaid, so that you can tell why it came and which search to correct when one finds too much. It names the first of your searches that found the document, in the order in which you saved them; a document that only Every new document that I can open brought names none, and notifications that went out before the update read as they did.
Bug fixes
- A user who can open only a small part of a large archive, such as their own documents or a shared folder, now finds their documents for a common word such as invoice even when more than 100 documents of others rank in front of them: while a search has found no result yet, it goes through up to 500 hits of Paperless instead of 100, within the same 3 seconds. The FAQ explains what a search does when even more documents of others rank first.
- The dashboard widget New in Paperless no longer stays empty for a user whose documents are not among the 25 that Paperless added last, such as after someone else imported many documents at once: while it has found fewer documents that you can open than it shows, it looks at the next 25, up to the 100 newest of everyone, and where Paperless Sync gives each owner an archive, also at the 25 newest documents that your own user of Paperless owns. The common case still costs one request to Paperless a minute for all users; each further page is kept for a minute as well, and after 5 seconds the widget asks for no further page, so a slow Paperless keeps nobody waiting much longer than before. The FAQ and the reference say what remains: documents of yours that are older than all of these show in the search, not in the widget.
- A saved search for notifications about new documents that Paperless can't read, such as the range of dates that isn't complete in
created:[2026 to, is no longer saved with a success message: Save in the personal settings checks each new search with Paperless once and refuses such a search with the number of its line, which it selects, so that you can correct it instead of waiting for notifications that never come. When Paperless doesn't answer, or answers a search with an error, the searches are saved and the page says that they could not be checked. For searches saved before, the log line about refused searches of the background job now names the users whose searches they are.
- One saved search that Paperless can't answer in time, such as a wildcard that takes too long, no longer stops the notifications about new documents of every user while it is the only saved search, or while every saved search fails. Whether Paperless is down, the job now decides from its request for the new documents, which holds no saved search: the searches that fail find nothing in that run, and everybody else, those who asked for every new document as well, gets their notifications. The warning about failed searches in the log now names the users whose searches they are, without the searches, so that an administrator can tell them.
- The documentation website shows the icon of Paperless Unified Search as its logo and its browser tab icon, in place of the theme's stock book.
- A file that the archive account, or the owner of a document, shares on its own still stands for its Paperless document when a recipient renames it to a name without the marker, such as
Invoice [P5].pdf to Invoice.pdf, as it does when the new name carries another marker.
- The history of the search problems hides a search term only where the message holds it as a word of its own: a search for
time or error no longer turns a timeout into "Operation …d out" or "cURL … 28". The API token still goes wherever it stands.
- The settings say which files stand for Paperless documents with the per-user archives of Paperless Sync: those of the archive account and of each document's owner, not of the archive account alone.
- The documentation says that the app registers one background job, for the notifications about new documents, which need Nextcloud's background jobs to run; that it needs Paperless-ngx 2.16 or newer; that Disconnect also deletes the progress of those notifications; and that every release carries SBOMs as SPDX and CycloneDX and the
THIRD_PARTY_NOTICES.md.
- Paperless-ngx 3 no longer computes and sends the IDs of every matching document with each page of each search, the newest documents of the dashboard and each check: once Paperless names version 10 of its API, as every 3.x does, the app asks for that version instead of version 9, in which Paperless adds that list to every answer. For a common word in a large archive, the list was far longer than the 25 hits that the search asked for, and the web search asks while you type. Paperless-ngx 2 is still asked for version 9.
occ paperless_unified_search:check reads the IDs that it compares with the files from the pages of the documents then.
- A Paperless that refuses version 10 of its API after it named it, as a Paperless newer than the app may one day, now says that Paperless Unified Search needs an update, instead of telling you that Paperless is older than 2.16. When Paperless refuses one version, Test connection and save and
occ paperless_unified_search:test ask once for the other, so a Paperless that was updated or restored from an older backup connects again; the set-up of the search account does the same.
- The background job of the notifications about new documents no longer writes into the configuration of the apps every five minutes when nothing changed, which emptied Nextcloud's cache of that configuration for all apps each time, also on a server where nobody asks for notifications: a run without news writes nothing, the moment of the last answer of Paperless alone is stored at most once an hour, and a pause deletes the progress of the job only where one is stored.
- A search for the documents similar to one, such as
like:[P412], now answers only a user who may see that document: one who can open a file of it, as a result needs one, and, when Paperless Sync lets them see only the documents with some tags, with one of those tags. Anyone else finds nothing, as for a document that Paperless doesn't have, because the order of the similar documents told something about a document that they may not see. The search asks Paperless for that document with one more short request first.
- A Paperless that stops answering while the notifications about new documents ask it, as it may while it takes in new documents, no longer keeps the background job waiting for each saved search of every user, ten seconds each: after three saved searches in a row without an answer, such as a timeout or a failed connection, or a minute after the first saved search without an answer, the run stops asking and waits as after any other failure. The documents keep waiting, and the next run asks again. One search that is too expensive for Paperless to answer in time still stops nobody else's notifications.
- The answer of a search no longer depends on the Paperless documents that the searching user can't open: a page of results is followed by another only when the search found a further result that the user may open, and an answer without results is the same however many documents of others match. The cursor of the next page is sealed with a key of your Nextcloud and works only for the user and the search that got it; a cursor handed out before the update finds no further results, and searching again starts from the first page. A user who can open few of the hits of a term may now see the results end earlier, after about 100 hits of other documents; a more precise term or the date filter brings later documents into reach.
|