• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
    last edited by Mar 14, 2016, 12:48 PM

    Hitting a snapin name or edit icon does not work. A white page and an error in the browser console:
    “NetworkError: 500 Internal Server Error - http://192.168.68.254/fog/management/index.php?node=snapin&sub=edit&id=1”

    P C T 3 Replies Last reply Mar 14, 2016, 12:48 PM Reply Quote 0
    • P
      pmonstad @pmonstad
      last edited by Mar 14, 2016, 12:48 PM

      @pmonstad : svn 6711

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Mar 14, 2016, 1:23 PM

        What’s in the error logs?

        I ask all this because I cannot replicate.

        I’m able to edit, and create snapins perfectly fine.

        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 Mar 15, 2016, 12:27 PM Reply Quote 0
        • C
          ch3i Moderator @pmonstad
          last edited by Mar 15, 2016, 7:35 AM

          @pmonstad said:

          Hitting a snapin name or edit icon does not work. A white page and an error in the browser console:
          “NetworkError: 500 Internal Server Error - http://192.168.68.254/fog/management/index.php?node=snapin&sub=edit&id=1”

          Hi, can you try in private mode with your web browser (maybe a cache problem).

          1 Reply Last reply Reply Quote 0
          • P
            pmonstad @Tom Elliott
            last edited by Mar 15, 2016, 12:27 PM

            @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

            T 1 Reply Last reply Mar 15, 2016, 12:28 PM Reply Quote 0
            • T
              Tom Elliott @pmonstad
              last edited by Mar 15, 2016, 12:28 PM

              @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 Mar 15, 2016, 2:02 PM Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Mar 15, 2016, 1:15 PM

                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 Mar 15, 2016, 2:02 PM

                  @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

                  T 1 Reply Last reply Mar 15, 2016, 2:04 PM Reply Quote 0
                  • P
                    pmonstad
                    last edited by Mar 15, 2016, 2:04 PM

                    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.

                    W 1 Reply Last reply Mar 15, 2016, 2:19 PM Reply Quote 0
                    • T
                      Tom Elliott @pmonstad
                      last edited by Mar 15, 2016, 2:04 PM

                      @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
                      • W
                        Wayne Workman @pmonstad
                        last edited by Mar 15, 2016, 2:19 PM

                        @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
                        • T
                          Tom Elliott @pmonstad
                          last edited by Mar 17, 2016, 4:09 PM

                          @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
                          • T
                            Tom Elliott
                            last edited by Mar 18, 2016, 11:25 AM

                            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 Mar 18, 2016, 12:50 PM Reply Quote 1
                            • M
                              mp12 @Tom Elliott
                              last edited by mp12 Mar 18, 2016, 7:21 AM Mar 18, 2016, 12:50 PM

                              @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
                              
                              T 1 Reply Last reply Mar 18, 2016, 2:20 PM Reply Quote 0
                              • T
                                Tom Elliott @mp12
                                last edited by Mar 18, 2016, 2:20 PM

                                @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 Mar 18, 2016, 2:30 PM Reply Quote 0
                                • M
                                  mp12 @Tom Elliott
                                  last edited by Mar 18, 2016, 2:30 PM

                                  @Tom-Elliott running r6815 now.

                                  Creating and editing snapins works fine now.

                                  Thanks!

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

                                  147

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project