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

Snapin creation (size of file)

Scheduled Pinned Locked Moved Solved
FOG Problems
2
5
498
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.
  • F
    Foggy 0
    last edited by Feb 28, 2023, 9:55 AM

    Hi everyone,
    I’m running Fog 1.5.9 installed on Eole environment (School project based on Ubuntu 20.04 LTS).
    All of it is on a VM Virtualbox.
    I use physical clients.
    Everything’s good, dump & deployment, and snapin.
    But i can’t create snapin for Firefox, while it works well for 7zip and Notepad++ for exemple.
    I’m pretty sure it’s because the size of Firefox msi is too big.
    I tried to change php.ini in /etc/php/7.4/apache2/php.ini
    I modified post_max_size / upload_max_filesize / memory_limit to 4000M
    service apache2 restart or even reboot all Fog
    but it didn’t change nothing, the “Snapin File Max size” stay at 8M on the template to create a new snapin in Fog management…
    I don’t see any other way to solve this, if someone can help, he is welcome !!!

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Feb 28, 2023, 9:31 PM

      @Foggy-0 said in Snapin creation (size of file):

      I modified post_max_size / upload_max_filesize / memory_limit to 4000M

      The php.ini setting in question is post_max_size. Which config file exactly did you edit? I think there is more than one. The php-fpm one and probably one for php-cli as well.

      service apache2 restart or even reboot all Fog

      The php-fpm service needs a restart. But server reboot should do the trick as well.

      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
      • F
        Foggy 0
        last edited by Mar 3, 2023, 7:26 AM

        I modified as described above in

        /etc/php/7.4/apache2/php.ini
        /etc/php/7.4/cli/php.ini
        /etc/php/7.4/fpm/php.ini

        I did service apache2 restart and service php7.4-fpm restart, and even a reboot, but I’m still stuck at 8M…

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Mar 4, 2023, 3:30 PM Mar 4, 2023, 9:28 PM

          @Foggy-0 I have done a test using a clean Ubuntu 20.04 install and FOG 1.5.9. Uploaded a Firefox MSI (56 MB) with no trouble at all.

          Let’s see if we can figure this out for you. Create a PHP info helper file like this:

          echo "<?php phpinfo(); ?>" > /var/www/fog/info.php
          

          Then open the URL http://192.168.3.20/fog/info.php (put in YOUR server IP instead) and search for post_max_size. What is it set to?

          Remember to delete that newly create PHP script afterwards.

          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
          • S
            Sebastian Roth Moderator
            last edited by Mar 15, 2023, 9:52 PM

            @Foggy-0 Any news on this?

            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
            • [[undefined-on, S Sebastian Roth, Mar 24, 2023, 5:34 AM]]
            • 1 / 1
            • First post
              Last post

            221

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project