Code Monkey home page Code Monkey logo

autopilot's People

Contributors

luddinho avatar rkulow avatar toafez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rkulow luddinho

autopilot's Issues

Hyper Backup task could stuck when device is not ready at the moment when script triggers its execution

AutoPilot v1.1-100

In some rare situations it could happen that the triggered Hyper Backup task could stuck.
It seems to be a problem when firing HB tasks from the command line directly after a device has been mounted and the target is not ready.

After the while loop to determine the mount point, the script is immediately invoked to start either a custom job or a predefined Hyper Backup task.

If the script starts a Hyper Backup task there is no check if the target is ready.

If this issue occurs, the following message will show in Hyper Backup task config from the GUI. But AutoPilot will finish successfully.

image

The intermediate solution is to set an explicit wait time after the mount point has been determined to ensure the target is ready to start a Hyper Backup task.
Proposal is available on local branch and PR for this issue will follow soon.

Bereinigung läuft endlos - Festplatte wird nicht ausgeworfen

Hallo Tommes,
vielen Dank für deine Arbeit!

Ich habe leider Probleme, vllt. kannst du helfen. AutoPilot wird nicht fertig und wirft die externe USB Festplatte nicht aus.

Folgendes ist im Log zu sehen (nach Bereinigung läuft, geht es nicht weiter):

Sicherung wurde gestartet
Warte 30 Sekunden um sicherzugehen, dass das Sicherungsziel zur Verfügung steht
Suche maximal 30 Sekunden nach der Prozesskennung (PID) der Sicherung
Die Prozesskennung (PID) der Sicherung lautet: 12711
Sicherung abgeschlossen
Dauer der Sicherung: 0h:9m:21s

Suche maximal 30 Sekunden nach der Prozesskennung (PID) der Bereinigung
Die Prozesskennung (PID) der Bereinigung lautet: 24472
24492
Bereinigung läuft

Evaluation of disk space will fail when device has already unmounted due to Hyper Backup Task

AutoPilot v1.1-100

There is a configuration option in Hyper Backup for USB devices to eject the disk after task has successfully finished.

image

If this is checked, it could happen that the evaluation of the disk space will fail and report wrong information in the log.

e.g. In this case the expected report should be:

Speicherplatznutzung: 8.3 TB von 11 TB frei.

when device has been removed already from Hyper Backup the result is:

Speicherplatznutzung: 586 MB von 2.3 GB frei.

If the disk has been already unmounted the command $(df -h "${mountpoint}") will fetch the informatin of the mountpoint without active mount on this.

The idea is to determine the disk space only if the mount point still exists after script execution.
Proposal is available on local branch and PR for this issue will follow soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.