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

Cron job question #452

Closed
torabi12 opened this issue Jan 11, 2023 · 0 comments · Fixed by #453
Closed

Cron job question #452

torabi12 opened this issue Jan 11, 2023 · 0 comments · Fixed by #453
Assignees
Labels
bug Something isn't working Installation Installation issues

Comments

@torabi12
Copy link

torabi12 commented Jan 11, 2023

Describe the bug

  • After emba installation I copied the emba_updater script to /etc/cron.daily folder and the manual execution was fine.
    I restarted the VM and I tried it again. By default mongod.service is not running after reboot I have to do an emba scan or I have to start it manually.
    I would like to ask if it is possible to start the service in the emba_updater file, so that the database can be updated even if no test has been run on the machine, or if the mongod has not been started manually?
    I may be wrong, but it seems that daily updates do not work if the service is not started manually.

  • Another minor finding is about pyppeteer package. I put the last screenshot about it, please ignore if it is not important.

To Reproduce
Steps to reproduce the behavior:

  1. EMBA installation (default mode)
  2. Start emba_updater (works)
  3. reboot
  4. Start emba_updater (don't work)
  5. See error

Expected behavior
The script should work regardless of the test run.

Screenshots
After reboot:

kép

Service started manually:

kép

Dependency warning:

kép

Desktop (please complete the following information):

  • OS: e.g. Kali Linux 2022.04
  • EMBA version: current master branch
  • Installation method: default with up to date docker image
@m-1-k-3 m-1-k-3 added bug Something isn't working Installation Installation issues labels Jan 12, 2023
@m-1-k-3 m-1-k-3 self-assigned this Jan 12, 2023
@m-1-k-3 m-1-k-3 mentioned this issue Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Installation Installation issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants