Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPM2: PID file exists on commands run for midnight run #19

Open
JimCircadian opened this issue Apr 24, 2024 · 0 comments
Open

LPM2: PID file exists on commands run for midnight run #19

JimCircadian opened this issue Apr 24, 2024 · 0 comments

Comments

@JimCircadian
Copy link
Member

With the rollover at midnight, the scheduler reinitialises. Somehow, the initialisation commands were not rerun in sequence, but one of them actually errored out with PID file exists already. Worth checking the logs to ascertain how that happened!

Downloaded: 0 of 130 files
Last log:  - temp internal_temp=51.4472

:GPS 2024-03-26.dat

/data/lpm/data/2022-11-14.log:2022-11-14T06:53:59.10928 GPS: 2022-11-14T06:54:26, [[REDACTED]]'N, [[REDACTED]]'W

:DATA 2024-03-26.dat


:BATT

Traceback (most recent call last):
  File "/usr/local/bin/lpm2_housekeeping", line 9, in <module>
    load_entry_point('lpm2==0.0.4a2', 'console_scripts', 'lpm2_housekeeping')()
  File "/usr/local/lib/python3.2/dist-packages/lpm2/cli.py", line 93, in housekeeping_main
    main("housekeeping")
  File "/usr/local/lib/python3.2/dist-packages/lpm2/cli.py", line 81, in main
    with pid_file(os.path.join(os.sep, "tmp", "lpm2.data.cli.pid")):
  File "/usr/local/lib/python3.2/dist-packages/lpm2/utils.py", line 48, in __init__
    raise PidFileExistsError
lpm2.utils.PidFileExistsError
ok - Completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant