question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updater service not triggered without user session

See original GitHub issue

When using the hubble-enterprise.timer on the appliance server, statistics are never collated. It seems that when you log off the primary server the updater stops too.

     ___ _ _   _  _      _      ___     _                    _
    / __(_) |_| || |_  _| |__  | __|_ _| |_ ___ _ _ _ __ _ _(_)___ ___
   | (_ | |  _| __ | || | '_ \ | _|| ' \  _/ -_) '_| '_ \ '_| (_-</ -_)
    \___|_|\__|_||_|\_,_|_.__/ |___|_||_\__\___|_| | .__/_| |_/__/\___|
                                                   |_|

Administrative shell access is permitted for troubleshooting and performing
documented operations procedures only. Modifying system and application files,
running programs, or installing unsupported software packages may void your
support contract. Please contact GitHub Enterprise technical support at
enterprise@github.com if you have a question about the activities allowed by
your support contract.
Last login: Thu Dec 21 07:11:59 2017 from [masked-ip-address]
admin@github-primary:~$ journalctl -f --user-unit hubble-enterprise.timer
-- Logs begin at Wed 2017-06-21 20:01:19 UTC. --
Dec 21 06:59:43 github-primary systemd[23519]: Starting Runs Hubble Enterprise updater periodically.
Dec 21 06:59:43 github-primary systemd[23519]: Started Runs Hubble Enterprise updater periodically.
Dec 21 07:11:56 github-primary systemd[23519]: Stopping Runs Hubble Enterprise updater periodically.
Dec 21 07:11:56 github-primary systemd[23519]: Stopped Runs Hubble Enterprise updater periodically.
Dec 21 07:11:59 github-primary systemd[16682]: Starting Runs Hubble Enterprise updater periodically.
Dec 21 07:11:59 github-primary systemd[16682]: Started Runs Hubble Enterprise updater periodically.
Dec 21 07:13:16 github-primary systemd[16682]: Stopping Runs Hubble Enterprise updater periodically.
Dec 21 07:13:16 github-primary systemd[16682]: Stopped Runs Hubble Enterprise updater periodically.
Dec 21 07:16:13 github-primary systemd[22010]: Starting Runs Hubble Enterprise updater periodically.
Dec 21 07:16:13 github-primary systemd[22010]: Started Runs Hubble Enterprise updater periodically.

From the above, I logged in and 07:11:59 and logged out at 07:13:16. Then logged back in at 07:16:13. Seems that you have to remain logged in for the collator to work.

The service collator works fine, but it has to be run manually every day.

Currently running on GHE Version 2.11.4 (but it also did this on GHE Version 2.10) Using hubble-enterprise_0.1.1_all.deb

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mzzmjdcommented, Dec 21, 2017

Yes ran:

systemctl --user enable hubble-enterprise.timer
systemctl --user start hubble-enterprise.timer

As per instructions on README.md

0reactions
pluehnecommented, Jan 3, 2018

I addressed this issue in #72.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Update Install in User Session - Microsoft Community
I'm using a WSUS 3.0 Sp2 server and the WUA_SearchDownloadInstall.vbs tscript to install updates on 2003 X64 SP2 servers.
Read more >
getSession call does not trigger session object update until ...
I'm currently trying to update some page components when the session changes after an onClick-triggered Promise is fulfilled.
Read more >
Starting a new user session from a service - Stack Overflow
From a service I need to start an application in a user session. No human user log on that machine, since it is...
Read more >
Triggering a refresh in the client of another user - Mendix Forum
We tried the following: 1) Create a 'notificationCounter' object that we want to refresh, and associate it to user-session for each logged-in  ......
Read more >
SQL Server : How to disable trigger for an update only for your ...
Now when Samuel does not want want the trigger to execute, they use this: ... only to the current session, so when the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found