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

    not possible to edit snapin

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    16
    3.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.
    • P
      pmonstad @Tom Elliott
      last edited by

      @Tom-Elliott apache error log says: PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 104, Message: ftp_login(): Login incorrect.’ in /var/www/html/fog/lib/fog/fogftp.class.php:51\nStack trace:\n#0 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(209): FOGFTP->connect()\n#1 [internal function]: SnapinManagementPage->edit()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(67): call_user_func(Array)\n#3 /var/www/html/fog/management/index.php(24): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 51, referer: http://192.168.68.254/fog/management/index.php?node=snapin

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

        @pmonstad Please check your FOG’s ftp information.

        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

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

          See here: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

          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 1
          • P
            pmonstad @Tom Elliott
            last edited by

            @Tom-Elliott I cannot find any missing ftp information. My server has worked perfectly until a svn update recently. I cannot say which svn version worked OK.

            Now I suddenly get an error while uploading an image. See screenshot. Seems to be a ftp issue. Can this be related to the snapin problem?0_1458048558698_IMAG0789.jpg

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

              I had to give the fog user the password once again: passwd fog I have no idea why this was necessary as I have not done anything on the server except updating/installing the svn version.

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @pmonstad
                last edited by

                @pmonstad Did you read the Troubleshoot_FTP article?

                Yes, changes are made. You’re running trunk. While I try my hardest not to break things, sometimes it makes more sense to break one little thing for the betterment of all.

                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
                • Wayne WorkmanW
                  Wayne Workman @pmonstad
                  last edited by

                  @pmonstad said:

                  I had to give the fog user the password once again: passwd fog

                  Sounds like your password is incorrectly set inside of the /opt/fog/.fogsettings file. If it’s incorrect in there, then yes the installer will set the fog user’s password with this incorrect password every time you install fog. This is one of the things listed in the Troubleshoot FTP article that Sebastian posted.

                  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
                  • Tom ElliottT
                    Tom Elliott @pmonstad
                    last edited by

                    @pmonstad Any update? Is it now fixed? I know what “caused” the issue, but I don’t know if your troubleshooting as per our attempts to assist have been fruitful yet.

                    Like I said, sometimes I make changes and sometimes it inadvertently breaks things. (Sometimes it is on purpose in which case I try to make a posting about what it’s going to break.)

                    As @Wayne-Workman stated, the installer now reset’s the password per the .fogsettings file every install. If it’s not set properly there, it will change it and would cause the problem. This is specific to the linux fog user as that’s what FTP uses to login.

                    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
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      Anything? Anything at all?

                      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

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        mp12 @Tom Elliott
                        last edited by mp12

                        @Tom-Elliott same problem. Double checked passwords.

                        Using WinSCP as ftp client connection to ftp works and I can see the snapins.
                        Using Linux cmdline the ftp server redirects me to the users home directory.

                        fog r6809

                        Here the error I get when trying to edit snapins in browser.

                        [Fri Mar 18 13:41:20.467648 2016] [:error] [pid 16486] [client x.x.x.x:60355] PHP Fatal error:  Call to a member function chdir() on null in /var/www/fog/lib/fog/fogbase.class.php on line 73
                        
                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @mp12
                          last edited by

                          @mp12 Please try the latest.

                          I moved the ftpfiles only to the snapin management page rather than make it a fog base element in an attempt to see if that helps correct the error.

                          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

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mp12 @Tom Elliott
                            last edited by

                            @Tom-Elliott running r6815 now.

                            Creating and editing snapins works fine now.

                            Thanks!

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

                            172

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project