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

    FOG Client 0.11.3 - no config.json file

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    56
    16.7k
    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.
    • JunkhackerJ
      Junkhacker Developer
      last edited by

      i had an issue similar if not identical a while back. it went away after updating to a newer build, so i assumed it was a bug that was fixed. creating a snapin would create a 0 length file with the name, but obviously didn’t actually upload the file to the server. i don’t remember much more details than that, it was a week or two ago.

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

        I guess now, I need to test a 1.5 GB snapin pack… I’m just going to throw crap in a file until it’s about that size, don’t care about functionality at this point, This is related to file size.

        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 @Junkhacker
          last edited by

          @Junkhacker I can only guess that the post_max_filesize and upload_max_size (or whatever they are) are not set to the value of the file that’s being uploaded currently?

          Just a guess of course.

          WTH do I know though?

          Can you check your server’s php.ini settings for these two things @Wayne-Workman

          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 JunkhackerJ 2 Replies Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Tom Elliott
            last edited by

            @Tom-Elliott Those two things are already set to 10000M. They are upload_max_filesize and post_max_size inside php.ini, On my server, it was /etc/php.ini

            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
            • JunkhackerJ
              Junkhacker Developer @Tom Elliott
              last edited by Junkhacker

              @Tom-Elliott when i had the problem (and it may be unrelated to his problem) it wasn’t a filesize issue. my snapins were less than 1MB in size. i have not had the problem with 1.3.0-RC-1. perhaps it is worth noting that the file owner details are different now, though. owner of older snapin files are fog:www-data new snapins are fog:fog

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                The snapin is approx. 2.11GB, I have enough space on / to hold it, I was reading online that not enough space can cause it.

                [root@mb-fog log]# df -h
                Filesystem                         Size  Used Avail Use% Mounted on
                devtmpfs                           2.0G     0  2.0G   0% /dev
                tmpfs                              2.0G     0  2.0G   0% /dev/shm
                tmpfs                              2.0G  432K  2.0G   1% /run
                tmpfs                              2.0G     0  2.0G   0% /sys/fs/cgroup
                /dev/mapper/fedora--server-root     20G  7.1G   12G  39% /
                tmpfs                              2.0G  2.0M  2.0G   1% /tmp
                /dev/sda1                          976M  116M  794M  13% /boot
                /dev/mapper/fedora--server-images  468G  230G  215G  52% /images
                tmpfs                              395M     0  395M   0% /run/user/0
                

                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 2 Replies Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @Wayne Workman
                  last edited by

                  @Wayne-Workman I’m not asking for disk size available. I’m asking about the /etc/php/php.ini (or whereever it’s located).

                  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 @Junkhacker
                    last edited by Wayne Workman

                    @Junkhacker said in FOG Client 0.11.3 - no config.json file:

                    perhaps it is worth noting that the file owner details are different now, though. owner of older snapin files are fog:www-data new snapins are fog:fog

                    Mine are fog:apache for the snapins folder… I’ll try fog:fog and see what happens.

                    —EDIT—

                    I set permissions recursively on the snapins folder, then re-created the snapin in the gui. Didn’t seem to affect the zero file size.

                    [root@mb-fog snapins]# ls -la
                    total 317304
                    drwxrwxr-x. 3 fog  fog       4096 Jul 19 13:24 .
                    drwxr-xr-x. 5 root root      4096 Jul 19 07:17 ..
                    -rwxrwxr-x. 1 fog  fog  266245249 Jun 30 09:17 avast-install-mb-domain.exe
                    -rwxrwxr-x. 1 fog  fog   52764672 Jul  6 09:56 googlechromestandaloneenterprise64.msi
                    -rwxrwxr-x. 1 fog  fog    5885952 Jun 30 12:26 MerakiSM-Agent-mb.msi
                    -rwxrwxr-x. 1 fog  fog         51 Jul 12 07:13 Set_Timezone.bat
                    -rwxr-xr-x. 1 fog  fog          0 Jul 19 13:24 SmartNotebook2016.zip
                    drwxrwxr-x. 3 fog  fog       4096 Feb 25 08:44 ssl
                    [root@mb-fog 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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

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

                      I also just gave the server a reboot, and then re-tried. No luck.

                      At this point - I’m going to just manually place the file in the right spot and set permissions, and hope that works.

                      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/

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

                        Well of course, placing the file manually didn’t work because there was no hash created for it. 😞

                        Guess I’m doing this deployment with a batch file snapin.

                        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
                        • JunkhackerJ
                          Junkhacker Developer @Wayne Workman
                          last edited by

                          @Wayne-Workman have you verified that you can log into the server as the user “fog” with the password that is stored in the storage management page?

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                            @Junkhacker I did just now because you asked, yes it works. I ssh’d in using fog and the password in storage management.

                            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/

                            JunkhackerJ 1 Reply Last reply Reply Quote 0
                            • JunkhackerJ
                              Junkhacker Developer @Wayne Workman
                              last edited by

                              @Wayne-Workman try to chmod 775 SmartNotebook2016.zip and upload the file again

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                                @Junkhacker said in FOG Client 0.11.3 - no config.json file:

                                @Wayne-Workman try to chmod 775 SmartNotebook2016.zip and upload the file again

                                Did that. The upload went much slower that time for some reason, but did complete. File size is still zero. Notice The file size from my manual placement changed to 0 after updating the snapin with a new file.

                                [root@mb-fog snapins]# ls -la
                                total 2532300
                                drwxrwxr-x. 3 fog  fog        4096 Jul 19 13:32 .
                                drwxr-xr-x. 5 root root       4096 Jul 19 07:17 ..
                                -rwxrwxr-x. 1 fog  fog   266245249 Jun 30 09:17 avast-install-mb-domain.exe
                                -rwxrwxr-x. 1 fog  fog    52764672 Jul  6 09:56 googlechromestandaloneenterprise64.msi
                                -rwxrwxr-x. 1 fog  fog     5885952 Jun 30 12:26 MerakiSM-Agent-mb.msi
                                -rwxrwxr-x. 1 fog  fog          51 Jul 12 07:13 Set_Timezone.bat
                                -rwxrw-rw-. 1 fog  fog  2268149127 Jul 19 12:43 SmartNotebook2016.zip
                                drwxrwxr-x. 3 fog  fog        4096 Feb 25 08:44 ssl
                                [root@mb-fog snapins]# chmod 775 SmartNotebook2016.zip
                                [root@mb-fog snapins]# ls -la
                                total 2532300
                                drwxrwxr-x. 3 fog  fog        4096 Jul 19 13:32 .
                                drwxr-xr-x. 5 root root       4096 Jul 19 07:17 ..
                                -rwxrwxr-x. 1 fog  fog   266245249 Jun 30 09:17 avast-install-mb-domain.exe
                                -rwxrwxr-x. 1 fog  fog    52764672 Jul  6 09:56 googlechromestandaloneenterprise64.msi
                                -rwxrwxr-x. 1 fog  fog     5885952 Jun 30 12:26 MerakiSM-Agent-mb.msi
                                -rwxrwxr-x. 1 fog  fog          51 Jul 12 07:13 Set_Timezone.bat
                                -rwxrwxr-x. 1 fog  fog  2268149127 Jul 19 12:43 SmartNotebook2016.zip
                                drwxrwxr-x. 3 fog  fog        4096 Feb 25 08:44 ssl
                                [root@mb-fog snapins]# ls
                                avast-install-mb-domain.exe  googlechromestandaloneenterprise64.msi  MerakiSM-Agent-mb.msi  Set_Timezone.bat  SmartNotebook2016.zip  ssl
                                [root@mb-fog snapins]# ls -la
                                total 2532300
                                drwxrwxr-x. 3 fog  fog        4096 Jul 19 13:32 .
                                drwxr-xr-x. 5 root root       4096 Jul 19 07:17 ..
                                -rwxrwxr-x. 1 fog  fog   266245249 Jun 30 09:17 avast-install-mb-domain.exe
                                -rwxrwxr-x. 1 fog  fog    52764672 Jul  6 09:56 googlechromestandaloneenterprise64.msi
                                -rwxrwxr-x. 1 fog  fog     5885952 Jun 30 12:26 MerakiSM-Agent-mb.msi
                                -rwxrwxr-x. 1 fog  fog          51 Jul 12 07:13 Set_Timezone.bat
                                -rwxrwxr-x. 1 fog  fog  2268149127 Jul 19 12:43 SmartNotebook2016.zip
                                drwxrwxr-x. 3 fog  fog        4096 Feb 25 08:44 ssl
                                [root@mb-fog snapins]# ls -la
                                total 317304
                                drwxrwxr-x. 3 fog  fog       4096 Jul 19 13:44 .
                                drwxr-xr-x. 5 root root      4096 Jul 19 07:17 ..
                                -rwxrwxr-x. 1 fog  fog  266245249 Jun 30 09:17 avast-install-mb-domain.exe
                                -rwxrwxr-x. 1 fog  fog   52764672 Jul  6 09:56 googlechromestandaloneenterprise64.msi
                                -rwxrwxr-x. 1 fog  fog    5885952 Jun 30 12:26 MerakiSM-Agent-mb.msi
                                -rwxrwxr-x. 1 fog  fog         51 Jul 12 07:13 Set_Timezone.bat
                                -rwxr-xr-x. 1 fog  fog          0 Jul 19 13:44 SmartNotebook2016.zip
                                drwxrwxr-x. 3 fog  fog       4096 Feb 25 08:44 ssl
                                [root@mb-fog 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!
                                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
                                • Wayne WorkmanW
                                  Wayne Workman
                                  last edited by

                                  @Developers I’m suspicious of the hashing functionality at the moment.

                                  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/

                                  JunkhackerJ 1 Reply Last reply Reply Quote 0
                                  • JunkhackerJ
                                    Junkhacker Developer @Wayne Workman
                                    last edited by

                                    @Wayne-Workman are you still able to upload snapins that are not snapinpacks?

                                    signature:
                                    Junkhacker
                                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                                      @Wayne-Workman the upload isn’t working let’s figure that out first. Hashing is checked when the snapin checks in. A 0 size file hash is being returned

                                      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

                                        If i had to guess its specific to ftp timeout during the transfer .

                                        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 That would make sense. I’ll start researching that.

                                          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 it’s configurable in fog settings

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

                                            159

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project