Troubleshooting
This section provides the answers to frequently asked questions and helps to fix the most common troubles occuring while installing and maintaining actiTIME v2021.0 and higher.
The ‘Troubleshooting’ section for the previous versions of actiTIME can be found here.
Common Problems:
What package of actiTIME am I using?
At what URL can actiTIME be accessed?
How can I check actiTIME status?
Some elements of actiTIME interfaces do not work properly
Users cannot log in to the actiTIME mobile app
actiTIME does not send email notifications
actiTIME Maintenance – Installation & Upgrade:
I want to configure actiTIME to work via secure connection (HTTPS)
I want to move actiTIME to another server
I want to change configuration settings for actiTIME
I want to use external MySQL server instead of internal
I get a ‘No connection with MySQL server’ error
I get a ‘’log_bin_trust_function_creators’ global variable should be enabled’ error
I get a ‘User declined directory sharing’ error
I get an ‘Access Denied’ error
The time in the actiTIME logs and database dump is incorrect
How can I enable BIOS-level hardware virtualization?
How can I collect data for actiTIME support team?
If you cannot find a solution to your problem, please contact our support team at support@actitime.com.
Common Problems
What package of actiTIME am I using?
To find out what actiTIME package or version you are using, open the ‘Help’ menu in actiTIME and select ‘About your actiTIME’.
Your package and version will be displayed on the ‘Product Info’ tab.
Environment details will be displayed on the ‘System Info’ tab.
At what URL can actiTIME be accessed?
To check the actiTIME URL, run the ‘status.sh’ script from the actiTIME directory.
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./install.sh
The script will display the current status of the actiTIME components and the URL where actiTIME is available. For example:
$ ./status.sh postgresql - OK mysql - OK application - OK actiTIME is started and available at: http://localhost:80/
The URL of your actiTIME installation is formed by the ‘LISTEN_HOST’ and ‘LISTEN_PORT’ parameters which are defined in the ‘user.config’ file in the actiTIME directory during the installation process:
http://LISTEN_HOST:LISTEN_PORT
How can I check actiTIME status?
To check actiTIME status, run the ‘status.sh’ script from the actiTIME directory.
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./install.sh
The script will display the current status of the actiTIME components and the URL where actiTIME is available.
If a component works properly, then the ‘OK’ status will be displayed next to it. For example:
$ ./status.sh postgresql - OK mysql - OK application - OK actiTIME is started and available at: http://localhost:80/
If there are any troubles affecting the actiTIME components, the corresponding notes will be displayed instead of the ‘OK’ status.
Some elements of actiTIME interfaces do not work properly
If some interface elements in your actiTIME are not displayed correctly or do not work properly, make sure you are using a supported browser.
The supported browsers are: the recent versions of Google Chrome, Microsoft Edge, Mozilla Firefox and Safari. Correct operation of actiTIME is not guaranteed in other browsers.
Users cannot log in to the actiTIME mobile app
Error: Cannot Connect to Server / actiTIME server address is invalid / Sync Request Timed Out / Request Timed Out.
Solution: Make sure that the actiTIME account URL is entered correctly and actiTIME is accessible at this address via your web browser.
To check your actiTIME account URL, refer to: At what URL can actiTIME be accessed?
Note: If you want your users to be able to log in to the actiTIME mobile app outside your local network, your actiTIME must also be accessible from the external networks (check your firewall settings).
Error: Incorrect username or password.
Solution: Make sure that the username and password are entered correctly and actiTIME can be accessed via web browser using the same credentials. One can also try using the ‘Forgot your password?’ option or asking the actiTIME administrator to set up a new password.
Error: Cannot Connect to Server. SSL certificate provided by the server is invalid.
Solution: Make sure that all intermediate certificates are included into the SSL certificate chain. For more details, refer to: I want to configure actiTIME to work via secure connection (HTTPS).
actiTIME does not send email notifications
To enable actiTIME to send email notifications, email settings should be configured in the ‘Email Settings’ section of the ‘General Settings’ interface of actiTIME.
Do not specify the 'localhost' and '127.0.0.1' values in the 'Outgoing Mail Server (SMTP)' field - if you do so, the email notifications will not be sent.
Fill in the following mandatory fields:
- Outgoing mail server (SMTP) – name or address of your mail server;
- Port – mail server port (usually 25);
- “From” address for email messages – address from which the notifications will be sent;
- URL of your actiTIME installation – address you use to log in to actiTIME (ex. http://<IP address or computer name>:8080). This address is required to enable links from email messages back to actiTIME;
- Error Processing – email address of your system or network administrator who will be notified if actiTIME detects issues when sending email messages.
If you don’t know what are the correct values, please consult your System or Network Administrator.
actiTIME is not available
If actiTIME is not available:
- Make sure that you are using the right URL to access your actiTIME.
To check your actiTIME URL, refer to: At what URL can actiTIME be accessed? - Make sure that actiTIME components work properly.
To check actiTIME status, refer to: How can I check actiTIME status? - Make sure that Docker service is running.
To run Docker:- for Windows 10+, Windows Server 2019+: start up the Docker Desktop application.
- for Linux distributions: make sure that Docker service is running.
It is advised to configure the necessary applications to run automatically at system startup if possible to keep the Docker service running all the time.
actiTIME works slowly
To improve actiTIME performance, you can try the following options:
- Restart actiTIME.
- Run the ‘stop.sh’ script from the actiTIME directory.
$ ./stop.sh
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./install.sh
- Run the ‘start.sh’ script from the actiTIME directory.
$ ./start.sh
- Run the ‘stop.sh’ script from the actiTIME directory.
- (For Windows) Configure the resources to be used by Docker on your machine – Docker Desktop must be set to use at least 4GB of your host’s RAM (the ‘memory’ parameter).
- If you use WSL 2 backend, refer to this guide.
- If you use Hyper-V backend, refer to this guide.
The more data actiTIME stores, the more RAM Docker Desktop requires.
- Provide the server, where actiTIME is installed, with more RAM.
A minimum of 8GB RAM is required for actiTIME to work properly. The more data actiTIME stores, the more RAM it requires. - If you are using a MySQL server running within a Docker container, try to use an external MySQL Server.
To change the type of server from internal to external, refer to: I want to use external MySQL server instead of internal.
actiTIME Maintenance – Installation & Upgrade
I want to configure actiTIME to work via secure connection (HTTPS)
To configure actiTIME to work via secure connections (HTTPS), define the following parameters in the ‘user.config’ file located in the actiTIME directory:
- HTTPS_ENABLED – HTTPS mode.
- This parameter must be set to ‘true’ value (possible values: true | false).
- SSL_CRT_PATH – path to the SSL certificate file.
- To avoid trust errors such as ‘SSL certificate is invalid’, ‘Your Connection Is Not Private’, ‘Not Secure’, etc., make sure that a complete intermediate certificate chain has been installed. If the authority provides a bundle of chained certificates, they should be concatenated to the signed server certificate. See more details here: SSL Certificate Chains.
- The certificate must be in the PEM format.
- The path must be provided in Unix-style (using forward slashes ‘/’).
- SSL_KEY_PATH – path to the SSL certificate’s key file.
- The path must be provided in Unix-style (using forward slashes ‘/’).
Please note that if the port (the ‘LISTEN_PORT’ parameter) is not specified explicitly in the ‘user.config’ file, then it will be set to ‘443’ value automatically in the HTTPS mode (‘80’ value is the default one in the HTTP mode).
Here is an example of a ‘user.config’ file:
LISTEN_HOST=0.0.0.0 LISTEN_PORT=443 HTTPS_ENABLED=true SSL_CRT_PATH=path/to_cert SSL_KEY_PATH=path/to_key
When properly configured, these parameters form the following URL of your actiTIME installation:
https://LISTEN_HOST:LISTEN_PORT
The settings in the ‘user.config’ file can be applied during the initial actiTIME installation process or later (to change the configuration settings later, refer to: I want to change configuration settings for actiTIME).
I want to move actiTIME to another server
To move actiTIME to another server, follow the instructions below.
If you are currently using a MySQL server running within a Docker container:
- Stop actiTIME.
Run the ‘stop.sh’ script from the actiTIME directory.
$ ./stop.sh
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./stop.sh
- Back up your database on your current server. You will need the backup file later.
- Install actiTIME on your new server.
- Restore the actiTIME database on your new server using the backup file previously created.
- Uninstall actiTIME on your current server.
If you are currently using an external MySQL Server and want to continue using it:
- Stop actiTIME.
Run the ‘stop.sh’ script from the actiTIME directory.
$ ./stop.sh
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./stop.sh
- Back up your database on your current server.
- Install actiTIME on your new server.
When installing actiTIME, set the same connection parameters to the external MySQL server you are currently using in the ‘user.config’ file.Your existing external MySQL server must allow connections from your new server where actiTIME is being installed.
- Uninstall actiTIME on your current server.
Do not uninstall your external MySQL server.
If you are currently using an external MySQL Server and want to use another MySQL server:
- Stop actiTIME.
Run the ‘stop.sh’ script from the actiTIME directory.
$ ./stop.sh
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./stop.sh
- Back up your database on your current server. You will need the backup file later.
- Install actiTIME on your new server.
When installing actiTIME, set the connection parameters to a new external MySQL server in the ‘user.config’ file. - Restore an actiTIME database on your new server using the backup file previously created.
- Uninstall actiTIME on your current server.
After having successfully moved your actiTIME to the new server, do not forget to provide your users with the new link to access actiTIME.
I want to change configuration settings for actiTIME
Configuration settings for actiTIME (URL, database connection parameters, etc.) are defined in the ‘user.config’ file.
To change configuration settings, follow the instructions below.
For actiTIME v2022.0 and higher:
- Run the ‘stop.sh’ script from the actiTIME directory.
$ ./stop.sh
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./stop.sh
- Define new configuration settings (URL, database connection parameters, etc.) in the ‘user.config’ file.
- Run the ‘start.sh’ script from the actiTIME directory.
$ ./start.sh
New settings will be applied to actiTIME.
For the previous versions of actiTIME (up to v2021.1) you will need to reinstall actiTIME completely:
- Uninstall actiTIME.
Do not forget to back up your database prior to uninstalling. - Install actiTIME using the updated ‘user.config’ file where the new parameters (URL, database connection parameters, etc.) are configured.
I want to use external MySQL server instead of internal
For actiTIME v2022.0 and higher:
To change the type of server from internal to external you will have to change configuration settings for actiTIME.
For more details, refer to: I want to change configuration settings for actiTIME.
For actiTIME v2021.0 and v2021.1:
To change the type of server from internal to external you will have to reinstall actiTIME.
- Copy the ‘user.config’ file from the current actiTIME directory to a new directory. You will need this file later.
- Back up your database. You will need the backup file later.
- Uninstall the existing actiTIME version. The Docker environment should be kept intact.
- Install actiTIME in the directory of your choice.
When installing actiTIME:- Insert the ‘user.config’ file copied from your current actiTIME installation directory to the new one. This action allows you to use the same actiTIME configuration you have been using previously.
- Choose using an external MySQL server and set the connection parameters to it in the ‘user.config’ file.
- Restore the actiTIME database using the backup file previously created.
Docker Desktop does not start
Error: Hardware assisted virtualization and data execution protection must be enabled in the BIOS.
Solution: Make sure that the BIOS-level hardware virtualization is enabled in the BIOS settings of your server. For more details, refer to: How can I enable BIOS-level hardware virtualization?
Error: WSL 2 is not installed. Install WSL using this PowerShell script (in an administrative PowerShell) and restart your computer before using Docker Desktop:
Enable-WindowsOptionalFeature -Online -FeatureName
$(“VirtualMachinePlatform”, “Microsoft-Windows-Subsystem-Linux”)
Solution: Make sure that the following Windows features are turned on: ‘Windows Subsystem for Linux’ and ‘Virtual Machine Platform’. You can turn it on using the PowerShell script provided in the error message or turn it on manually using the Control Panel.
In order to do this, go to Control Panel > Programs > Programs and Features > Turn Windows features on or off and turn the ‘Windows Subsystem for Linux’ and ‘Virtual Machine Platform’ features ON. After this, restart your computer for Docker Desktop to work correctly.
Note: If you are using Windows Server 2019+, you have to turn on only the ‘Windows Subsystem for Linux’ feature.
Error: Docker Desktop – Access Denied.
Solution: Docker Desktop displays this error if a Windows user is not part of the ‘docker-users’ group. If your admin account is different from your user account, add your user account to the ‘docker-users’ group. Run Computer Management as an administrator and navigate to Local Users and Groups > Groups > docker-users. Right-click to add the user to the group. Log out and log back in for the changes to take effect.
I get a ‘No connection with MySQL server’ error
Error: No connection with MySQL server on [MYSQL_HOST:MYSQL_PORT]. Review connection parameters.
Solution: Double-check the ‘MYSQL_HOST’ and ‘MYSQL_PORT’ parameters defined in the ‘user.config’ file in the actiTIME directory.
Note: Do not set the ‘MYSQL_HOST’ parameter to the ‘127.0.0.1’ or ‘localhost’ value. On Windows OS, you can use the ‘host.docker.internal’ value instead.
I get a ‘’log_bin_trust_function_creators’ global variable should be enabled’ error
Error: ‘application’ failed with error. ‘log_bin_trust_function_creators’ global variable should be enabled for proper operation of actiTIME. Please refer to actiTIME documentation on the website (Admin Guide – ‘Troubleshooting’ section).
Solution: Allow actiTIME to create stored functions in its database. To do this, run the following query in MySQL under the ‘root’ user account or under any other user account with SUPER privilege:
SET GLOBAL log_bin_trust_function_creators = 1;
Note: If necessary, you can revert this configuration change to the original value after having the required procedure completed (actiTIME installation, actiTIME upgrading, restoring actiTIME database).
I get a ‘User declined directory sharing’ error
Error: Error response from daemon: user declined directory sharing [directory].
Solution: This error may occur after running the start.sh script if you do not give Docker access to the necessary files. Next time when asked to provide Docker with this permission, you should click on the ‘Share it’ button very quickly to provide access or the script will fail again. You may be asked to share files several times.
I get an ‘Access Denied’ error
Error: ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER or SET_USER_ID privilege(s) for this operation.
Solution: Allow connections from any host or at least from ‘host.docker.internal’.
For example, run this command in MySQL:
GRANT ALL PRIVILEGES ON [MYSQL_SCHEMA].* TO '[MYSQL_USER]'@'%' IDENTIFIED BY '[MYSQL_PASSWORD]' WITH GRANT OPTION; FLUSH PRIVILEGES;
where:
- [MYSQL_SCHEMA] – name of a database;
- [MYSQL_USER] – name of the user who has all the necessary rights to administer the database;
- [MYSQL_PASSWORD] – password of the MYSQL_USER.
The time in the actiTIME logs and database dump is incorrect
The time in the actiTIME logs and database dump may differ from your local time zone, as the time in these files is always provided in the UTC format which is used within the Docker container. Currently, this setting cannot be changed.
How can I enable BIOS-level hardware virtualization?
BIOS-level hardware virtualization should be enabled for operating Docker Desktop application on Windows OS. While most recent processors support hardware virtualization, not all computer vendors enable this feature as shipped from the factory.
To learn if the BIOS-level hardware virtualization is enabled on your computer, go to Task Manager > [More details] > Performance tab and check the ‘Virtualization’ feature. For Docker Desktop to operate correctly, this feature must be enabled.
If the ‘Virtualization’ feature is not enabled, try the following:
- Reboot your computer.
- Right when the computer is coming up from the black screen, press Delete, Esc, F1, F2, or F4. Each computer manufacturer uses a different key but it may show a brief message at boot telling you which one to press. If you miss it the first time, reboot and try again. It helps to tap the key about twice a second when the computer is coming up. If you are not able to enter the BIOS via this method, consult your computer manual.
- In the BIOS settings, find the configuration items related to the CPU. These can be under the headings Processor, Chipset, or Northbridge.
- Enable virtualization; the setting may be called VT-x, AMD-V, SVM, or Vanderpool. Enable Intel VT-d or AMD IOMMU if the options are available.
- Save your changes and reboot.
If you are unable to find the Virtualization settings in your BIOS, it may mean that your processor does not support them. For Intel processors you can try to check it using Intel Processor Identification Utility.
How can I collect data for actiTIME support team?
actiTIME support team may ask you to provide some additional information on your installation and system to resolve your issue as soon as possible.
Additional information can be collected in either way:
- Automatically
To collect data automatically, run the ‘collect-support-data.sh’ script from the actiTIME directory.$ ./collect-support-data.sh
Running shell scripts (.sh files) in Windows requires Git for Windows to be installed.
To run a script in Windows: - Go to the actiTIME installation folder. - Right-click inside the actiTIME installation folder and click the ‘Git Bash Here’ option. Git terminal will be opened. - Type into the Git terminal the ‘./’, the script name, the file extension (without spaces) and press Enter on the keyboard. For example:$ ./install.sh
The script will create an archive (‘support_data_[Date].tar.gz’) with the necessary information.
Send this archive to actiTIME support team for further investigation.Automatic collection is available in the most recent actiTIME versions only.
If there is no 'collect-support-data.sh' script in the actiTIME directory, then you should collect the data manually. - Manually
- Name of the directory actiTIME is installed / is being installed into (for example, C:\Users\smith\Desktop\actitime);
- Version of actiTIME installed / being installed (for example, 2022.0);
- Previous version of actiTIME if you are trying to upgrade it (for example, 2019.1);
- Operating system (for example, Windows 10 Professional build 19043);
- If applicable, all error files (files with a ‘.err’ file extension);
- If applicable, the ‘user.config’ file;
- If applicable, the ‘actitime.config’ file from the ‘/work’ directory;
The following data should be collected manually:
Send all collected information and files to the actiTIME support team for further investigation.