-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ncp-dist-upgrade to bookworm failed on ncp 1.54.2 #1930
Comments
I have the same issue with my RaspberryPI 4b+ I wanted to upgrade my OS from bullseye to bookworm via sudo ncp-dist-upgrade on my Raspberry PI 4B+. However, the script terminates with the following error:
I tried upgrading the dependencies with the following commands (listed below), but after that, i could not execute sudo ncp-dist-ugprade anymore, since it was already upgraded to Bookworm. But after switching the SD from my Raspberry PI 4 to a Raspberry PI 5, i got "No bootable partitions" so I believe the dist-upgrade was not finished?
System information NextcloudPi diagnostics
Nextcloud configuration
HTTPd logs
Database logs
|
Yo run NC25.x? I doubt this will work with bookworm. There is at least an issue with PHP i guess |
Same problem here. Does someone have a easy solution? I am not eager to reinstall everything. But maybe everything is ok. How to find out, if something is wrong? Thanks a lot already! |
@theCalcaholic you think it is possible to check the NC Version before upgrading to bookworm? I know it ist not related to the Problems people have here, but upgrading to bookworm while running NC25.x will most likely require a lot of work to get it running because of PHP version mismatch. |
@FadeFx The upgrade script actually checks the PHP version already (see https://github.com/nextcloud/nextcloudpi/blob/master/bin%2Fncp-dist-upgrade.d%2Fdebian-11.sh#L31) |
Regarding the original issue, the best I can probably do is to add an |
I ran also into this issue today:
Maybe this issue should be re-opened. I checked open issues before doing the |
I tried to follow the instructions at the top issue #1913 to finalize the upgrade. Later I tried to set the NextcloudPi to maintenance mode, but this resulted now in this error:
Now back to what I did to fix the system: My
So this looked like this file was correctly upgraded.
Next I did point 2 in the instructions of #1913:
I saw an error, but do not have the details unfortunately. It had to do with an unsupported compression type. It was printed in an root shell. When I did Ctrl-D from the root shell, the terminal was refreshed. And I could not copy the error message any more.
But I got:
Top shows that |
I found the error message about the compression in
|
Further update:
The upgrade is running now... |
I further followed the instructions of #1913 and NextcloudPi seems to be working again. |
I had afterwards the problem that despite nextcloud had been working normally, ncp panel was reporting that nextcloud and HCP service was down. Also the Cron jobs were not running. This was caused by PHP 8.3 being installed, which I removed and rebooted the server. Then everything was up and running again. |
Thank you, after carefully following #1913 dist upgrade compleded. The only problem I had - it was exiting interactive mode (found somewhere Ctrl+D) |
Hello.
Thank you for all the work on this project.
Today I tried ncp-dist-upgrade to bookworm on Rock64 board but it failed.
It was installed from ncp-image for Rock64 several years ago, then dist-upgraded.
Last part of upgrade output:
I tried manual upgrade (#1913), but after
apt-get upgrade -y dpkg
got the same error.And
apt --fix-broken install
did not help.After that I manually changed back to bullseye everything in sources.list
How to fix those packages?
System information
Rock64 board booting from SSD (Kingston SKC400S37/128G) on usb3 port.
NextcloudPi diagnostics
Nextcloud configuration
HTTPd logs
Database logs
Nextcloud logs
The text was updated successfully, but these errors were encountered: