Hello again.
It's a while  yet, even before updating to 1.27, since my installation fails to update (core and modules) via the interface (manual updates run smoothly).
After downloading an available update, I get this error (site has been automatically put into maintance mode, and there are no further entries in the error log):

An AJAX HTTP error occurred. 
HTTP Result Code: 500 Debugging information follows. 
Path: https://.../core/authorize.php?batch=1&id=70&op=do_nojs&op=do 
StatusText: Service unavailable (with message) 
ResponseText: Error: Class "ModuleUpdater" not found in installer_authorize_batch_copy_project() (line 151 of /var/www/vhosts/.../core/modules/installer/installer.authorize.inc).

 

• Warning: Undefined array key "log" in installer_authorize_update_batch_finished() (line 192 of /var/www/vhosts/.../core/modules/installer/installer.authorize.inc).
• Warning: foreach() argument must be of type array|object, null given in installer_authorize_update_batch_finished() (line 192 of /var/www/vhosts/.../core/modules/installer/installer.authorize.inc).
• Warning: Undefined array key "log" in installer_authorize_update_batch_finished() (line 241 of /var/www/vhosts/.../core/modules/installer/installer.authorize.inc).
Update failed! See the log below for more information. Your site is still in maintenance mode.


I've never touched installer.authorize.inc ... and I'm lost where to start debugging.

It's not crucial for my site, but kind of anoying... If someone has an idea how to solve, please let me know.

Thank you and best regards

Most helpful answers

You could try to run the site on your personal computer and see if the error still occurs.

You could run it in Lando, ddev, Xampp, Wampp or such.

Comments

Maybe try to replace all core files manually from a fresh zip file. Maybe there's a missing file.

Hello Herb,

thanks for this idea. I already did this today when updating (manually :-) to v. 1.27.1 – error is still present.

Best regards

Hallo again

I found this in my server log directly after a new try to update:

[Sat Mar 09 22:22:12.127859 2024] [fcgid:warn] [pid 2612495:tid 140222013867776] (32)Broken pipe: [client 12.345.678.901:0] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://mydomain.org/admin/reports/updates

Seems to be a php resource issue. I changes from php 8.1 to in 8.2, increased memory etc. - but no positive effect on my update problem... 

Update: Obviously the server is okay, a separate backdrop installation updates properly.

 

 

Hello with another update:


– changed from fast-cgi to fmp
– restarted the server
– disabled all contrib/custom modules, layouts, theme
– optimzed/repaired db tables
– paused htacceess/htpasswd (my site is not public yet)
– cleared chache, ran cron...

... and the error still occurs :-(

If anybody has any another idea what to do or to check: any suggestions are very welcome!

Thanks and best regards

You could try to run the site on your personal computer and see if the error still occurs.

You could run it in Lando, ddev, Xampp, Wampp or such.

Hello Herb and everybody

I followed your advice today and tried to update after having installed the site on my local computer. Unfortunatelly, same result, please see the screenshots:

Update Error 1

 

Update Error 2

 

If somebody has another idea what to do or try, please let me know.

Thank you and best regards

Hello again

and sorry for rehashing this topic... 

I just wanted to test the 1.28.0-preview. Unfortunately my update problem still persists. That means updates from within  the backend end up with the same error as described above, and the same happens after having manually updated core (to 1.28.0-preview) and then trying to update some modules.

If anybody has an idea: please let me know...

Thank you and best regards