nextcloudpi icon indicating copy to clipboard operation
nextcloudpi copied to clipboard

Add support for Debian Buster

Open pmeckoni opened this issue 7 years ago • 20 comments

With the recent release of Debian Buster please consider adding Debian 10 Buster to the list of supported systems.

pmeckoni avatar Jul 12 '19 07:07 pmeckoni

I also would like to know how to safely upgrade my debian stretch running NCP to debian buster.

Thanks

feutl avatar Jul 12 '19 08:07 feutl

@pmeckoni Buster is being tested, there already is an image for RPI at https://ownyourbits.com/downloads/testing/

@feutl This is not the place to get assistance, please use the forum.

If you want to help testing, comment here or join us at https://t.me/NextCloudPi

ovpc avatar Jul 12 '19 08:07 ovpc

Tested ncp-dist-upgrade on rpi3b https://pastebin.com/UNBtZbtJ Looks from nc-info only php down, other services are up

ovpc avatar Jul 12 '19 16:07 ovpc

@ovpc I know how to upgrade a debian system, but I already learned something new - the command ncp-dist-upgrade ;) I am waiting until someone officially says that an upgrade is safe, but thanks

feutl avatar Jul 15 '19 14:07 feutl

@feutl I tested it on three devices. More testers are welcome. OPVC's pi died with HW problems so his upgrade didn't go through.

If it fails for whatever reason (like some package needs dependencies), ncp-dist-upgrade can be ran again after the conflict is fixed manually

nachoparker avatar Jul 15 '19 20:07 nachoparker

@nachoparker well thanks, I gonna test tomorrow evening :)

feutl avatar Jul 16 '19 06:07 feutl

Instructions:

ncp-update devel
ncp-dist-upgrade

nachoparker avatar Jul 16 '19 23:07 nachoparker

I would love a couple testers giving me the thumbs up so I can merge to master soon and make it available to everyone.

nachoparker avatar Jul 17 '19 10:07 nachoparker

On rpi3b fresh install latest image, ncp-distr-upgrade ended with 👍 Maintenance mode disabled Upgrade to buster successful

Just imagick missing warning in NC admin NC16 0 3BusterImagickWarningScreenshot2019-07-17_13-36-15

NCPweb shows Raspbian 10 NCPv1 15 0develScreenshot2019-07-17_13-35-18

Thank you! Let me know if want big uploads tested ?

ovpc avatar Jul 17 '19 11:07 ovpc

When trying to enable ufw:

ERROR: Couldn't determine iptables version

ovpc avatar Jul 17 '19 14:07 ovpc

iptables should be fine after a reboot.

I disabled imagick because of some security concerns

https://github.com/nextcloud/server/issues/13099

Probably nothing serious but just to be safe, let's wait for feedback from the NC security team.

nachoparker avatar Jul 17 '19 17:07 nachoparker

many thanks!

nachoparker avatar Jul 17 '19 17:07 nachoparker

Yep, ufw fine after reboot.

ovpc avatar Jul 17 '19 18:07 ovpc

merging Buster

nachoparker avatar Jul 18 '19 02:07 nachoparker

So now we should have Debian Buster listed in the "Supported Systems" along with Debian Stretch on the webpage https://ownyourbits.com/nextcloudpi/ ?

pmeckoni avatar Jul 19 '19 02:07 pmeckoni

Sorry for taking me so long I did an upgrade on my x86 machine running debian installed via ncp script. It ran through without errors and I am on buster now, and on ncp 15.0

but still errors show up even after the reboot

  • imagick (which is stated above) and
sudo ncp-config
cat: /var/run/.ncp-latest-version: No such file or directory
Running nc-update
Downloading updates
Performing updates
Update to buster available. Type 'sudo ncp-dist-upgrade' to upgrade
Unknown user

feutl avatar Jul 19 '19 10:07 feutl

I reran the ncp-dist-upgrade and did get the following, have no idea how to fix this.

$ sudo ncp-dist-upgrade 
Already on the lastest recommended distribution. Abort.
$ sudo ncp-config 
Running nc-update
Downloading updates
Performing updates
Update to buster available. Type 'sudo ncp-dist-upgrade' to upgrade
Unknown user
Done. Press any key...

I also figured out that smbclient was removed and not installed again. This made my mounted smb shares unusable inside nextcloud. apt install smbclient fixed it.

Upgrade to 16.0.3 also worked after a reboot just fine.

feutl avatar Jul 19 '19 12:07 feutl

@pmeckoni good point, thanks, I just did some updates to that page

@feutl you can ignore the Imagick warning. I removed it on purpose for security reasons but it's only used by the theming app. You can re-add it if you want it. Also fixed the false recommendation to dist upgrade again.

Great catch with smbclient. Forgot to add it to dist upgrade. Fixed too.

Thanks for the help

nachoparker avatar Jul 19 '19 23:07 nachoparker

ncp-dist-upgrade on a Rock64 received the following:

Processing triggers for dbus (1.12.16-1) ... Errors were encountered while processing: locales E: Sub-process /usr/bin/dpkg returned an error code (1) Something went wrong. Fix it and try again

Did sudo dpkg --configure -a then ncp-dist-upgrade worked fine.

Thanks!

devincowan avatar Jul 20 '19 20:07 devincowan

Hello,

I pass to ncp-dist-upgrade on rpi3b, i reboot two times and follow the command i need to do. The serveur works, i have acces with the android app and pc app. I have just after a problem with the internet interface (on firefox and chrome) but it seems to work 2 hours after (not tested NCP access).

Thank you!!!

Edit : all works!! ;) The problem come from Kaspersky total security that corrupt the page

cervorange avatar Aug 17 '19 17:08 cervorange