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

    Unable to add new snapin

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    24
    5.6k
    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.
    • Wayne WorkmanW
      Wayne Workman @theWizard
      last edited by

      @theWizard Is the snapin file you’re trying to upload larger than the snapin upload limit? How big is it?

      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/

      T 1 Reply Last reply Reply Quote 0
      • T
        theWizard @Wayne Workman
        last edited by

        @Wayne-Workman 126kb so no its just a script as an exe.

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @theWizard
          last edited by

          @theWizard Are there any apache errors immediately after trying? Web Interface -> FOG Configuration -> Log Viewer -> Apache errors

          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/

          T 1 Reply Last reply Reply Quote 0
          • T
            theWizard @Wayne Workman
            last edited by

            @Wayne-Workman I tried to check in gui but fog is not reporting any it just says no logs found for any logs.

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @theWizard
              last edited by

              @theWizard Can you give me the output of these two commands please?
              ls -laht /opt/fog/log
              ls -laht /

              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/

              T 1 Reply Last reply Reply Quote 0
              • T
                theWizard @Wayne Workman
                last edited by Wayne Workman

                @Wayne-Workman said in Unable to add new snapin:

                > ls -laht /opt/fog/log
                total 8.0K
                drwxrwxrwx 2 fog www-data 4.0K Nov 16 14:37 .
                drwxrwxrwx 6 fog www-data 4.0K Nov 15 15:47 ..
                > ls -laht /
                total 132K
                drwxrwxrwt   6 root root     4.0K Nov 16 15:10 tmp
                drwxr-xr-x 137 root root      12K Nov 16 14:18 etc
                drwxr-xr-x  32 root root     1.1K Nov 15 16:03 run
                drwxr-xr-x   6 root root     4.0K Nov 15 15:47 tftpboot.prev
                drwxr-xr-x  27 root root     4.0K Nov 15 15:47 .
                drwxr-xr-x  27 root root     4.0K Nov 15 15:47 ..
                drwxr-xr-x  12 root root     4.0K Nov 15 15:45 home
                drwxr-xr-x  17 root root     4.4K Nov 11 08:42 dev
                dr-xr-xr-x  13 root root        0 Nov 11 08:41 sys
                dr-xr-xr-x 274 root root        0 Nov 11 08:41 proc
                -rw-r--r--   1 root root       41 Nov  7 14:47 fogscheduler.log
                -rw-r--r--   1 root root       56 Nov  7 14:40 fogsnapinrep.log
                drwxr-xr-x   2 root root     4.0K Nov  3 10:57 bin
                drwxr-xr-x   3 root root     4.0K Nov  3 10:56 boot
                lrwxrwxrwx   1 root root       29 Nov  3 10:55 vmlinuz -> boot/vmlinuz-4.4.0-45-generic
                lrwxrwxrwx   1 root root       32 Nov  3 10:55 initrd.img -> boot/initrd.img-4.4.0-45-generic
                drwxr-xr-x   6 fog  root     4.0K Oct 24 15:39 tftpboot
                drwxr-xr-x  48 fog  www-data 4.0K Oct 24 11:26 images
                lrwxrwxrwx   1 root root       29 Sep 29 16:08 vmlinuz.old -> boot/vmlinuz-4.4.0-38-generic
                lrwxrwxrwx   1 root root       32 Sep 29 16:08 initrd.img.old -> boot/initrd.img-4.4.0-38-generic
                drwxr-xr-x   2 root root      12K Sep 28 15:46 sbin
                drwx------   6 root root     4.0K Sep  8 11:01 root
                -rw-r--r--   1 root root     2.3K Sep  8 11:00 webmin-setup.out
                drwxr-xr-x  15 root root     4.0K Sep  8 10:59 var
                drwxrwxrwx  11 root www-data 4.0K Aug 17 10:54 svn
                drwxr-xr-x  23 root root     4.0K Aug  1 10:38 lib
                drwxr-xr-x   2 root root     4.0K Aug  1 10:34 lib64
                drwxr-xr-x   3 root root     4.0K Mar 23  2016 mnt
                drwxr-xr-x   3 root root     4.0K Mar 23  2016 media
                drwxr-xr-x   3 root root     4.0K Mar 23  2016 opt
                drwxr-xr-x   3 root root     4.0K Mar 23  2016 srv
                drwxrwxr-x   2 root root     4.0K Mar 23  2016 cdrom
                drwx------   2 root root      16K Mar 23  2016 lost+found
                drwxr-xr-x  10 root root     4.0K Feb 17  2016 usr
                
                T 1 Reply Last reply Reply Quote 0
                • T
                  theWizard @theWizard
                  last edited by

                  @Wayne-Workman Also tried re running the installer but no change, any ideas ?

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @theWizard
                    last edited by

                    @theWizard Yes, I have ideas. I need to talk with Tom first about it.

                    @Tom-Elliott This is a case where the logs are going to the / directory instead of /opt/fog/log due to DB connectivity issues. What do we do? I suspect this is probably related to being unable to create a new snapin somehow as well.

                    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/

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

                      @Wayne-Workman Look at the date of the files.

                      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

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

                        @Tom-Elliott November 7th. Last week.

                        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/

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

                          @Wayne-Workman Precisely.

                          The guess I have? PHP FPM is the issue, why, because last week we switched the ondrej stuff becuase they changed.

                          But again, this is not a bug in FOG. This is a change in OS and Repo structure which is already “corrected” for.

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

                            @theWizard Try to uninstall the old php-fpm version, and then install the newer version, and then give the server a reboot.

                            apt-get remove php5-fpm -y
                            apt-get install php5.6-fpm -y

                            Also, topic has been moved to FOG Problems.

                            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/

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              theWizard @Wayne Workman
                              last edited by

                              @Wayne-Workman Ok followed your steps and checked again, same result for both logs and snapins. If i try re running the installer it fails on installing php-fpm ( i assume the old one ? ).

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

                                @theWizard Are you using git or svn for installation?

                                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

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  theWizard @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Attempted svn but have both available if needed.

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

                                    Worked with @theWizard yesterday via remote session.

                                    Found that the snapins were being uploaded to another storage node. That storage node /opt/fog/snapins folder had incorrect permissions on it.

                                    Fixed the permissions and confirmed the working on working-RC-24. I’m solving this thread.

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

                                    152

                                    Online

                                    12.1k

                                    Users

                                    17.3k

                                    Topics

                                    155.3k

                                    Posts
                                    Copyright © 2012-2024 FOG Project