Documentation/PalmOrder Server

PalmOrder Server

Data storage

Exchange directories, server data and device-specific paths.

PalmOrder Server stores exchange files and service data locally on the computer where it is running. Define these directories before connecting the accounting system: it usually needs access to inbox and outbox.

Standard location

In Windows and portable JVM distribution data is located in the directory PalmOrderServer:

PalmOrderServer/
├── config/
│   └── application.yml
├── data/
│   ├── inbox/
│   ├── outbox/
│   └── cache/
├── logs/
└── palmorder.sqlite

The file palmorder.sqlite is created after the first run. In it, the server stores service settings, data of attached devices and event log.

In the macOS distribution, all this data is located in:

~/Library/Application Support/PalmOrder Server

Do not edit palmorder.sqlite manually or move it while the server is running.

Purpose of catalogs

CatalogContent and purpose
inboxDocuments and files received from mobile devices. The accounting system takes them from here.
outboxFiles and XML tables prepared by the accounting system for mobile devices.
cacheTechnical databases of formed tables. The server creates and uses this directory itself.
logsServer logs.

Important. Do not use cache as the exchange directory with the accounting system. Only inbox and outbox are intended for integration.

Change the default directories

  1. In Control Panel, open Settings.
  2. Specify values ​​for Default inbox directory and Default outbox directory.
  3. Save the settings.

The server will create the directory if it doesn't already exist and check for writability. Changes are applied immediately, without a restart, and are saved in the server data.

The values ​​inbox-path and outbox-path in config/application.yml define the starting directories only before they are first saved in the control panel. More details about the configuration file can be found on the page Configuration.

Separate directories for the device

For a specific device, you can set your own inbox, outbox or both directories. This is convenient when different devices exchange data with different departments or ERP databases.

  1. Open Devices and find the desired device.
  2. Click Storage.
  3. Uncheck Use default inbox or Use default outbox.
  4. Specify the desired path and save the changes.

If left unchecked, the device will use the default directory. The path for the device takes precedence over the default path:

Шлях для syncName → стандартний шлях із панелі керування → початковий шлях із application.yml

File accesses

The account under which PalmOrder Server is running must have permission to create and write files to all selected directories. If the server is running as a Windows service or a systemd service, check the access of this particular service account.

If ERP is running on another computer, give it network access only to the required directories inbox and outbox. Don't give her access to palmorder.sqlite, cache, or logs.