Paperless-ngx: Difference between revisions

Tboston (talk | contribs)
Add one more example with showing settings and user generation
the address must be an ip address, with a domain name, the paperless-web service will fail to start. but in the settings there's an option for PAPERLESS_URL that needs to be set to allow requests from that origin.
Line 12: Line 12:
   enable = true;
   enable = true;
   consumptionDirIsPublic = true;
   consumptionDirIsPublic = true;
  address = "paperless.example.com";
   settings = {
   settings = {
     PAPERLESS_CONSUMER_IGNORE_PATTERN = [
     PAPERLESS_CONSUMER_IGNORE_PATTERN = [
Line 23: Line 22:
       pdfa_image_compression = "lossless";
       pdfa_image_compression = "lossless";
     };
     };
    PAPERLESS_URL = "https://paperless.example.com";
   };
   };
};
};
</syntaxhighlight>After the installation, you can set an admin user yourself via the following command on the server <syntaxhighlight lang="bash">
</syntaxhighlight>After the installation, you can set an admin user yourself via the following command on the server <syntaxhighlight lang="bash">
sudo /var/lib/paperless/paperless-manage createsuperuser
sudo paperless-manage createsuperuser
</syntaxhighlight>
</syntaxhighlight>
[[Category:Server]]
[[Category:Server]]
[[Category:Web Applications]]
[[Category:Web Applications]]