Update error from 31.0.5 to 31.0.6 on Check for Expected Files

Hello!

I’ve not seen the updater stop here before, and the error message isn’t really helping me find the problem.

I’ve checked the updater.log file, and that’s referring to the index.php file, but I’ve renamed that and the updater doesn’t even load, so it clearly needs that file.

2025-06-16T15:06:47+0100 AxCGtNDRdB [error] Exception: UpdateException
Message:
Code:0
Trace:
#0 /usr/local/www/nextcloud/updater/index.php(1330): Updater->checkForExpectedFilesAndFolders()
#1 {main}
File:/usr/local/www/nextcloud/updater/index.php
Line:340
Data:
Array
(
    [0] => (null)
)

 
2025-06-16T15:06:47+0100 AxCGtNDRdB [info] rollbackChanges("1")
2025-06-16T15:06:47+0100 AxCGtNDRdB [info] unlink .step
2025-06-16T15:06:47+0100 AxCGtNDRdB [info] end of  rollbackChanges()
  • Nextcloud Server version 31.0.5
  • Operating system and version FreeBSD 13.5 (in a TrueNAS Jail)
  • Web server and version NGINX 1.26.3
  • Reverse proxy and version NPM 2.10.4
  • PHP version 8.3.19

Thanks

1 Like

It was being more helpful than I thought! There was actually a file called “(null)” in the /nextcloud directory, which once removed enabled me to run the update. Not sure where or how it got there, but sorted now.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.