-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
Debian 12 Bookworm Support #1730
Comments
@theoriginalguy Debian 12 is not supported by NCP yet. If you are upgrading manually, you are doing so on your own account (and things are likely to break). I doubt that we will upgrade to Debian 12 until we have progressed on the ongoing architectural changes (i.e. containerizing most of the included services), because that will make system upgrades a lot less risky. |
I'm looking to run initial install of NCP. Should I opt for Debian 11 as of today since NCP does not support Debian 12 yet or will I be fine setting up NCP on a clean install on the latest Debian 12? |
I've tried it today on clean Debian 12 - bookworm (Armbian 23.5.1) and after commenting section about checking version install script crashed after dependancy issue due tu php-8.1 version. |
Finally, I’ve managed to do it myself :-) |
Would you share your modified script? |
Bookworm is now the default release with raspberry pi os. But NextcloudPi installer script fails to launch because of an "Error: distro not supported" message. I will try to bypass this check |
NextcloudPi only supports Bullseye at this point. There are still a number of things that I need to address before working on support for Bookworm. If you perform the update manually, you are free to do so, but keep in mind, that your setup might break during NCP updates and make sure to have good backups! |
Update: If all goes well with the next releases, I see ourselves supporting Debian Bookworm in 2024-03 |
Thx for your efforts! I appreciate your work, but It feels not good to be without security updates for 3 months. |
@FloKoll Debian bullseye has security support until 2024-05 (including May), so that shouldn't be the case :) |
@theCalcaholic Thank you for replying to my post. Yes, but - as far as I understand it correctly - support for Nextcloud 25 expired in October 2023. That means there are no more security fixes coming. Probably tens of thousands or more Raspberry Pis can't upgrade easily to Netxcloud 26 or higher because of the PHP version in Bullseye, which - it seems to me - makes the whole thing a veritable security risk. But maybe my worries are unfounded? |
@FloKoll NextcloudPi supports Nextcloud 27, though, except for the NCP docker container, which is discontinued. |
@theCalcaholic I'm no expert, but the problem seems to be that all machines running Bullseye with php 7.4 are not offered the update to NC 26 at all. This should affect a lot of people who, like me, have their small server running at home. I could of course update to Bookworm, but I'm afraid that there will be problems with Nextcloudpi. Best regards |
@FloKoll NextcloudPi uses PHP 8.1 (from the sury repositories) currently, not 7.4. The PHP version will automatically be updated when updating nextcloud to v24 or later |
@theCalcaholic Interesting! I have always worked with "sudo -u www-data php occ upgrade" and not with ncp-config. That will probably be the reason why PHP has not been pulled from the Sury repos. I'll try it with your tool. Thanks for your patience and advice. |
@theCalcaholic Running nc-update-nextcloud I read https://help.nextcloud.com/t/staying-up-to-date/126259 and tried it with the code 0. But it didn't work. At the moment my nc-version ist NextCloudPi 25.0.13 (Debian Bullseye) |
Is there another code I could choose? |
@FloKoll The updater doesn't currently support selecting the next major version automatically. Try putting |
running nc-update-nextcloud @theCalcaholic It seems to me that the updater does not automatically fetch PHP 8.1 from the Sury repository. I understood you above to mean that this is what you intended. |
@FloKoll huh, weird... Could you run |
@theCalcaholic Sure! sudo DBG=X ncp-update 26.0.10 |
I am amazed that it says there is no internet connection available. The server is online and I can access it. App updates and ncp-updates also work without any problems. Perhaps useful additional information could be that in my case the DynDNS account is set up on the server itself and not on the router, as the combination of STRATO provider and AVM Fritzbox made this necessary. |
@FloKoll Sorry, that was my autocorrect messing with me 🙈. The x is supposed to be lower case. So the correct command would be |
sudo DBG=x ncp-update-nc 26.0.10
+---------+-------+--------------+ |
@theCalcaholic I seem to have the same issue as @FloKoll (no PHP 8). I'm on NC v25.0.9.2 and debugging output looks fairly identical to the comment just above this one. Happy to provide additional information if that's useful. |
@pkra, @FloKoll |
@christoph-bittmann @theCalcaholic Thank you very much for your answer. I had feared that my request had come to a dead end. PHP 8.1 isn't installed and not in the bullseye repositories. I fear that things might break in the future if I use other sources. apt list --installed | grep php WARNING: apt does not have a stable CLI interface. Use with caution in scripts. php-apcu-bc/oldstable,now 1.0.5-5 arm64 [installed,automatic] |
@christoph-bittmann thanks for following up. I have a similar apt list output as @FloKoll, i.e., only php 7.4. A while back (when nextcloud first required it), I had tried to manually upgrade to php 8.1 and my inexperience had messed up my system. If there's a recommended guide, I'd be willing to try again. |
I would be very interested too. Can you tell if it's coming soon ? Thanks for what you're doing ! |
Can anyone tell us, when nextcloudpi will be available on bookworm approximately? |
Expect preliminary bookworm support in 1-2 weeks |
Anything new? I am eager to use my new pi 5 :D |
This was linked in the top post as well, to follow along with development. |
I'm still working on it. The armbian builds are giving a bit trouble still, but I hope I can release new images for testing soon |
Thanks @theCalcaholic, looking forward to it, very eager to use my new RPI5 8G :) |
I can't wait any longer :-) and will be very grateful if it works. A big compliment to @theCalcaholic |
There's now a test release based on Debian 12: https://github.com/nextcloud/nextcloudpi/releases/tag/v1.54.0-rc3 If you are able to test any of the images, please consider giving feedback :) |
Great. In the meantime, I was able to test the version for a Raspi5. So far no problems. I'll continue testing extensively over the weekend. |
I have one installation that was upgraded to Debian 12 while nextcloud on 23.x and it stuck there. No go to 24.x. With this -rc3 I've upgraded to 26.x (due to timeline I had to stop there for few days). But it seems that the bigest issue isn't there anymore. Great job! |
Support for Debian 12 is now officially release with v1.54.0 and will be rolled out to users successively via staged auto updates (10% of users as of now). Manual updates via |
Unfortunately my problem is still not solved, although the thread has been closed. error-message of 'ncp-dist-upgrade': This is a dangerous process that is only guaranteed to work properly if you Note that this is not a requirement for NCP to continue working properly. Do you want to continue? [y/N] error-message of 'ncp-update-nextcloud': Current Nextcloud version 25.0.13 I need a clear statement whether the problem is still being fixed or whether a new installation is now unavoidable. Thank you very much for your efforts! |
@FloKoll please post this support ticket to help.nextcloud.com with tag |
@FloKoll The next update for NCP will (internally) decouple the php upgrade and NC update, so it should be easier to give you instructions for fixing your situation aftwr said update. Please ping me once again when v1.55.0 is out |
@sunjam done --> https://help.nextcloud.com/t/upgrade-of-nextcloud-25-server-not-possible-debian-11-php-7-4/201435 |
For internal testing and notes. Do not expect support!!!!!! Please do report testing issues here.
Debian 12 Bookworm - release schedule
June 10th release date from https://wiki.debian.org/DebianBookworm
Assume mid-2023 for formal stable.
The text was updated successfully, but these errors were encountered: