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

    New client some snapins doesn't work, ok with legacy client

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    27
    10.9k
    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.
    • C
      Claude Girard @Wayne Workman
      last edited by

      @Wayne-Workman Yes, maybe.
      But this command line is the one generated by new fog client.
      I don’t know why this space is in bad place, but this command line, when executed in a terminal window, give an error.
      with a space before C:\tmp, no more error.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        Looking at the source code I find that the spaces are set correct. Although I am not that good at C# code. Take a look yourself: https://github.com/FOGProject/fog-client/blob/dev/Modules/SnapinClient/SnapinClient.cs#L177

        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
          Joe Schmitt Senior Developer
          last edited by Joe Schmitt

          @Claude-Girard
          This is a bug that is fixed in my nightly builds (as seen by @Uncle-Frank 's link). For now you should be able to add a space infront of
          “C:\tmp” in your “Snapin Arguments” field. Hopefully that should serve as a hot-fix.

          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.

          C 1 Reply Last reply Reply Quote 1
          • C
            Claude Girard @Joe Schmitt
            last edited by

            @Jbob said:

            @Claude-Girard
            This is a bug that is fixed in my nightly builds (as seen by @Uncle-Frank 's link). For now you should be able to add a space infront of
            “C:\tmp” in your “Snapin Arguments” field. Hopefully that should serve as a hot-fix.

            I have already tried to add space before argument, but it is ignored, maybe because of html interpretation ?

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

              I have to double check, but I’m pretty sure I added the same type of code sanitization to the run with, file, run with args fields as I do with printers. I won’t solve this until I am certain. This does not mean all bad entries from before will automatically work, but it should be fixed after updating.

              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

              C 1 Reply Last reply Reply Quote 0
              • C
                Claude Girard @Tom Elliott
                last edited by

                @Tom-Elliott said:

                I have to double check, but I’m pretty sure I added the same type of code sanitization to the run with, file, run with args fields as I do with printers. I won’t solve this until I am certain. This does not mean all bad entries from before will automatically work, but it should be fixed after updating.

                Hi Tom

                I think it isn’t solved.
                I don’t know if it’s like in:
                https://forums.fogproject.org/topic/5931/rev-4932-snapins-parameters-with-in-command-not-correct-in-database/9

                But in advanced pxe menu, when I write what you can see in screen captures, escape characters and accentued french characters are badly saved in database tables.

                I think all these symptoms are linked, and caused by bad locales ? (my server is UTF8) or by escaped characters interpreted by PHP ?

                Thanks again for your work.
                Screen captures are from rev 5273

                In FOG Gui:

                Capture d’écran_2015-11-09_12-10-52.png

                In database:

                Capture d’écran_2015-11-09_12-09-52.png

                1 Reply Last reply Reply Quote 0
                • C
                  Claude Girard
                  last edited by

                  Bad screen capture in previous post

                  In database:

                  Capture d’écran_2015-11-09_12-09-52.png

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

                    @Claude-Girard what’s the advanced file actually show? Does it display with the escaped code, or as the actual characters.

                    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

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      Claude Girard @Tom Elliott
                      last edited by

                      @Tom-Elliott said:

                      @Claude-Girard what’s the advanced file actually show? Does it display with the escaped code, or as the actual characters.

                      As you can see, && become &amp&amp in database, d’ become d&#039

                      If I modify directly in database and save it, in FOG Gui all seems ok, characters are ok.

                      But if I save PXE Menu from Gui, after that in database characters are with escaped code again

                      Tom ElliottT 2 Replies Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Claude Girard
                        last edited by

                        @Claude-Girard I’m still confused. What does the advanced menu have to do with snapins?

                        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

                        C 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @Claude Girard
                          last edited by

                          @Claude-Girard Beyond that, what does the advanced menu show when you go to it in browser?

                          http://ip.of.fog.srv/fog/service/ipxe/advanced.php

                          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

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Claude Girard @Tom Elliott
                            last edited by

                            @Tom-Elliott said:

                            @Claude-Girard I’m still confused. What does the advanced menu have to do with snapins?

                            Nothing to do with snapins, but I understood when you reopened issue, that it was a similar problem than :
                            https://forums.fogproject.org/topic/5931/rev-4932-snapins-parameters-with-in-command-not-correct-in-database/9

                            Maybe I am wrong but isn’t it the same problem when you say:
                            “I’m pretty sure I added the same type of code sanitization to the run with, file, run with args fields as I do with printers.”

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

                              @Claude-Girard I found and believe I have fixed the issue (for all items fingers crossed).

                              I just pushed it to the wild too.

                              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

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                Claude Girard @Tom Elliott
                                last edited by

                                @Tom-Elliott said:

                                @Claude-Girard Beyond that, what does the advanced menu show when you go to it in browser?

                                http://ip.of.fog.srv/fog/service/ipxe/advanced.php

                                It shows escaped codes

                                1 Reply Last reply Reply Quote 0
                                • C
                                  Claude Girard @Tom Elliott
                                  last edited by

                                  @Tom-Elliott said:

                                  @Claude-Girard I found and believe I have fixed the issue (for all items fingers crossed).

                                  I just pushed it to the wild too.

                                  Thank you and sorry for confusing you, maybe my english is too bad 🙂

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

                                    I wasn’t confused about the language, I was confused what Advanced menu had to do with snapins, but ultimately it didn’t matter really. I understood what you were getting at and I was able to make the corrects to ensure things operated properly. Hopefully it’s much better for all things.

                                    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

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      Claude Girard @Tom Elliott
                                      last edited by

                                      @Tom-Elliott said:

                                      I wasn’t confused about the language, I was confused what Advanced menu had to do with snapins, but ultimately it didn’t matter really. I understood what you were getting at and I was able to make the corrects to ensure things operated properly. Hopefully it’s much better for all things.

                                      Yes but better english = better explanations !!!
                                      Did you push these corrects on github ?
                                      I just upgraded rev 5283 and i don’t notice any change.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Joe Schmitt Senior Developer
                                        last edited by

                                        @Claude-Girard v0.9.6 is released, and this includes the snapin fix for the problem you originally posted on. (https://news.fogproject.org/client-v0-9-6/ )

                                        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.

                                        C 1 Reply Last reply Reply Quote 1
                                        • C
                                          Claude Girard @Joe Schmitt
                                          last edited by

                                          @Jbob said:

                                          @Claude-Girard v0.9.6 is released, and this includes the snapin fix for the problem you originally posted on. (https://news.fogproject.org/client-v0-9-6/ )

                                          Thank you.
                                          I just tested and for me it’s ok.
                                          You can mark this thread solved, but I will open a new one for the others problems, discussed with Tom, they are’nt solved.
                                          And I found a snapin bug again, but not due to client.

                                          Thanks again

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

                                          155

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project