Skip to content
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

Bullseye #1342

Merged
merged 1 commit into from
Dec 9, 2021
Merged

Bullseye #1342

merged 1 commit into from
Dec 9, 2021

Conversation

nachoparker
Copy link
Member

@nachoparker nachoparker commented Sep 21, 2021

@nachoparker nachoparker mentioned this pull request Sep 21, 2021
@nachoparker nachoparker force-pushed the devel branch 3 times, most recently from e1d02e1 to eef7b09 Compare September 25, 2021 17:08
@nachoparker nachoparker force-pushed the devel branch 14 times, most recently from f68e174 to a0728d7 Compare October 4, 2021 21:14
@nachoparker nachoparker force-pushed the bullseye branch 3 times, most recently from ab927e0 to 3f25e27 Compare October 5, 2021 18:47
@nachoparker nachoparker force-pushed the devel branch 8 times, most recently from e90bc02 to be8f194 Compare October 14, 2021 17:09
@ghost
Copy link

ghost commented Nov 25, 2021

Since a few days I am running my Pi4 with bullseye NC 22 because there will be a security problem with buster and php 7.3.

grafik
found on https://www.php.net/supported-versions.php

So php 7.3 will not receive updates after 6.12.21. And php 7.4 will get no security updates 1 year later.
So I decided to upgrade the bullseye php-version to php 8.0 - "assisted" by this sources:

https://www.c-rieger.de/nextcloud-21-mit-php-8-0-nachruesten/ - without special settings.
https://computingforgeeks.com/how-to-install-php-on-debian-linux/

php8 is shipped with the smbclient and supported until Nov 2023.
I copied the 90-ncp.ini to the fpm\conf.d directory and enabled http2 for apache.

With this configuration I am safe with bullseye and php until Nov. 2023.
Only NCP thinks my bullseye-system is outdated.
Hope that helps.

@ghost
Copy link

ghost commented Dec 1, 2021

I just noticed a few things:

The /usr/local/bin/ncp-diag - file is checking for
buster:
echo "MariaDB service|$( pgrep -c mysqld &>/dev/null && echo up || echo down )"

but in bullseye it is running as mariadbd :
echo "MariaDB service|$( pgrep -c mariadbd &>/dev/null && echo up || echo down )"


I don't know with which configuration php7.4 is enabled by default, but in
/etc/php/8.0/fpm/pool.d/www.conf

the configuration for pm is set to dynamic pm = dynamic
and the other parameters for start_servers etc. are also enabled. Maybe php 7.4 is working in the same way?
So the RAM is used dynamically and normally lower than with static settings.
Enabling the jit-option in php 8.0 for example needs:
; Enabling jit itself by setting th buffer-size
opcache.jit_buffer_size=50M
; configuration for jit s. https://stitcher.io/blog/php-8-jit-setup
opcache.jit=0255

Hope that helps.

@BJKle
Copy link

BJKle commented Dec 7, 2021

yes, we can do with the binary version, so that's what we did

Sorry, I have to ask again.
Is there a target date or week for a release?

@nachoparker nachoparker force-pushed the bullseye branch 6 times, most recently from 6d17616 to 2ccab70 Compare December 9, 2021 21:31
@nachoparker
Copy link
Member Author

@UN-pi thanks good catch. thanks

@nachoparker nachoparker force-pushed the bullseye branch 2 times, most recently from 3000039 to 93d0d96 Compare December 9, 2021 22:41
Signed-off-by: nachoparker <nacho@ownyourbits.com>
@nachoparker nachoparker marked this pull request as ready for review December 9, 2021 22:44
@nachoparker nachoparker closed this Dec 9, 2021
@nachoparker nachoparker reopened this Dec 9, 2021
@nachoparker nachoparker merged commit deb2971 into devel Dec 9, 2021
@delete-merged-branch delete-merged-branch bot deleted the bullseye branch December 9, 2021 22:44
@BJKle
Copy link

BJKle commented Dec 10, 2021

@nachoparker Busted. After upgrading. NCPI doesn't start anymore. Started fresh (twice) using the current image and upgraded again. Same result. Something is wrong. Can't check since I'm not having a mini hdmi cable.

@nachoparker
Copy link
Member Author

nachoparker commented Dec 11, 2021

please report issues here. Will need some sort of logs or something to work with

https://help.nextcloud.com/t/ncp-upgrade-to-debian-bullseye-thread/128951/3

@Maxxxel
Copy link

Maxxxel commented Dec 18, 2021

Is this useable now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants