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

    How To: Make progress bars appear for multiple-partition tasks

    Scheduled Pinned Locked Moved
    FOG Problems
    11
    43
    22.3k
    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.
    • S
      smshahan
      last edited by

      [quote=“The Dealman, post: 13235, member: 53”]Do you have this working?[/quote]

      Haven’t fully tested my changes out but I’ll get back to you possibly Wednesday if I get this working. I’ve been busy with another fog server.

      1 Reply Last reply Reply Quote 0
      • S
        smshahan
        last edited by

        [quote=“The Dealman, post: 13235, member: 53”]Do you have this working?[/quote]

        Okay. Its working now.

        This is what I did. Logged in via putty and did the following.
        [LIST]
        []cd /tftpboot/fog/images
        [
        ]gunzip init.gz
        []mkdir initmountdir
        [
        ]mount -o loop init initmountdir
        [/LIST]
        Connected via WinSCP and navigated to /tftpboot/fog/images/initmountdir/bin

        What I did was simply copy the new fog file ( that was shared) over to the location of my old one( /tftpboot/fog/images/initmountdir/bin) and overwrote that file. I also made a copy of my old fog file just in case it didn’t work.

        After that I went back to putty and did the following.

        [LIST]
        []cd /tftpboot/fog/images
        [
        ]umount initmountdir/
        []rmdir initmountdir
        [
        ]gzip init
        [/LIST]
        For some reason if I tried copying just the code from the new to the old it would either reboot continuously or give me a big blank nothing. There is a missing step I’m sure in that list or maybe a semicolon out of place.

        1 Reply Last reply Reply Quote 0
        • T
          The Dealman
          last edited by

          You used these files? [url]http://fogproject.org/forum/attachments/fog-zip.321/[/url]

          Fog 1.5.9 running currently on all servers

          1 Reply Last reply Reply Quote 0
          • S
            smshahan
            last edited by

            [quote=“The Dealman, post: 14130, member: 53”]You used these files? [url]http://fogproject.org/forum/attachments/fog-zip.321/[/url][/quote]

            Yes.

            1 Reply Last reply Reply Quote 0
            • T
              The Dealman
              last edited by

              [quote=“smshahan, post: 14131, member: 2574”]Yes.[/quote]

              ok i will that shot & report back the results

              Fog 1.5.9 running currently on all servers

              1 Reply Last reply Reply Quote 0
              • J
                jbrabhamMSD
                last edited by

                I tried both manually editing the file and copying the file over from the forum and in both cases, fog starts looping when trying to deploy an image. I am running .32

                1 Reply Last reply Reply Quote 0
                • S
                  smshahan
                  last edited by

                  [quote=“jbrabhamMSD, post: 24125, member: 22901”]I tried both manually editing the file and copying the file over from the forum and in both cases, fog starts looping when trying to deploy an image. I am running .32[/quote]

                  Did you reboot the server after you replaced the fog file and gziped the init file ?

                  1 Reply Last reply Reply Quote 0
                  • J
                    jbrabhamMSD
                    last edited by

                    I just tried that. Didn’t help.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jduawa
                      last edited by

                      [quote=“jbrabhamMSD, post: 24130, member: 22901”]I just tried that. Didn’t help.[/quote]

                      I could not get this to work either. I made the changes to the fog file but still do not have a progress bar with a multiple partition image. Did you ever get it figured out? I am using ver 0.32

                      1 Reply Last reply Reply Quote 0
                      • C
                        chad-bisd Moderator
                        last edited by

                        Is this multiple partition, single disk, and is it upload or download task that is not showing, or both?


                        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                        1 Reply Last reply Reply Quote 0
                        • J
                          jduawa
                          last edited by

                          [quote=“chad-bisd, post: 33910, member: 18”]Is this multiple partition, single disk, and is it upload or download task that is not showing, or both?[/quote]

                          It is a windows 7 multiple partition deploy task that does not show i dont think i looked at an upload task.
                          Thanks

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

                            Multipartition imaging in 0.32 never showed progress bars natively.

                            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
                            • J
                              jduawa
                              last edited by

                              [quote=“Tom Elliott, post: 33912, member: 7271”]Multipartition imaging in 0.32 never showed progress bars natively.[/quote]

                              I was under the impression that the code (fog file) in this thread fixed that.

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

                                I don’t know if it did or didn’t. Did you edit the files yourself or use the files provided in the link?

                                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
                                • J
                                  jduawa
                                  last edited by

                                  [quote=“Tom Elliott, post: 33914, member: 7271”]I don’t know if it did or didn’t. Did you edit the files yourself or use the files provided in the link?[/quote]

                                  I used the file in the link because when i tried editing myself it went into a reboot loop; something about the S99fog not being able to find /bin/fog

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    chad-bisd Moderator
                                    last edited by

                                    I updated the file manually and it works for me. I have progress bars on multiple partition, single disk deploy tasks. You probably had a small syntax error, like putting in or leaving out a / or a something.


                                    If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jduawa
                                      last edited by

                                      [quote=“chad-bisd, post: 33916, member: 18”]I updated the file manually and it works for me. I have progress bars on multiple partition, single disk deploy tasks. You probably had a small syntax error, like putting in or leaving out a / or a something.[/quote]

                                      Any chance you can pm me the file you used?

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        chad-bisd Moderator
                                        last edited by

                                        Here it is. It’s around line 450, and there are comments. Mine may have some other changes in it, but they are unrelated and do not affect this functionality.

                                        [url=“/_imported_xf_attachments/1/1194_fog.progressbar.txt?:”]fog.progressbar.txt[/url]


                                        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          chad-bisd Moderator
                                          last edited by

                                          make sure if you copy it over, that you check file ownership and permissions before you gzip. You may need to chown and chmod to make it match the other scripts.


                                          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            jduawa
                                            last edited by

                                            Than[quote=“chad-bisd, post: 33921, member: 18”]make sure if you copy it over, that you check file ownership and permissions before you gzip. You may need to chown and chmod to make it match the other scripts.[/quote]
                                            Thank you for all of your work on FOG

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

                                            261

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project