Not able to update to Version 5.3.78

Hi,

i can`t update to the newest Version i get an Server Error and in the logs is nothing about that

invoice_ninja_update_error

I`ve increased the php Memory to 512M over the .htaccess but still get this error.

Any Ideas what can i try ?

Hi,

Are any messages added in the logs in storage/logs?

yes the entry are this, with the memory error. I`am on a Shared Hosting

[2022-03-31 00:00:03] production.INFO: updating currencies  
[2022-03-31 06:00:02] production.INFO: Performing Autobilling 2022-03-31 06:00:02  
[2022-03-31 06:41:06] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"} 
[2022-03-31 06:45:59] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"} 
[2022-03-31 06:50:32] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"} 
[2022-03-31 06:52:23] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"} 
[2022-03-31 07:04:15] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"} 
[2022-03-31 11:17:25] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"} 
[2022-03-31 11:27:53] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"} 
[2022-03-31 11:28:16] production.ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 268435456 bytes exhausted (tried to allocate 132120608 bytes) at /www/htdocs/xxxxx/xxxxxx/app/Http/Controllers/SelfUpdateController.php:103)
[stacktrace]
#0 {main}
"}

the htaccess looks like so

I suggest trying to increase the PHP memory limit

okay it seems that my htaccess entry are ignored… i wait for fews hours… currently i have 265M of PHP Mem

okay solved… in my host i must use a .user.ini to manipulating the php.ini settings

1 Like