In some cases, Smarti will not do what you expect it to do. Maybe you have encountered an issue that is already known. If so, this is the place to be for resolving the problem.
Only if the System Requirements are fulfilled, Smarti will work correctly. E.g. in case of too little memory the system will behave in an unexpected way.
Caution
|
Ensure the machine running Smarti has at least 4GB of RAM! |
Caution
|
Ensure your JVM has allocated enough memory for heap space by using the -Xmx4g option.
|
In case of any problems, it is important to know how to analyze your system. Also if you like to report a bug it is quite necessary for other people, willing to help you, that you provide information about your environment and the setup.
Tip
|
Read section System maintenance to learn more about: Logging, Monitoring, System Health, System Info Start/Stop. |
Important
|
Know your system: platform, operating system, runtime environment, software components and release versions. |
If external dependencies of Smarti are not in the class path of the JVM, the system health check:
http://${smarti-host}:${smarti-port}/system/health
will return {"status":"DOWN"}
. Additional there are some errors logged during server startup in main.log
like:
ERROR RequiredProvidersHealthCheck - Missing Processor: 'stanfordNlpProcessor'
ERROR RequiredProvidersHealthCheck - Missing Processor: 'germanTrueCaseExtractor'
If external libs are not in the class path of a running Smarti instance, the system will boot up anyway. For example, if the Stanford NLP libs are missing, the text analysis will not work. In this case Smarti can not analyze conversations correctly and also the suggested messages will not fit.
This problem can be caused by
-
forgotten to download the jars,
-
downloaded the jars to a wrong location
-
insufficient permissions on the file system
-
Download the external libraries
CautionEnsure correct version and make sure they are in the class path.
$ cd ${working-dir}/ext $ wget ${ext-file-name}
-
Check the permissions
CautionEnsure that the user running Smarti has sufficient permissions on the file system.
$ sudo chown -R smarti: /var/lib/smarti/ext $ sudo chmod a+x /var/lib/smarti /var/lib/smarti/ext /var/log/smarti
-
Read more about additional components
NoteRead also section Additional components.