You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-05-12 00:24:16

Moody_Blue
Member
Registered: 2016-06-09
Posts: 22

Glpi 10 - Max File Size

Environment:
- 10.5.11-MariaDB
- Apache/2.4.53
- PHP/8.1.5
- Glpi 10.0.0

I have php setup with following parameters:
- upload_max_filesize = 100M
- post_max_size = 150M
- memory_limit = 256M

Nevertheless, when using Management -> Documents, I can't drag/drop files larger than 2M. How can I solve this ?

Offline

#2 2022-05-12 03:53:02

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Glpi 10 - Max File Size

There is a configuration option in GLPI itself that also needs changed under Setup > General > Management tab which is an application-level limit for document uploads.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2022-05-12 09:51:34

Moody_Blue
Member
Registered: 2016-06-09
Posts: 22

Re: Glpi 10 - Max File Size

Thanks, that was it.

Last edited by Moody_Blue (2022-05-12 13:49:56)

Offline

#4 2022-05-12 13:50:03

Moody_Blue
Member
Registered: 2016-06-09
Posts: 22

Re: Glpi 10 - Max File Size

Is this a new parameter in 10.0.0 ? I had it working in 9.5.7

Last edited by Moody_Blue (2022-05-12 13:50:36)

Offline

#5 2022-05-12 16:58:33

lucaszephyr
Member
Registered: 2022-04-25
Posts: 29

Re: Glpi 10 - Max File Size

Moody_Blue wrote:

Is this a new parameter in 10.0.0 ? I had it working in 9.5.7


TRY HOME => SETUP  => GENERAL => ASSISTANCE

Offline

#6 2022-05-13 08:46:49

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Glpi 10 - Max File Size

This option was added in GLPI 10 as a part of this pull request:
https://github.com/glpi-project/glpi/pull/8180

During the installation/update process, it is supposed to get automatically set to the current max upload size configured in PHP.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#7 2022-05-13 14:16:19

Moody_Blue
Member
Registered: 2016-06-09
Posts: 22

Re: Glpi 10 - Max File Size

Thanks. Before upgrading glpi I've upgraded php without setting its max file size, this explains why glpi ended up with a 2M limit after upgrade.

Last edited by Moody_Blue (2022-05-13 14:17:20)

Offline

#8 2022-06-16 21:19:16

sandroalves
Member
Registered: 2021-07-03
Posts: 33

Re: Glpi 10 - Max File Size

I was looking for this and now it's fixed.

Thanks.

Offline

Board footer

Powered by FluxBB