FAQ
Frequently asked questions
The questions that come up during an evaluation and during the first weeks of an installation. When the answer of a question needs more than a sentence, the page of the documentation that carries the detail is linked.
The product
What is Shelftara, in one paragraph?
Shelftara is a self-hosted business platform that covers the stock, the counter, the shop and the back office of a business that sells physical goods. One installation serves many workspaces, and each workspace has its own catalogue, its own stock, its own documents, its own shop and its own users.
What do I need to run it?
A Go toolchain to build the binary, a MySQL 8 or a MariaDB 10.6 server, and a web server in front of it. The binary embeds its own templates and its own assets, so there is nothing else to install and no front-end build to run. The exact list is on the installation page.
Is the data of one business visible to another?
No. Every record of a business carries the identifier of its workspace and every query filters on it. The only part that reads across the workspaces is the console of the operator, and only an account with the role super_admin reaches it. The details are on the security page.
Does it need an external service to work?
No. The assistant answers from your own database, the storefront is served by the application itself, and no script of a third party is loaded by the pages. The configuration has variables for an external provider and for a mail server, but 1.0.0 does not call them.
The installation
Is there a Docker image?
Not in 1.0.0. The repository has no Dockerfile, but the binary is a plain Linux executable with everything embedded, so a container image is a two-line file. The installation page shows the file to use.
Which version of Go do I need?
The code targets Go 1.23 and newer. The go.mod of the release declares go 1.26.0, so build with a Go 1.26 toolchain to stay on the version the release was compiled with.
Does it create the database and the tables by itself?
It creates and keeps the tables up to date on every start. The database itself has to exist: create it once with the SQL of the installation page, or call the helper database.EnsureDatabase with the credentials of an account that is allowed to create it.
Where do I put the .env file?
In the working directory of the process, in the directory of the executable, or in the file named by ENV_FILE. A real environment variable always wins over the file, so a systemd unit or a container platform can override anything. The list is on the configuration page.
How do I use one installation for several domains?
Set DOMAIN to the main domain, for example example.com, and point the subdomains at the server. The host acme.example.com then resolves the workspace whose slug is acme. The proxy has to forward the Host header unchanged. See the nginx block.
Why do I get "the security token is missing or expired"?
The CSRF cookie was dropped. It happens when the browser is on HTTPS while the cookie was sent without the secure flag, when the session expired, or when the cookie is blocked. Reload the page; if it keeps happening, check COOKIE_SECURE and the scheme of the site.
The workspaces
How do I create a workspace?
Two ways. The registration form at /register creates one with a fourteen day trial, and the console of the operator at /platform/tenants creates one directly with a chosen plan. Both write the owner, the subscription and the starter data.
What does a new workspace receive?
A main warehouse, a base unit of measure, the ten accounts of the standard chart of accounts, the settings of the shop, a CRM pipeline with four stages, an annual leave type and the main floor of the restaurant module. Everything else is created as you use it.
Can a customer sign in to the panel?
No. An account with the role store_customer is refused by the panel; it is a customer of a shop and it buys through the shop.
What are the plans and can I change them?
Four plans ship by default — Starter, Growth, Business and Enterprise. They are data, not code: change the prices, the limits and the list of the modules under /platform/plans before you publish the installation.
How do I remove the demo?
Set SEED_DEMO=false and delete the workspace demo under /platform/tenants. The seed never writes twice: if the workspace already holds products, it is left alone.
The modules
Which modules are in the release?
Twenty-one: the catalogue, the warehouses and the stock, the purchasing, the sales documents, the register, the online store, the accounting, the reports, the CRM, the rental, the restaurant, the bookings, the assets, the human resources, the couriers and the shipments, the production, the integrations, the assistant, the audit log, the users and the roles, and the platform console. Each one is described on the modules page.
Why does a menu entry not appear?
The navigation is filtered by the permissions of the role of the user. The owner and the administrator see everything, a cashier sees the register and the catalogue, and a custom role sees exactly what it was given. Give the role the code, for example hr.manage, and the entry comes back.
Can the register work without a connection?
The queue of the sales taken offline is part of the API: POST /api/v1/pos/sync stores them under a unique identifier and ignores the ones that are already known, so the same queue can be sent again. The screen of the register of 1.0.0 does not drive that queue by itself yet.
Does the shop of a workspace have its own domain?
It can. The shop of the workspace acme answers on acme.example.com/store, on example.com/store?tenant=acme and on example.com/t/acme/store. Point a subdomain at the server and the shop follows.
What does the assistant send to an external service?
Nothing. The answer is composed from the figures of your own database, on your own server. The configuration has the variables of an external provider, but 1.0.0 never calls it and never sends a figure of a customer anywhere.
The data and the operations
How do I take a backup?
Two things: a dump of the database and a copy of the folder UPLOAD_DIR, which holds the pictures. The command is on the installation page. Take the dump before every upgrade.
How do I upgrade?
Stop the service, replace the binary, start it again. The schema is migrated at the start: the new columns and the new tables are added and nothing is dropped. The service handles SIGTERM and closes the open connections within fifteen seconds.
Can I use MariaDB instead of MySQL?
Yes, MariaDB 10.6 or newer works with the same driver and the same schema, with the utf8mb4 character set.
Can I change the currency of a workspace?
The currency of the installation is the default of a new workspace and can be changed per workspace under /app/settings. Changing the currency of a workspace that already has documents does not convert them.
How many workspaces can one installation carry?
As many as the server and the database can hold. The limits that exist are the limits of the plans — the number of users, of products and of warehouses — and they are set by the operator under /platform/plans.
Where do I export the data of a workspace?
Every report has an export button that writes a CSV file of the same table. The inventory, the sales, the customers, the suppliers, the tax, the stock and the valuation can all be exported. The export is on the reports page.
Support
Where do I ask a question?
At the address of SUPPORT_EMAIL, which is shown on the contact page of your own installation. Include the version (the VERSION file), the line of the configuration that is in doubt and the exact message of the server. The security page and this FAQ answer most of the questions of the first installation.
How do I report a problem?
With the steps that reproduce it, the address of the request, the identifier of the record and the lines of the log around the moment it happened. The audit log of the workspace holds the actions of the users with their address.
Is the documentation part of the source?
Yes. The pages of this documentation live in the docs folder of the repository and can be published as they are: they are plain HTML with one stylesheet and one small script, and they use no framework and no external service.