Restore default run states?

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
User avatar
MJN
Posts: 238
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Restore default run states?

Post by MJN » Wed May 15, 2019 5:51 pm

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?

BaseballSS
Posts: 16
Joined: Tue Feb 12, 2019 8:45 pm

Re: Restore default run states?

Post by BaseballSS » Wed May 15, 2019 6:58 pm

Is ZM currently 'RUNNING' or 'STOPPED'? If it is stopped, the start state is available. If it is running, restart and stop are available.

User avatar
MJN
Posts: 238
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: Restore default run states?

Post by MJN » Wed May 15, 2019 8:07 pm

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?)

User avatar
MJN
Posts: 238
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: Restore default run states?

Post by MJN » Thu May 16, 2019 2:11 pm

MJN wrote:
Wed May 15, 2019 8:07 pm
I'll do some digging to see if this is a known issue/bug.
I didn't find anything so have raised a bug report here.

BaseballSS
Posts: 16
Joined: Tue Feb 12, 2019 8:45 pm

Re: Restore default run states?

Post by BaseballSS » Thu May 16, 2019 4:59 pm

Does anything change if you select 'Start' or restart ZM from terminal?

User avatar
MJN
Posts: 238
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: Restore default run states?

Post by MJN » Thu May 16, 2019 5:53 pm

If Zoneminder is (already) running at the time of selecting 'Start', the logs say:

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]
...and it just carries on running.

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]
...and Zoneminder starts.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests