semaphore
semaphore copied to clipboard
Problem: History/Activity time is out of sync/slow
Issue
- Activities took place 9 hours ago however the UI displays it as 4 hours ago
- History has the same issue with the start time
Impact
Web-Frontend (what users interact with)
Installation method
Docker
Database
Postgres
Browser
Brave browser - Version 1.68.134 Chromium: 127.0.6533.88 (Official Build) (64-bit)
Semaphore Version
v2.10.22-e44910d-1721658561
Ansible Version
ansible [core 2.16.9]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/semaphore/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /opt/semaphore/apps/ansible/9.4.0/venv/lib/python3.11/site-packages/ansible
ansible collection location = /home/semaphore/.ansible/collections:/usr/share/ansible/collections
executable location = /opt/semaphore/apps/ansible/9.4.0/venv/bin/ansible
python version = 3.11.9 (main, Apr 14 2024, 13:40:00) [GCC 13.2.1 20231014] (/opt/semaphore/apps/ansible/9.4.0/venv/bin/python3)
jinja version = 3.1.4
libyaml = True
Compose file
services:
semaphore:
container_name: semaphore
restart: unless-stopped
ports:
- 3000:3000
image: semaphoreui/semaphore:latest
environment:
SEMAPHORE_DB_USER: semaphore
SEMAPHORE_DB_PASS: REDACTED
SEMAPHORE_DB_HOST: REDACTED # for postgres, change to: postgres
SEMAPHORE_DB_PORT: 5432 # change to 5432 for postgres
SEMAPHORE_DB_DIALECT: postgres # for postgres, change to: postgres
SEMAPHORE_DB: semaphore
SEMAPHORE_PLAYBOOK_PATH: /tmp/semaphore/
SEMAPHORE_ADMIN_PASSWORD: REDACTED
SEMAPHORE_ADMIN_NAME: fredrik
SEMAPHORE_ADMIN_EMAIL: REDACTED
SEMAPHORE_ADMIN: fredrik
SEMAPHORE_ACCESS_KEY_ENCRYPTION: REDACTED
SEMAPHORE_LDAP_ACTIVATED: 'no' # if you wish to use ldap, set to: 'yes'
SEMAPHORE_LDAP_HOST: dc01.local.example.com
SEMAPHORE_LDAP_PORT: '636'
SEMAPHORE_LDAP_NEEDTLS: 'yes'
SEMAPHORE_LDAP_DN_BIND: 'uid=bind_user,cn=users,cn=accounts,dc=local,dc=shiftsystems,dc=net'
SEMAPHORE_LDAP_PASSWORD: 'ldap_bind_account_password'
SEMAPHORE_LDAP_DN_SEARCH: 'dc=local,dc=example,dc=com'
SEMAPHORE_LDAP_SEARCH_FILTER: "(\u0026(uid=%s)(memberOf=cn=ipausers,cn=groups,cn=accounts,dc=local,dc=example,dc=com))"
TZ: Europe/Stockholm
volumes:
- /etc/localtime:/etc/localtime:ro
Logs & errors
No response
Manual installation - system information
Configuration
{
"mysql": {
"host": "",
"user": "",
"pass": "",
"name": "",
"options": null
},
"bolt": {
"host": "",
"user": "",
"pass": "",
"name": "",
"options": null
},
"postgres": {
"host": "REDACTED:5432",
"user": "semaphore",
"pass": "REDACTED",
"name": "semaphore",
"options": {
"sslmode": "disable"
}
},
"dialect": "postgres",
"port": "",
"interface": "",
"tmp_path": "/tmp/semaphore",
"ssh_config_path": "",
"git_client": "",
"web_host": "",
"cookie_hash": "REDACTED",
"cookie_encryption": "REDACTED",
"access_key_encryption": "REDACTED",
"email_alert": false,
"email_sender": "",
"email_host": "",
"email_port": "",
"email_username": "",
"email_password": "",
"email_secure": false,
"ldap_enable": false,
"ldap_binddn": "",
"ldap_bindpassword": "",
"ldap_server": "",
"ldap_searchdn": "",
"ldap_searchfilter": "",
"ldap_mappings": {
"dn": "",
"mail": "",
"uid": "",
"cn": ""
},
"ldap_needtls": false,
"telegram_alert": false,
"telegram_chat": "",
"telegram_token": "",
"slack_alert": false,
"slack_url": "",
"rocketchat_alert": false,
"rocketchat_url": "",
"microsoft_teams_alert": false,
"microsoft_teams_url": "",
"oidc_providers": null,
"max_task_duration_sec": 0,
"max_tasks_per_template": 0,
"max_parallel_tasks": 0,
"runner_registration_token": "",
"password_login_disable": false,
"non_admin_can_create_project": false,
"use_remote_runner": false,
"runner": {
"api_url": "",
"registration_token": "",
"config_file": "",
"one_off": false,
"webhook": "",
"max_parallel_tasks": 0
},
"global_integration_alias": "",
"apps": null
Additional information
I have no idea how to troubleshoot this. If I can provide any relevant information I'll happily do it.