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

More
2 months 2 weeks ago #174459 by hrcittl
hrcittl created the topic: "Abort pclzip.lib.php" error during comfort update
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?

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #174465 by LouisGac
LouisGac replied the topic: "Abort pclzip.lib.php" error during comfort update
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.
The following user(s) said Thank You: hrcittl

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #174479 by DenisChenu
DenisChenu replied the topic: "Abort pclzip.lib.php" error during comfort update

LouisGac wrote: …
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
4 weeks 1 day ago #176703 by Trimbos
Trimbos replied the topic: "Abort pclzip.lib.php" error during comfort update
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...

Please Log in or Create an account to join the conversation.

More
4 weeks 1 day ago #176704 by LouisGac
LouisGac replied the topic: "Abort pclzip.lib.php" error during comfort update
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

Please Log in or Create an account to join the conversation.

More
4 weeks 1 day ago #176720 by hrcittl
hrcittl replied the topic: "Abort pclzip.lib.php" error during comfort update
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.

Please Log in or Create an account to join the conversation.

More
4 weeks 1 day ago #176724 by jelo
jelo replied the topic: "Abort pclzip.lib.php" error during comfort update
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.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
4 weeks 12 hours ago #176733 by LouisGac
LouisGac replied the topic: "Abort pclzip.lib.php" error during comfort update

hrcittl wrote: 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

Please Log in or Create an account to join the conversation.

More
4 weeks 11 hours ago #176739 by DenisChenu
DenisChenu replied the topic: "Abort pclzip.lib.php" error during comfort update

jelo wrote: …
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: tpartner, LouisGac

Please Log in or Create an account to join the conversation.

More
3 weeks 6 days ago #176810 by hrcittl
hrcittl replied the topic: "Abort pclzip.lib.php" error during comfort update
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!

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago - 3 weeks 1 day ago #177079 by Trimbos
Trimbos replied the topic: "Abort pclzip.lib.php" error during comfort update
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
Last Edit: 3 weeks 1 day ago by Trimbos.

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #177105 by holch
holch replied the topic: "Abort pclzip.lib.php" error during comfort update
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

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #177106 by jelo
jelo replied the topic: "Abort pclzip.lib.php" error during comfort update

holch wrote: 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.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #177109 by holch
holch replied the topic: "Abort pclzip.lib.php" error during comfort update
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

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #177111 by Trimbos
Trimbos replied the topic: "Abort pclzip.lib.php" error during comfort update
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.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!