• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Post upload

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    11
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Foglalt
      last edited by

      Hi!

      There are fine options for post download tasks for finetunes, etc. but I couldnt find any good way for post upload things. I was wondering how to do, for example only, the following: I take automatic notes if a new image is created. It would be nice. Is there any way for it, or I should post a feature request for it? 🙂

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        Just run a snapin task to do those things before the upload.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        F 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          What kind of post upload things do you need?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          F 1 Reply Last reply Reply Quote 0
          • F
            Foglalt @Wayne Workman
            last edited by

            @Wayne-Workman snapins run from will-be-client?

            1 Reply Last reply Reply Quote 0
            • F
              Foglalt @Tom Elliott
              last edited by

              @Tom-Elliott just for a rare example: when colleague creates a new image, i would like to notice it, like the scripts that works for backups, or so. best if fog mechanisms do it, that something on clientside. as far as i know snapins do things on client, from which I would do uploaded image. If that computer is never siwtched on, will never notice from that side.

              If possible the imaging client somehow can help. Is it possible?

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Foglalt
                last edited by

                @Foglalt would an email notice about a completed “image deployment” work?

                I know FOG Trunk uses push-bullet.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                F 1 Reply Last reply Reply Quote 0
                • F
                  Foglalt @Wayne Workman
                  last edited by

                  @Wayne-Workman email notice? well, if no else, can be ok, but not image deployment, image upload! (look, like if i am noticed about all new image creation. if it is somehow noticed, an automating process can backup the new image or the like. for now i dont know any better occasion, but it one 🙂

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @Foglalt
                    last edited by

                    @Foglalt said:

                    @Wayne-Workman email notice? well, if no else, can be ok, but not image deployment, image upload! (look, like if i am noticed about all new image creation. if it is somehow noticed, an automating process can backup the new image or the like. for now i dont know any better occasion, but it one 🙂

                    Oh.

                    Is that all you want to do? Backup your new images?

                    Create a CronTab event to run a script that copies over new directories and never deletes anything.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    F 1 Reply Last reply Reply Quote 1
                    • F
                      Foglalt @Wayne Workman
                      last edited by

                      @Wayne-Workman

                      no 🙂 it was just an example. I was wondering why not post-upload option if post-download exist. normally backups made now with cron actually

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        The post upload isn’t existing because the “upload” is (maybe i’m dumb for thinking like this) the “final” step to get the “MASTER” image. What postupload processing would need to be performed? I could, I suppose, see a use for “pre-upload-scripts” but postupload seems pointless in my eyes.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • F
                          Foglalt
                          last edited by

                          You may be right. For me collecting informations about image creating statistics, doing automation about storage spaces can be done after new images came alive. I can manage it elsewhere, just was wondering if post-upload scripting is possible somehow 🙂

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          225

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project