"Abort pclzip.lib.php" error during comfort update

Plus d'informations
il y a 1 an 6 mois #174459 par hrcittl
Hey there everyone,

I'm getting a "Abort pclzip.lib.php : Unzipped file is superior to upload_max_filesize or to post_max_size" on the last stage of a comfortupdate (from 3.14.8+180829 to 3.14.10 (180924)).

I've increased the size limits in both php.ini files (the CLI one, and the other one).

Still getting the error though. Any other ideas?

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 an 6 mois #174465 par LouisGac
hi,

that's the new "zip bomb" prevention:
github.com/LimeSurvey/LimeSurvey/blob/ma...mon_helper.php#L5041

you must increase "upload_max_filesize" in your php configuration.

since many people are facing problem with this function, we will add a configuration parameter to change its values from limesurvey configuration rather than php configuration.
Les utilisateur(s) suivant ont remercié: hrcittl

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 6 mois #174479 par DenisChenu

LouisGac écrit: …
since many people are facing problem with this function, we will add a configuration parameter to change its values from limesurvey configuration rather than php configuration.

Since it can be forced by admin …

Else : zip bomb must not be tested for comortupdate : it's an issue here ? No ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #176703 par Trimbos
So this cannot be fixed now otherwise then set upload_max_filesize?

Really strange order to first add something new, and then go think of a solution of how to fix what the new messes up...

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #176704 par LouisGac
In latest version, you can change it in config.php:
github.com/LimeSurvey/LimeSurvey/commit/...873f3ae940c3a91a56ce

"maximum_unzipped_size"

By default it's at 500Mb

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #176720 par hrcittl
Indeed. Meanwhile, I need to update to get the new size setting so that I can change it and update. But I can't update (through comfortupdate) because I don't have the size setting.

I guess I'm going to have to manually update from github to get the setting so I can comfortupdate again. First to find the time to figure out *how* to do that, and then do it.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #176724 par jelo
Why not change the content of the two files manually?
github.com/LimeSurvey/LimeSurvey/commit/...873f3ae940c3a91a56ce

You will run into more trouble switching from comfortupdate to github and back.
So just modfiy these two files.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #176733 par LouisGac

hrcittl écrit: Indeed. Meanwhile, I need to update to get the new size setting so that I can change it and update. But I can't update (through comfortupdate) because I don't have the size setting.

I guess I'm going to have to manually update from github to get the setting so I can comfortupdate again. First to find the time to figure out *how* to do that, and then do it.


If you subscribe to a limeSurvey CE package I can create for you a zip file to update easily

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #176739 par DenisChenu

jelo écrit: …
So just modfiy these two files.

or just this line : github.com/LimeSurvey/LimeSurvey/commit/...e04af89a4bca062L5041
return true;
since it temporary ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: tpartner, LouisGac, paulraper

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #176810 par hrcittl
Hey! That's brilliant - nice and quick - thanks Denis!

(fyi; I had to make it return false;)

Back on track again - thanks all for your help - much appreciated!

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois - il y a 1 an 4 mois #177079 par Trimbos
It is not clear to me how to address this issue with ComfortUpdate.
I cannot access any filesystem.

"upload_max_filesize" was set to 32MB, but that was not enough.
What should it be set to then?

thnx
Dernière édition: il y a 1 an 4 mois par Trimbos.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #177105 par holch
What do you mean with "filesystem"?

And then: is your problem exactly the same, because only then this solution mentioned here will help.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #177106 par jelo

holch écrit: What do you mean with "filesystem"?

Not able to directly access the phpfiles of the LimeSurvey installation.
That will prevent updating via ComfortUpdate to install a fixed version.


Question is why is Trimbos not able to access the filesystem.
If someone else is the administrator, Trimbos will need to contact that person.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #177109 par holch
That sounds highly unlikely, given this:

"upload_max_filesize" was set to 32MB, but that was not enough.

So they have access to the php configuration, but not to the files themselves? Sounds weird.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 4 mois #177111 par Trimbos
The hosting party changes the php variable.
I do not have access to this or the filesystem.

So how can i update then?
We purchased comfortupdate for easy updating, without having to go through the hosting party. However, this is the second time in a relatively short period that the comfortupdate generates errors. Previous time the whole database got messed up.

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!