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

    Snapin create failed

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    5
    960
    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.
    • D
      dbrown
      last edited by

      A snapin name is required. I am getting this error no matter how I try to create a new snapin. Anyone ever had this problem? I am very new to FOG but have created snapins successfully before. Any help would be much appreciated.

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

        @dbrown depends on the size of the file you’re uploading. When you select the file to choose it does tell you how large a file that can be used. If I had to guess you’re running 1.5.2 on a Debian based install (Debian, mint, ubuntu, etc…). When we switched to using php fpm natively i forgot to have it change the fpm php.ini file. This is corrected for in working branch which is soon to become 1.5.3.

        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

        D 1 Reply Last reply Reply Quote 0
        • D
          dbrown
          last edited by

          This post is deleted!
          george1421G 1 Reply Last reply Reply Quote 0
          • D
            dbrown @Tom Elliott
            last edited by

            @tom-elliott
            Thank you. Yes, you are correct in what I am running. Yikes, it says maximum file size is 8M. So I need to wait for 1.5.3 then?

            1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @dbrown
              last edited by george1421

              @dbrown You can fix this in php-fpm config.

              The path should be /etc/php-fpm.d/www.conf
              Edit that file and towards the end of the file add these two lines:

              php_admin_value[post_max_size] = 100M
              php_admin_value[upload_max_filesize] = 100M
              

              Save and close the file then issue this command
              sudo systemctl restart php-fpm
              That will bump the max upload size of the files to 100MB

              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!

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

              239

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project