Steps that will be executed:
Check for expected files
Check for write permissions
Create backup
Downloading
Verify integrity
Extracting
Enable maintenance mode
Replace entry points
Delete old files
Move new files in place
Done
Start update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✘] Check for expected files failed
The following extra files have been found:
package.json
composer.lock
package-lock.json
composer.json
Update failed. To resume or retry just execute the updater again.
How does this problem occur and how can I fix it?
Since I have Nextcloud installed under dietpi-software, my first request goes to this forum.
I thank you in advance for everything tips!
Best regards,
Carsten
Creating a bug report/issue
Required Information
DietPi version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=21
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
Distro version
bullseye 0
Kernel version
Linux nextcloudpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Architecture
arm64
SBC model
RPi 3 Model B+ (aarch64)
Power supply used
5V 2A
SD card used
no SD card, Msata SSD
Additional Information (if applicable)
Software title
Nextcloud 25.0.11
Was the software title installed freshly or updated/migrated?
updated
Can this issue be replicated on a fresh installation of DietPi?
Would hate to have to do a fresh install!
Bug repord ID
aaf8e3af-3a83-4ce1-90fd-bc6d7b62e6f8
Honestly, so 100% I’m not sure, it’s already been a while, but since I found Nextcloud in the list of dietpi-software, I assume that I installed it using dietpi.
Software installed manually should not appear in this list, right?
Steps that will be executed:
Check for expected files
Check for write permissions
Create backup
Downloading
Verify integrity
Extracting
Enable maintenance mode
Replace entry points
Delete old files
Move new files in place
Done
Start update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✘] Check for expected files failed
The following extra files have been found:
package.json
composer.lock
package-lock.json
composer.json
Update failed. To resume or retry just execute the updater again.
But I still wonder why it does not present Version 27 to you in the updater.
edit:
I found an answer:
Nextcloud must be upgraded step by step:
Before you can upgrade to the next major release, Nextcloud upgrades to the latest point release.
Then run the upgrade again to upgrade to the next major release’s latest point release.
You cannot skip major releases. Please re-run the upgrade until you have reached the highest available (or applicable) release.
Example: 18.0.5 -> 18.0.11 -> 19.0.5 -> 20.0.2
I also had this problem in the past, but I can’t remember how I fixed it.
I think I did something in the config.php.
I found some suggestions to remove the line 'version' => '27.1.1.0', fromconfig.php and try again.
Also switching the release channel from stable to beta (can be done in the admin-settings on the web panel) and after the upgrade(s) to the desired version(s) just switch it back to stable channel.
Ok, a lot of manual work, I’ll think twice about that and possibly consider reinstalling.
You may already know, the upgrade from bullseye to bookworm does not seem to work with flightaware. I have had to cancel the upgrade. Still, in 5 installations it works fine. Fantastic work from you, as always!
The update from Buster to Bullseye is quite well documented and tested. If course there is always a risk but until now we managed majority of challenges.