Snapin create failed

  • 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.

  • Moderator

    @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

  • @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?

  • This post is deleted!

  • Senior Developer

    @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.

Log in to reply