jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: jpp on 25.03.2023 08:52:56

Title: Error upgrading to beta 4.0.21 - [Not a Bug! Solved!]
Post by: jpp on 25.03.2023 08:52:56
Hi,
I try to upgrade jdownloads from beta 4.0.20 to 4.0.21 on Joomla 4.2.8 php 8.0 and I have this error message:
Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 655360 bytes)
I have had no issue to install 4.0.20.
Thanks for your help
Title: Re: Error upgrading to beta 4.0.21
Post by: Arno on 25.03.2023 09:10:47
Hi,
I don't think this is the result of a bug in jDownloads.
Please contact your hoster to check or adjust the 'memory_limit' setting.
If you have access to a CPanel or similar, you can also increase the value yourself.

See here for an example:
https://stackoverflow.com/questions/67005429/fatal-error-allowed-memory-size-of-33554432-bytes-exhausted-laravel-8
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: jpp on 25.03.2023 09:23:02
Hi
memory_limit is set to -1 that means no limit
so limitation is anywhere else.
May be can I install update by ftp awaiting to find a clean solution?
Best regards
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: Arno on 25.03.2023 09:39:30
QuoteMay be can I install update by ftp awaiting to find a clean solution?
I wouldn't try it that way. Because the database is not changed (and therefore the entries in the _extensions table are not updated). Also, many plug-ins and modules are included. It gets complicated.

So my Tip:
contact your Hoster.
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: jpp on 27.03.2023 11:31:27
Hi,
I have now the error message during the jdownload upgrade of 4.0.20 to 4.0.21

Unexpected token '<', "
"... is not valid JSON

Thank in advance for your help
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: Arno on 28.03.2023 09:23:13
Okay. I need more information.

Was the update completed successfully despite the error message or was it cancelled?

Did you start the update a second time afterwards?
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: jpp on 28.03.2023 09:29:02
Hi,
The update is not done. If I redo the update, I get memory error (the ones I mentioned in the former posts.

Best regards
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: Arno on 28.03.2023 19:20:45
Hi,
okay, I will test this scenario here tonight.
Nobody else seems to have a problem like this.  :-\ ::)
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: Arno on 29.03.2023 12:57:43
Hi,
I have tested the update from 4.0.20 to 4.0.21.
I could not reproduce your problems and all works as expected.

I suspect that your problems are still related to your server configuration. And since you are still getting this memory error (from time to time), these settings have obviously not yet been increased accordingly.
Have you contacted your hoster?

Quotememory_limit is set to -1 that means no limit
If you don't run your own server, I doubt that your hoster really allows such a setting on the shared server. It can get tight, depending on how many people you have to share the server with.

QuoteError: Allowed memory size of 33554432 bytes exhausted (tried to allocate 655360 bytes)
In this case, the script requires over 32 MB of memory. Since this is rejected, it seems that only 32 MB are available. Which would really be very small.

Edit:
Would it be possible to get backend access? If so, please send me a PM.
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: jpp on 29.03.2023 14:32:04
Hi , the allocated memory is 640 MB. I send you an access by the end of the afternoon.

Best regards
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: jpp on 29.03.2023 15:15:53
Hi,
It seems that hoster did something in a hidden way. I tested again and now it's OK!!!!
Sorry for the disturbance.
Best regrds and many thanks for your help
Title: Re: Error upgrading to beta 4.0.21 - [Not a Bug!]
Post by: Arno on 29.03.2023 17:30:33
Hi.
Good message!  ;) :D