I've just noticed I appear to be missing the 'Stop' and 'Restart' run states in the drop-down on the web GUI. 'Start' is still present, as are the customised states I've set.
How do I restore the missing 'Stop' and 'Restart' states?
Restore default run states?
-
- Posts: 16
- Joined: Tue Feb 12, 2019 8:45 pm
Re: Restore default run states?
Is ZM currently 'RUNNING' or 'STOPPED'? If it is stopped, the start state is available. If it is running, restart and stop are available.
Re: Restore default run states?
Aha, that could well be it.
I note that the web GUI is always reporting my run state as 'Stopped' (even when running) and hence, as you say, it only gives me the 'Start' option in the drop-down.
I'll do some digging to see if this is a known issue/bug. (Does anyone get this with 1.32.3, installed via Isaac's PPA if that's relevent?)
I note that the web GUI is always reporting my run state as 'Stopped' (even when running) and hence, as you say, it only gives me the 'Start' option in the drop-down.
I'll do some digging to see if this is a known issue/bug. (Does anyone get this with 1.32.3, installed via Isaac's PPA if that's relevent?)
-
- Posts: 16
- Joined: Tue Feb 12, 2019 8:45 pm
Re: Restore default run states?
Does anything change if you select 'Start' or restart ZM from terminal?
Re: Restore default run states?
If Zoneminder is (already) running at the time of selecting 'Start', the logs say:
...and it just carries on running.
If Zoneminder was stopped (via the command line) prior to selecting 'Start', then the logs say:
...and Zoneminder starts.
Code: Select all
May 16 18:47:45 rugrat zmpkg[11699]: INF [Command: start]
May 16 18:47:45 rugrat zmpkg[11699]: INF [Sanity checking States table...]
May 16 18:47:45 rugrat zmpkg[11699]: INF [Command: start]
May 16 18:47:45 rugrat zmsystemctl[11705]: INF [Redirecting command through systemctl]
If Zoneminder was stopped (via the command line) prior to selecting 'Start', then the logs say:
Code: Select all
May 16 18:49:52 rugrat zmpkg[11978]: INF [Command: start]
May 16 18:49:52 rugrat zmpkg[11978]: INF [Sanity checking States table...]
May 16 18:49:52 rugrat zmpkg[11978]: INF [Command: start]
May 16 18:49:52 rugrat zmsystemctl[11984]: INF [Redirecting command through systemctl]
May 16 18:49:52 rugrat zmpkg[11989]: INF [Command: start]
May 16 18:49:52 rugrat zmpkg[11989]: INF [Sanity checking States table...]
May 16 18:49:52 rugrat zmpkg[11989]: INF [Command: start]
May 16 18:49:52 rugrat zmdc[12003]: INF [Server starting at 19/05/16 18:49:52]