Bug 8104 - License graphs assume crond is installed
Summary: License graphs assume crond is installed
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Linux
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 12:23 CET by Alexander Zeijlon
Modified: 2023-02-21 14:31 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments
View of the Status->Licenses menu without crontab running the script. (32.64 KB, image/png)
2023-02-21 12:23 CET, Alexander Zeijlon
Details

Description Alexander Zeijlon cendio 2023-02-21 12:23:07 CET
Created attachment 1106 [details]
View of the Status->Licenses menu without crontab running the script.

During the installation of ThinLinc server, there is no check for if crontab is installed. We depend on crontab for updating the license usage graphs in Web Admin, since we use it for running the script tl-collect-licensestats.

Without the cronjob running, we get no graphs. See attachment.
Comment 1 Alexander Zeijlon cendio 2023-02-21 14:26:35 CET
The resulting error of not running the cronjob can be seen in /var/log/tlwebadm.log:
ERROR: opening '/var/opt/thinlinc/statistics/users-licenses.rrd': No such file or directory

The missing file users-licenses.rrd gets created by tl-collect-licensestats when it runs.

Note You need to log in before you can comment on or make changes to this bug.