Critical Errors at Login
A user signs in and, before anything else, a stack of red messages appears: There are 3 failed requests…, Backup folder … does not exist…, Database transaction isolation level is not correct…. Nothing the user did caused them, and nothing they can do will make them go away.
This is the critical errors list: a set of health checks the server runs on itself and shows to whoever logs in. It is the closest thing Nama has to a dashboard warning light, and it is usually the first thing pasted into a support ticket. Everything on the list is real, every entry has a cause you can find, and most of them are somebody's configuration rather than a fault in the product.
These are not refusals
A critical error never blocks a save. It is a statement about the server, not about the record in front of you. Refused saves are a different family entirely — Messages and Refusals. One entry does come with a refusal of its own: a server running in the wrong time zone is reported here and refuses every save as well.
How the list behaves
It is built once and then cached. The checks are expensive — they count rows, read folders, ask the database about itself — so the server works the list out once and hands the same list to every login afterwards. That is why correcting the problem does not clear the message.
Four things rebuild it:
- Once an hour, automatically, on a server that runs the background processing. The schedule can be changed with the
critical-errors-refresh-cronkey innama.properties. A front-end-only server (one set withno-background-processors) has no hourly rebuild. - On demand, from Utilities → Caching → Refresh Critical Errors — the "Refresh Critical Errors" the troubleshooting answers ask for. Like the rest of the Utilities page, it needs the
adminuser or a user with Allow Access to Admin Restricted Functionality; the same link opened directly (http://localhost:8080/erp/utils?refreshcriticalerrors=true ) also needs such a session. - From a scheduled task, with the EARefreshCriticalErrors action — the way to make the refresh part of a nightly routine.
- Whenever a business request fails or succeeds, for the failed-requests count only. That one number keeps itself current.
A few entries also refresh on their own occasion: saving a Global Configuration entry re-checks the server id, the backup folder and the time zone of the server, and Utilities → Reload Configuration re-reads critical-error-messages.txt and re-checks the time zone. Everything else waits for a rebuild.
It is shown at login, at most three times per session. The list is pushed at the user the moment they sign in. If they dismiss it, it will come back at most twice more in that browser session and then stop, so "the message disappeared" does not mean "the problem was fixed".
Who sees it
Not everybody, by design — a shop floor of cashiers does not need to know about the isolation level. The list is hidden from a user in either of two ways:
- Do Not Display Critical Errors To This User (عدم إظهار الأخطاء الحرجة لهذا المستخدم) on the user's own settings, or
- the option with the same English label, Do Not Display Critical Errors To This User (عدم إظهار الأخطاء الحرجة on Arabic screens), on their security profile, which hides it from a whole role at once.
The admin user is the exception: it may not be shielded from them. Trying to save that configuration on admin is refused with You can not disable critical errors for administrator.
A few entries are meant for the Namasoft support team alone — repairs only they should run, such as the database schema fixes below. Those are shown only to an administrator who signed in through the Namasoft CRM, so the customer's own users and administrators never see them.
Switching the checks off is not the same as answering them
disable-critical-errors in nama.properties turns the whole mechanism off, and a single check can be silenced with a key of its own. Both exist for servers where a particular check is genuinely meaningless — a managed database whose backups Nama cannot see, for instance, which has a supported option of its own. Reach for them last, and never for the backup check just because it is inconvenient.
Posting your own message to a customer's users
Support sometimes needs to tell everybody at a site something — a planned outage, a data-correction campaign, "do not enter invoices on the old book". A file called critical-error-messages.txt in the server's working folder does exactly that: every line in it becomes an entry on the critical errors list, translated like any other message. A long message can be split over several lines by ending each one with a backslash. Remove the file and, at the next refresh, the messages disappear.
The checks, one by one
Server and database
| Message | What raised it | What to do |
|---|---|---|
| Database transaction isolation level is not correct, please contact our support team and provide them the following message: TIL is {n} | The database is not running in read-committed-snapshot isolation. Nama needs it; without it, readers and writers block each other and the whole system feels slow. English only. | A DBA change on the database, not in Nama. The number in the message tells support which level it found. |
| The background processor is not working, please check the server | Raised on a front-end-only server — one set with no-background-processors, which leaves the business requests to a separate background server. Once a minute it calls that server's background-server-url to check that it is alive; the call failed or did not answer "alive". Nothing will be recorded in the ledger or the warehouse until the background server is back. English only. | The most urgent entry on this page. Check that the background server is running and that background-server-url points at it; look at that server's log, and restart it if needed. The message clears itself at the next good check. |
| This server runs in the time zone {0}, while Always Ensure Time Zone in global configuration requires {1}. Saving is refused until the time zone of the server is corrected — «هذا الخادم يعمل بالمنطقة الزمنية {0}، بينما يشترط خيار «التأكد دائما من المنطقة الزمنية» في الإعدادات العامة المنطقة الزمنية {1}. لن يتم حفظ أي بيانات حتى يتم تصحيح المنطقة الزمنية للخادم» | Always Ensure Time Zone names the time zone the database belongs to, and this server runs in another one. Unlike the other entries, this one comes with a refusal: every save on this server fails with the same message, because the times it would record are shifted. | Set the time zone of the server to {1} and restart it — Server Time Zone. The message links to the option, for the rare case where the option is what is wrong: value.info.alwaysEnsureTimeZone |
| The time zone {0} in nama.properties is not a known time zone, so it was ignored and the server runs in {1} — «المنطقة الزمنية {0} المحددة في ملف nama.properties ليست منطقة زمنية معروفة، لذلك تم تجاهلها والخادم يعمل بالمنطقة الزمنية {1}» | The timezone line in nama.properties is misspelled. The server kept the zone named at the end of the message, which is the one Tomcat or Windows gave it. | Correct the name — Server Time Zone lists them — then restart, or run Utilities → Reload Configuration. |
| Folder {0} is almost full, remaining space is less than {1} GB | A folder being watched for free space fell below the threshold. Which folders and which threshold come from Check The Following Folders for Empty Space (CSV) and Warn Users When Empty Space Is Less Than (GB); with nothing configured it watches the system drive. English only. | Free space, or point the watch at the right folders: value.info.foldersToCheckSpace |
| Tomcat logs folder is {0} MB, please review and clean up old log files | The application server's log folder passed 6 GB. Nama deletes the Windows service wrapper's own logs older than five days by itself, but nothing else in that folder. English only. | Clear out the old logs, and set log rotation on the application server. |
| You did not define server id in global configuration, all e-mail, SMS, and Mobile Push notifications will be postponed. | Send Mails And SMS Only From Servers (CSV) is empty. It names which server instance is allowed to send messages, so that a test copy of the database does not e-mail real customers — and while it is empty, nothing is sent at all. English only. | Fill it with this server's id: value.info.sendMailsAndSMSOnlyFromServers |
Backups
Three messages come from one check — the one that makes sure a fresh database backup actually exists:
- Backup folder is not configured in general settings, please fill the Backup Folder field — «لم يتم تحديد مجلد النسخ الاحتياطي في الإعدادات العامة، برجاء تعبئة حقل مجلد النسخ الاحتياطي»
- Backup folder {0} does not exist or is not accessible — «مجلد النسخ الاحتياطي {0} غير موجود أو لا يمكن الوصول إليه»
- There is no backup file from today or yesterday in the backup folder {0} — «لا توجد نسخة احتياطية بتاريخ اليوم أو الأمس في مجلد النسخ الاحتياطي {0}»
Each links straight to the setting it is about, so clicking the message opens Global Configuration with the Backup Folder field in focus:
value.info.backupFolderWhat the check looks for. Nama reads the folder named in Backup Folder, plus up to two levels of sub-folders beneath it, and looks for a file ending in .bak or .dbak that is either named with today's or yesterday's date in YYYYMMDD form, or was last modified since the start of yesterday. If it finds one, nothing is raised.
What to do about each one:
- The first — the field is empty. Open the Attachments and Storage tab of Global Configuration and fill in Backup Folder with the path the backup job writes to.
- The second — the path is filled in but the server cannot reach it. The path is resolved by the application server, not by your own machine: check the spelling, and for a network share check that the Windows account the server runs as can open it.
- The third — the folder is reachable but holds nothing recent. This is the one that matters: it usually means the backup job itself stopped running or started failing. Check the SQL Server maintenance plan (or whichever tool takes the backups) and read its history, then confirm it writes into this folder with a
.bakor.dbakextension.
Do not silence this one lightly
The third message is exactly the warning you want on the day a server dies. Treat it as a broken backup until you have proven otherwise — do not switch the check off to make it go away.
Some sites back up in a way the server cannot see — a storage snapshot, a managed cloud database, an agent that ships files off the machine. There the check has nothing to find and would raise a permanent false alarm, so turn it off deliberately with:
value.info.doNotCheckForBackupExistenceBoth settings are described in Attachments and Storage.
Processing and housekeeping
| Message | What raised it | What to do |
|---|---|---|
| There are {0} failed requests, please contact our support team and provide them the following message: SYSFRQS is {1} — «يوجد {0} مستندات فشلت معالجتها. يرجى التواصل مع الدعم الفني و إبلاغهم بالخطأ التالي: SYSFRQS is {1}» | Business requests are sitting in Processing Failed or Failed By Exception. Documents were saved and their effects never happened. | Open the Business Requests list view, filter by status, read the error on the row, fix the cause, then More → Reprocess or Recommit — Fixing a Failed Business Request explains each message and which of the two to use. The count refreshes itself as the failures clear. |
| There are {0} user notifications which exceeds the limit of {1}, this may affect system performance. Please review and clean up old notifications | The notification table passed its limit — 10,000 unless Max User Notification Count says otherwise. A very large table slows the system for everyone. English only. | Delete the old ones, and set up a scheduled task so it does not come back (below). Or raise the limit: value.info.maxUserNotificationCount |
| There is no next normal fiscal period, please define one — «لا توجد فترة محاسبية عادية تالية للفترة الحالية , برجاء تعريفها» | There is no normal fiscal period starting the day after the current one ends. The check only runs in December, as a reminder to open next year before anybody needs it. | Create the next fiscal year and its periods. |
To keep notifications from piling up again, create a scheduled task of type Action that deletes them by age. This one runs every night at 02:30 and removes everything older than 25 days:
{
"scheduleType" : "Action",
"scheduleInfo" : {
"timeMinute" : "30",
"timeHour" : "2"
},
"hourInfo" : {
"runOnHour0230" : true
},
"sendAsMail" : true,
"className" : "com.namasoft.infor.domainbase.util.actions.EADeleteNotificationsByDuration",
"title1" : "Duration Days (default is 25 days)",
"title2" : "Delete Type (all, readonly) - Default is all",
"actionDescription" : "Deletes notifications older than specified number of days. Delete type: 'readonly' deletes only viewed notifications, 'all' deletes all notifications."
}Duration Days is the age in days; Delete Type is all (the default) or readonly, which deletes only notifications the user has already seen.
Dangerous options that were left switched on
Some options exist for a one-off recovery and are dangerous to leave on. Nama watches five of them and complains for as long as they are enabled. All of these appear in English only.
| Message | What raised it | What to do |
|---|---|---|
| There are fiscal years with AllowCostProcessingWithClosingEntry set to TRUE | At least one fiscal year has Allow Cost, Quantity, and Ledger Processing For Documents Before Closing Entry ticked. By default Nama refuses to change entries dated before the closing entry; with this on, it allows them — which silently changes the financial statements of a closed year. | Open Fiscal Years, untick it on every year that has it, save, then refresh the critical errors. Leave it off except during a deliberate, approved correction. |
| The option {0} in {1} config is enabled, it should be disabled. Please contact our support team. | One of the reprocessing-before-closing-entry options in Global Configuration, or Allow Changing Cost And Quantity Tracking After Item Usage / Allow Overdraft In Stock Transfers in the supply-chain configuration, is on. The message names the option and the configuration, and links to it. | Follow the link, turn the option off, refresh. If it was turned on for a recovery, this message is the reminder to turn it back off afterwards. |
| Debt ages processing of document {0} had to {1} {2} rows; its account/subsidiary debt ages history is huge and slows the ledger queue - consider stopping debt ages tracking for it | One document's debt-age history is so large that processing it is holding up the ledger queue for everybody. | Consider switching debt-ages tracking off for that account or subsidiary — see Accounts. |
Supply chain and cost
| Message | What raised it | What to do |
|---|---|---|
| There are inconsistent transfer costs, please contact customer support - THIS IS URGENT | A consistency check over transfer costs found a mismatch. Checked only where costing is not FIFO. English only. | This one is meant for us, not for the site: it says the cost data itself is wrong, and it needs a cost reprocessing run decided by support. Raise it. |
| The columns currentNetCost and currentNetQty have errors, please contact customer support - THIS IS URGENT | The running cost and quantity totals do not agree with the movements behind them. Nama asks for a repair of the quantity side by itself unless that has been switched off. English only. | Raise it with support; do not run cost utilities on a hunch. |
| There are failed stock ages tasks, please contact customer support | A stock-ages task ended in Failed. Stock-age reports will be wrong or empty until it is re-run. English only. | Look at the failed task, fix the cause, run it again. |
| There are {0} expired sales price list lines for more than {1} days, please review them — «يوجد {0} سطور قوائم أسعار مبيعات منتهية منذ أكثر من {1} يوم. يرجى المراجعة» | More than a thousand price-list lines expired longer ago than the configured number of days. Large dead price lists slow pricing down. | Delete or archive the old lines. The threshold is Number Of Days Of Expired Price List To Show Critical Errors After Them — see Pricing and Price Lists; a negative value switches the check off. |
| You need to recommit the receipt additional cost document {0} because it contains an old bug | A named receipt-additional-cost document was created by an old version whose distribution is known to be wrong. English only. | Open the document named in the message and recommit it. |
Point of sale and e-commerce
| Message | What raised it | What to do |
|---|---|---|
| There are {0} documents type {1} with Errors. Please fix them. — «يوجد عدد مستندات {0} من النوع {1} بها أخطاء. يرجى معالجتها.» | Point-of-sale documents are sitting as drafts. The POS keeps a document that fails validation as a draft rather than losing the sale, so a draft here means a real transaction that never reached the books. | Open each one, fix what it complains about, and commit it. A growing count means the cause is still there. |
| There are {0} undeleted online orders ({1}) older than 12 hours. Please review and process them. — «يوجد {0} طلب أونلاين ({1}) منذ أكثر من 12 ساعة لم يتم حذفها بعد. يرجى مراجعتها ومعالجتها.» | Online-order entries are not being cleared. The check raises it when more than nine thousand entries are older than a day. | Process the backlog, and schedule the clean-up action that deletes old entries. |
| Attribute send-ecommerce-data is not true in nama.properties and magento sites with codes {0} is active — «الخاصية send-ecommerce-data غير مفعلة في nama.properties و مواقع ماجنتو بالأكواد {0} مفعلة» | An e-commerce site record is active but this server is not configured to send data to it — so the shop and the ERP are silently drifting apart. | Either set send-ecommerce-data on the server that should be publishing, or mark the site record inactive. It is normal to see this on a test copy of a live database. |
Purge
These three come from the document purge (Administration → Purge Documents → Purge Configuration). Each one clears itself as soon as the purge moves again. All appear in English only.
| Message | What raised it | What to do |
|---|---|---|
| The purge coordinator has failed {0} time(s) in a row with the error: {1}. No purge can advance and every purge range guard stays up until this is resolved | The step that advances the active purge configurations keeps failing with the error in the message. After three failures in a row (by default) the active configurations are marked failed, with the error written to their Last Run Log. | Fix the cause named in the message or in the Last Run Log, then run the purge configuration again. |
| Purge config {0} (status {1}) has made no progress for {2} minutes. Until it is resumed or fixed the purged period refuses postings, the ledger, inventory, stock ages and debt ages processors stay paused, and the balances and quantities of the already created purge roll-ups are doubled by the sources that are not deleted yet | The oldest active purge configuration has not moved for an hour or more (by default) — failed, paused or stuck. While it stands still the purged period is half done, which is why balances and quantities look doubled. | Open the named purge configuration, read its Last Run Log, fix the cause and resume it. Treat it as urgent: postings and processing wait for it. |
| The purge batch {0} asked to be rescheduled {1} times in a row without processing a single row; it has been stopped as a non-progressing purge batch | A purge step kept asking to run again without ever removing a row, so it was stopped instead of spinning forever. | Raise it with Namasoft support: the step needs investigating before the purge configuration is run again. |
Database schema fixes (Namasoft support only)
These four are shown only to an administrator signed in through the Namasoft CRM. They mean the database still has leftovers that make it bigger and slower than it needs to be. Fixing the first two locks tables for minutes on a large database, and choosing which index to drop needs a developer's review, so none of them is fixed automatically at start-up; the support team runs the fixes outside working hours.
The utility's name at the end of each message is a link. It opens the Utility Runner in a new tab and starts that utility's dry run, which lists what it would fix and changes nothing.
| Message | What raised it | What to do |
|---|---|---|
| {0} tables ({1} MB) still have 255-byte reference columns, run the utility {2} off-hours — «يوجد {0} جدول ({1} ميجابايت) ما زالت أعمدة المراجع فيها بطول 255 بايت، يرجى تشغيل الأداة {2} خارج أوقات العمل» | Tables still store their dimension, author, capability or system entry references in 255 bytes instead of 16. | Run the Reference Column Narrower with the rebuild. |
| {0} origin indexes still cover more columns than they should, run the utility {1} off-hours — «يوجد {0} فهرس أصل ما زال يشمل أعمدة أكثر من اللازم، يرجى تشغيل الأداة {1} خارج أوقات العمل» | Transaction line tables still have origin indexes built over 17 columns instead of one. | Run the Origin Indexes Fixer. |
| {0} indexes ({1} MB) are covered by another index on the same table, review them with the utility {2} — «يوجد {0} فهرس ({1} ميجابايت) يغطيها فهرس آخر على نفس الجدول، يرجى مراجعتها باستخدام الأداة {2}» | Indexes that another index on the same table already serves — often one the support team created by hand that Nama now creates itself under its own name. | Run the Duplicate Index Finder, send its report to the development team, and drop what they mark. |
| {0} tables still have the old index {1}, which only slows down saving, drop it with the utility {2} — «يوجد {0} جدول ما زال فيه الفهرس القديم {1}، وهو لا يفيد إلا في إبطاء الحفظ، يرجى حذفه باستخدام الأداة {2}» | Master file tables still have the old single-column index on the code prefix, which a better index has replaced. | Run the Old Code Prefix Index Dropper. |
All four are checked again whenever the critical errors are refreshed and as soon as one of the utilities finishes a run, so they disappear once nothing is left to fix.
See also
- Messages and Refusals — messages that refuse a save, which these are not
- Business Requests — the failed-requests count, and how to clear it
- General FAQ — other questions from the same corner of the system
- nama.properties — the server keys named here
- Server Time Zone — the two time zone entries, and how to set the zone of a server
- Attachments and Storage — the backup settings