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

Snapin unable to deploy

Scheduled Pinned Locked Moved Solved
FOG Problems
7
27
12.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.
  • H
    Hanz @Tom Elliott
    last edited by Oct 23, 2015, 4:50 PM

    @Tom-Elliott I was given an invalid random ftp password again from installer “/” character will error a lot of things out.

    1 Reply Last reply Reply Quote 1
    • T
      Tom Elliott
      last edited by Oct 23, 2015, 7:52 PM

      I don’t follow. The / should not error anything out. We are using single quote so there is no escaping of characters that should be happening.

      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
      • H
        Hanz
        last edited by Oct 23, 2015, 9:31 PM

        Sorry, they’re all master nodes, for each school, in it’s own group…I can only assume that the passwords were correct on all machines. Im 99% sure all nodes were double checked by removing and re-adding to .fogsettings then re-installing, and then fog user passwd updated, then GUI node password verified. The only thing I did was replace the “/” in the password with “1” and doing the afforementioned and it all worked correctly, immediately.

        I think it might be worth looking into, since User passwords are mitigated to the eligible characters (could be global)

        1 Reply Last reply Reply Quote 1
        • H
          Hanz
          last edited by Oct 23, 2015, 9:36 PM

          This thread can probably be closed now…I appreciate your gentlemen’s help. I think the ftp wasn’t working correctly as @Uncle-Frank mentioned. Snapins are now functioning correctly.

          1 Reply Last reply Reply Quote 1
          • M
            mp12
            last edited by Feb 12, 2016, 11:36 AM

            Problem manually solved.
            I also had a generated password with a “/”. When I tried to deploy a snapin, it failed with the same error @Hanz described.
            A login with an an ftp-client redirected me into the users home directory. I changed “/” into a different character (passwd and GUI) and the ftp-client redirected me into /opt/fog/snapins.
            Snapins now work without an error!

            W 1 Reply Last reply Feb 12, 2016, 1:23 PM Reply Quote 1
            • W
              Wayne Workman @mp12
              last edited by Feb 12, 2016, 1:23 PM

              @mp12 so we should not allow passwords with slashes?

              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/

              M 1 Reply Last reply Feb 12, 2016, 1:34 PM Reply Quote 0
              • M
                mp12 @Wayne Workman
                last edited by Feb 12, 2016, 1:34 PM

                @Wayne-Workman maybe someone can reproduce the error, by creating a password with a “/” to eliminate individual mistakes from my site?

                W 1 Reply Last reply Feb 12, 2016, 3:07 PM Reply Quote 0
                • W
                  Wayne Workman @mp12
                  last edited by Feb 12, 2016, 3:07 PM

                  @mp12 Do you think it could be possible that the password was simply set incorrectly somewhere and you resetting it fixed it? I think this is the most plausible reason why it was fixed.

                  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/

                  M 2 Replies Last reply Feb 12, 2016, 3:13 PM Reply Quote 0
                  • M
                    mp12 @Wayne Workman
                    last edited by Feb 12, 2016, 3:13 PM

                    @Wayne-Workman maybe. I’ll check this on monday.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mp12 @Wayne Workman
                      last edited by Feb 15, 2016, 1:43 PM

                      @Wayne-Workman just replicated the error.

                      Reconfigured the password in GUI and passwd with a “/”.

                      –> “Failed to find snapin file”

                      Reconfigured the password in GUI and passwd without a “/”.

                      –> Works like a charm!

                      I tried with installed FogClient and with the FogClient Debugger.

                      W 1 Reply Last reply Feb 15, 2016, 6:00 PM Reply Quote 0
                      • W
                        Wayne Workman @mp12
                        last edited by Feb 15, 2016, 6:00 PM

                        @mp12 Thanks for testing, now we know. @Developers thoughts?

                        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/

                        1 Reply Last reply Reply Quote 0
                        • W
                          Wolfbane8653 Developer @Hanz
                          last edited by Feb 15, 2016, 6:52 PM

                          “/” are a curse! Who uses “/” in passwords!

                          W T 2 Replies Last reply Feb 15, 2016, 7:14 PM Reply Quote 0
                          • W
                            Wayne Workman @Wolfbane8653
                            last edited by Feb 15, 2016, 7:14 PM

                            @Wolfbane8653 They get auto-generated by the installer.

                            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/

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott @Wolfbane8653
                              last edited by Feb 15, 2016, 7:19 PM

                              @Wolfbane8653 Apparently my scripts add them sometimes as it’s a randomly generated cryptographically secure script.

                              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
                              • T
                                Tom Elliott
                                last edited by Feb 15, 2016, 7:19 PM

                                I’ve updated the code base to urlencode the passwords and decode them once in the FTP class. I don’t know if it will fix the issue at hand, but it’s worth a shot.

                                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
                                • 1
                                • 2
                                • 2 / 2
                                • First post
                                  Last post

                                238

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project