Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max Snapin Size #589

Open
tofg opened this issue Apr 15, 2024 · 2 comments
Open

Max Snapin Size #589

tofg opened this issue Apr 15, 2024 · 2 comments

Comments

@tofg
Copy link

tofg commented Apr 15, 2024

Hi,
I run Fog 1.5.9 Kernel 5.15.19 on Ubuntu in a Virtualbox VM on a Windows 10 host.
Everything works fine, snapin too, but i can't create a snapin up to 10Mo...
I did some tests, and for exemple, i can create a snapin of GPU-Z (9265Ko) but not of Audacium (11610Ko).
I tried to increase the values of "post_max-size", "upload_max_filesize", "memory_limit" in /etc/php/7.4/apache2/php.ini or /etc/php/7.4/fpm/php.ini without any luck...
Any idea ?

@George1422
Copy link

The php configuration file should be the php-fpm one. Make sure you restart apache and php-fpm after updating the file. FOG itself doesn't limit the upload size, that is limited by php/php-fpm

@mastacontrola
Copy link
Member

Are you sure you're using php 7.4 in your enviornment and not php 8.

When you install fog, we setup post_max_size with 3000M and upload_size of 3000M.

10 Megs, seems to be a different element?

Now in ubuntu there's 2 versions of php.ini, one for apache2 and one for cli I believe. For some reason this seems like it's relying on the cli version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants