[SOLVED] Nexcloud broken after upgrade PHP 7.4

Problems with packages? Post here, using [tags] of the package name.

[SOLVED] Nexcloud broken after upgrade PHP 7.4

Postby sergeygals » Wed Dec 04, 2019 8:04 am

The issue the same with https://bugs.archlinux.org/task/64689
But I can't find PHP 7.3 in http://hu.mirror.archlinuxarm.org/armv7h/extra/
Where I can find php 7.3 packages ?
Last edited by sergeygals on Wed Dec 04, 2019 2:17 pm, edited 1 time in total.
sergeygals
 
Posts: 2
Joined: Wed Dec 04, 2019 7:59 am

Re: Nexcloud broken after upgrade PHP 7.4

Postby karog » Wed Dec 04, 2019 12:22 pm

Did you look in /var/cache/pacman/pkg ?
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: Nexcloud broken after upgrade PHP 7.4

Postby sergeygals » Wed Dec 04, 2019 2:16 pm

Thanks ! /var/cache/pacman/pkg/ helps

so workaround in my case is
$this->bbcode_second_pass_code('', '
pacman -U /var/cache/pacman/pkg/php-fpm-7.3.11-1-armv7h.pkg.tar.xz \
/var/cache/pacman/pkg/php-gd-7.3.11-1-armv7h.pkg.tar.xz \
/var/cache/pacman/pkg/php-intl-7.3.11-1-armv7h.pkg.tar.xz \
/var/cache/pacman/pkg/php-7.3.11-1-armv7h.pkg.tar.xz
systemctl restart php-fpm
')

and waiting nexcloud 18 with
$this->bbcode_second_pass_code('', '
➜ ~ sudo grep ^Ignore /etc/pacman.conf
IgnorePkg = php php-apcu php-fpm php-gd php-igbinary php-imagick php-intl php-redis
')
sergeygals
 
Posts: 2
Joined: Wed Dec 04, 2019 7:59 am

Re: [SOLVED] Nexcloud broken after upgrade PHP 7.4

Postby stefguy » Fri Dec 20, 2019 2:08 pm

Ignoring the php stuff in pacman.conf seems to be a good idea when running NextCloud/Owncloud on Arch. Arch's php stuff is usually too new. I'm running Owncloud on archlinuxarm for about 5 years now, and after php updates have blown up my setup two times I now have the php stuff permanently ignored. When new php updates are available pacman -Syu shows that and you can temporarily allow updates, do the update and then ignore the packages again. When a major update/upgrade (like php 7.3 -> 7.4) comes up you have to wait for OC/NC supporting that version, then upgrade OC/NC first and then update php.

The longest waiting period I had was about a year, with php updates blocked and apache and other stuff updating .. no issues with that.

just my $0.02,
stefguy
stefguy
 
Posts: 18
Joined: Fri Jul 13, 2018 2:55 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 7 guests