手册 › LynxStock

1 System Configuration

Network and Access

By default the service listens on the device's network; LAN devices reach it via "device IP + port". The default port is 6555; if occupied at first start, the system auto-selects an available port within 3000–9000 and remembers it.

In "System Settings" → "Network Settings" you can view the LAN address, adjust the service port and toggle network sharing. Reachability ultimately depends on the network and firewall. A port change takes effect after restarting the service or device, and the new port must be allowed through the firewall.

If access fails, check in order: the device is online; the address and port are correct; the client is on the same subnet; the firewall allows the port. For external access use a VPN or reverse proxy instead of exposing the port to the public internet.

Phones, tablets and computers all open the same address in a browser; the interface adapts to the screen.

Backup and Restore

The system supports automatic and manual backups; backup files can be downloaded, restored or deleted in the interface.

  • Automatic backup: configure the interval in hours. The system checks hourly and backs up once the interval since the last automatic backup elapses.
  • Retention: the most recent 99 backups are kept by default; older ones are cleaned automatically.
  • Back up now: for manual snapshots before upgrades, stocktakes, bulk imports or staff handover.
  • Backup list: view, download, restore and delete backups.

Restoring a backup overwrites current business data — make sure the current data is no longer needed, or create one more backup first. After restoring, restart the service or device as prompted and log in with an account that exists in the backup.

Regularly download the latest backup to another device or offline storage, and spot-check that backups actually restore — so a device failure cannot take data and backups down together.

Mail (SMTP) Configuration

Stock alerts are sent over SMTP. Fill in the following under "Notification Management" → "Mail Settings":

SettingDescription
Sender mailboxThe address that sends alert emails
Password / auth codeThe mailbox login password or the provider's SMTP authorization code
Sender nameDisplay name in the emails; optional
SMTP serverThe provider's SMTP address; auto-detected
SMTP portUsually 465 or 587; auto-detected
SSLWhether to use a secure SSL connection

The system auto-matches common SMTP servers and ports from the sender mailbox domain:

DomainSMTP serverPort
qq.com / foxmail.comsmtp.qq.com465
163.comsmtp.163.com465
126.comsmtp.126.com465
gmail.comsmtp.gmail.com465
outlook.com / hotmail.comsmtp.office365.com587
yahoo.comsmtp.mail.yahoo.com465
sina.comsmtp.sina.com465
sohu.comsmtp.sohu.com465
aliyun.comsmtp.aliyun.com465

Auto-detection is only an initial value; the provider's SMTP documentation prevails. Most providers require an "authorization code" rather than the web login password — enable SMTP service in the mailbox settings and generate the code first.

After filling in, click "Send test email" and confirm it arrives before relying on alerts.

Notification Users and Alert Rules

Notification users: add names and emails under "Notification List" and keep them enabled. Only enabled users receive alert emails.

Warehouse default alert: threshold and reminder time per warehouse. Once enabled, every enabled material without its own special alert in that warehouse is checked by this rule.

Material special alert: threshold and reminder time for a single material. It takes precedence over the warehouse default, so one material never gets duplicate reminders from both rules.

Trigger Rules and Aggregation

  • The system checks once per minute;
  • Current stock is at or below the alert threshold;
  • The configured reminder time has arrived;
  • No same-type alert has been sent for that material today;
  • An enabled notification user exists and the mail configuration works.

When several materials trigger together, they are aggregated into one email. Each material is reminded at most once per day; a stock update resets its reminder state so it can trigger again later.

Interface Themes

Three themes are provided: eye-care (default, for long entry and stocktake sessions), light (bright offices) and dark (dim rooms or night shifts). Switch under "System Settings" → "Theme Settings" — it applies instantly and the preference stays in the current browser.

Changing Passwords and Administrator Recovery

Every user can change their own password under "System Settings" → "Change Password", entering the old password, the new one and its confirmation. Passwords are at least 6 characters at initialization; later changes are up to the user.

If an administrator forgets the password: with another administrator account present, log in with it and reset; otherwise contact the device manufacturer or delivery party — do not delete business data to work around it.

Configuration Effect Quick Reference

SettingWhen it takes effect
Service portAfter restart of the service or device
Network sharing stateRecorded on save; actual access depends on network and firewall
Automatic backup intervalRestart recommended so the background task reloads
Backup retentionAt the next backup cleanup
ThemeInstant on click; stored in the current browser
Mail configurationInstant on save; send a test email first
Alert settingsInstant on save; new rules apply at the next minute check
Users and passwordsInstant