PrintRegistry 1.3.3 – Linux (without Docker)
===============================================

Standalone program for Linux PCs and servers – Node.js or Docker are NOT required.
Beta version © AlpTek – runs for 60 days from the installation of this version. Installing the same version
again continues the period; with every new version (update) it starts again at 60 days.
PrintRegistry reports new versions itself (System info -> Version and the bell).
Requirements: 64 bit (x86_64), systemd, glibc 2.28 or newer.
  Recommended and tested: Ubuntu Server 24.04 LTS. Also tested: Ubuntu 22.04 LTS, Debian 12.
  Should also work: Debian 10+, Ubuntu 20.04+, Linux Mint 20+, Fedora, RHEL/Rocky/Alma 8+, openSUSE.
Not suitable: Alpine Linux, Raspberry Pi/ARM – please use the Docker version there.

Installation
  tar -xzf PrintRegistry_Linux_x64_1.3.3.tar.gz
  cd printregistry-1.3.3
  sudo ./installieren.sh --en

  The script creates the user "printregistry", installs to /opt/printregistry, sets up the system service
  "printregistry" (starts automatically with the server), opens the ports in an active firewall
  (ufw/firewalld), offers to set up the network share (Samba) and finally shows the addresses,
  e.g. http://192.168.1.50:8731
  The messages are English with --en (German with --de; without option: system language).

Folders
  /opt/printregistry                     program
  /var/lib/printregistry/data            database and daily backups (HTTPS certificate in data/https)
  /var/lib/printregistry/postfach        inbox (eingang/ = target for the slicer export)
  /var/backups/printregistry             target of the data backup (better: NAS or USB, see wiki)
  /etc/printregistry/printregistry.env   settings (port, HTTPS port, name in the network, folders)
  /etc/printregistry/lizenz              beta period – do not delete

Network share for the slicer export (Samba/SMB)
  sudo /opt/printregistry/freigabe-einrichten.sh --en
  Installs Samba if necessary, asks for a password and sets up two shares:
    \\<IP>\printregistry              inbox:  eingang\ (slicer target, writable), uebermittelt\, fehler\
    \\<IP>\printregistry-sicherung    backups (read only)
  Log in with user "printregistry" and the password you set. Running the script again changes the password;
  --entfernen removes the shares (files are kept).

HTTPS (encrypted access)
  In the browser: System info -> HTTPS -> add your own certificate (PEM or PFX) or create a self-signed one.
  PrintRegistry is then additionally reachable at https://<IP>:8743 (port: HTTPS_PORT in printregistry.env).

Language
  The web interface can be switched between German and English with the DE/EN button at the top right.

Useful commands
  sudo systemctl restart printregistry   after changes to printregistry.env
  sudo systemctl status printregistry    is it running?
  journalctl -u printregistry -f         log

Update
  Extract the new archive and run  sudo ./installieren.sh  again. Data and your settings are kept;
  the database is backed up automatically when the new version starts for the first time.

Uninstall
  sudo /opt/printregistry/deinstallieren.sh            data is kept
  sudo /opt/printregistry/deinstallieren.sh --alles    also delete data and settings

© AlpTek. Changes: see CHANGELOG in the release folder.
