[opensuse] Troubles with nextcloud during latest update
Hi all, I have nextcloud client in TW. During the latest zypper dup command I have messages that warn me of the misfit of php packages. What do you suggest to do? Deleting nextcloud is not an option. The other possibilities offered are keeping the old apache_mod_php7, or break nextcloud package by disregarding some dependencies. Thanks, Albert ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 21.12.19 um 16:28 schrieb oszko@chem.u-szeged.hu:
I have nextcloud client in TW. During the latest zypper dup command I have messages that warn me of the misfit of php packages. What do you suggest to do? Deleting nextcloud is not an option. The other possibilities offered are keeping the old apache_mod_php7, or break nextcloud package by disregarding some dependencies.
better send the detailed error you encountered during upgrade... thal
Sorry, it is in Hungarian... I tried to translate what I got. Idézet (Alex Bihlmaier <thalunil@kallisti.at>):
Am 21.12.19 um 16:28 schrieb oszko@chem.u-szeged.hu:
I have nextcloud client in TW. During the latest zypper dup command I have messages that warn me of the misfit of php packages. What do you suggest to do? Deleting nextcloud is not an option. The other possibilities offered are keeping the old apache_mod_php7, or break nextcloud package by disregarding some dependencies.
better send the detailed error you encountered during upgrade...
thal
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op zaterdag 21 december 2019 16:54:10 CET schreef oszko@chem.u-szeged.hu:
Sorry, it is in Hungarian... I tried to translate what I got.
Do: LANG=C sudo zypper dup -- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Thanks for the tip! I get: Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... 2 Problems: Problem: nextcloud-17.0.1-1.1.noarch requires mod_php_any < 7.4.0, but this requirement cannot be provided Problem: php7-APCu-5.1.18-1.1.x86_64 requires php(api) = 20180731, but this requirement cannot be provided Problem: nextcloud-17.0.1-1.1.noarch requires mod_php_any < 7.4.0, but this requirement cannot be provided deleted providers: apache2-mod_php7-7.3.11-2.3.x86_64 Solution 1: deinstallation of nextcloud-17.0.1-1.1.noarch Solution 2: keep obsolete apache2-mod_php7-7.3.11-2.3.x86_64 Solution 3: break nextcloud-17.0.1-1.1.noarch by ignoring some of its dependencies Choose from above solutions by number or skip, retry or cancel [1/2/3/s/r/c/d/?] (c): Idézet (Knurpht-openSUSE <knurpht@opensuse.org>):
Op zaterdag 21 december 2019 16:54:10 CET schreef oszko@chem.u-szeged.hu:
Sorry, it is in Hungarian... I tried to translate what I got.
Do: LANG=C sudo zypper dup
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* oszko@chem.u-szeged.hu <oszko@chem.u-szeged.hu> [12-21-19 12:51]:
Thanks for the tip!
I get:
Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... 2 Problems: Problem: nextcloud-17.0.1-1.1.noarch requires mod_php_any < 7.4.0, but this requirement cannot be provided Problem: php7-APCu-5.1.18-1.1.x86_64 requires php(api) = 20180731, but this requirement cannot be provided
Problem: nextcloud-17.0.1-1.1.noarch requires mod_php_any < 7.4.0, but this requirement cannot be provided deleted providers: apache2-mod_php7-7.3.11-2.3.x86_64 Solution 1: deinstallation of nextcloud-17.0.1-1.1.noarch Solution 2: keep obsolete apache2-mod_php7-7.3.11-2.3.x86_64 Solution 3: break nextcloud-17.0.1-1.1.noarch by ignoring some of its dependencies
Choose from above solutions by number or skip, retry or cancel [1/2/3/s/r/c/d/?] (c):
Idézet (Knurpht-openSUSE <knurpht@opensuse.org>):
Op zaterdag 21 december 2019 16:54:10 CET schreef oszko@chem.u-szeged.hu:
Sorry, it is in Hungarian... I tried to translate what I got.
Do: LANG=C sudo zypper dup
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
so choose option (Solution) 2 and wait until the package requirements are available to complete updating nextcloud. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2019-12-21 at 16:28 +0100, oszko@chem.u-szeged.hu wrote:
Hi all,
I have nextcloud client in TW. During the latest zypper dup command I have messages that warn me of the misfit of php packages. What do you suggest to do? Deleting nextcloud is not an option. The other possibilities offered are keeping the old apache_mod_php7, or break nextcloud package by disregarding some dependencies.
Thanks, Albert
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
20191216) PHP7 is changing from 7.3 to 7.4. It seems that php7-APCu had an issue and the updated version is not yet available. - I'm
I'm also running NextCloud on Tumbleweed. In the last update (20191214 patiently waiting for the updated php7-APCu. Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I have nextcloud client in TW. During the latest zypper dup command I have messages that warn me of the misfit of php packages. What do you suggest to do? Deleting nextcloud is not an option. The other possibilities offered are keeping the old apache_mod_php7, or break nextcloud package by disregarding some dependencies. There is currently no solution. TW has updated PHP to version 7.4 and
Albert wrote: the latest Nextcloud version 17.0.2 and even Git-master does not support PHP 7.4. See https://github.com/nextcloud/server/blob/master/lib/versioncheck.php Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 21 Dec 2019 16:28:58 +0100 oszko@chem.u-szeged.hu wrote:
Hi all,
I have nextcloud client in TW. During the latest zypper dup command I have messages that warn me of the misfit of php packages. What do you suggest to do? Deleting nextcloud is not an option. The other possibilities offered are keeping the old apache_mod_php7, or break nextcloud package by disregarding some dependencies.
Thanks, Albert
In addition to other suggestions that have already been made (use option 2, Luke :) here's another couple of possibilities: (a) I don't use nextcloud and know very little about PHP but I do know it is possible to have more than one version of PHP on a machine. So reconfigure nextcloud to explicitly use a local/private copy of the existing PHP and then upgrade the system PHP. (b) run nextcloud in a container/VM I don't know whether either of these possibilities are attractive or even possible, but better suggested than not. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Umm, after selecting option 2 for about 10 instances, I met another message I do not understand at the moment. I will look after the other possibilities, e.g how to run Nextcloud in a container. I used to have Dropbox earlier, but it does not support XFS any longer.. Maybe I should set up my own cloud... Albert Idézet (Dave Howorth <dave@howorth.org.uk>):
On Sat, 21 Dec 2019 16:28:58 +0100 oszko@chem.u-szeged.hu wrote:
Hi all,
I have nextcloud client in TW. During the latest zypper dup command I have messages that warn me of the misfit of php packages. What do you suggest to do? Deleting nextcloud is not an option. The other possibilities offered are keeping the old apache_mod_php7, or break nextcloud package by disregarding some dependencies.
Thanks, Albert
In addition to other suggestions that have already been made (use option 2, Luke :) here's another couple of possibilities:
(a) I don't use nextcloud and know very little about PHP but I do know it is possible to have more than one version of PHP on a machine. So reconfigure nextcloud to explicitly use a local/private copy of the existing PHP and then upgrade the system PHP.
(b) run nextcloud in a container/VM
I don't know whether either of these possibilities are attractive or even possible, but better suggested than not.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dave Howorth wrote:
(a) I don't use nextcloud and know very little about PHP but I do know it is possible to have more than one version of PHP on a machine. So reconfigure nextcloud to explicitly use a local/private copy of the existing PHP and then upgrade the system PHP. There is a PHP 7.3 repository. Unfortunately it's only available for openSUSE Leap 15.0 and 15.1:
https://download.opensuse.org/repositories/devel:/languages:/php:/php73/ May be someone should ask the repository owner, if the repository can be configured for Tumbleweed. Probably Nextcloud is not the only PHP software in openSUSE Tumbleweed which has problems with PHP 7.4. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 22 Dec 2019 22:30:03 +0100 Bjoern Voigt <bjoernv@arcor.de> wrote:
Dave Howorth wrote:
(a) I don't use nextcloud and know very little about PHP but I do know it is possible to have more than one version of PHP on a machine. So reconfigure nextcloud to explicitly use a local/private copy of the existing PHP and then upgrade the system PHP. There is a PHP 7.3 repository. Unfortunately it's only available for openSUSE Leap 15.0 and 15.1:
https://download.opensuse.org/repositories/devel:/languages:/php:/php73/
May be someone should ask the repository owner, if the repository can be configured for Tumbleweed. Probably Nextcloud is not the only PHP software in openSUSE Tumbleweed which has problems with PHP 7.4.
But would installing from a repository allow it to operate in parallel to the main system installation of 7.4, which may well be wanted by other things?
Greetings, Björn
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
But would installing from a repository allow it to operate in parallel to the main system installation of 7.4, which may well be wanted by other things? It depends. nextcloud-17.0.1-87.1.noarch for instance has a dependency to mod_php_any >= 7.0.0 and mod_php_any < 7.4.0. PHP 7.3 would match
Dave Howorth wrote: this. Other PHP packages may have other dependencies. If at least one PHP package depends on PHP >= 7.4.0, then PHP 7.3 will not work without dependency errors. Of course you can not mix PHP package versions on openSUSE. If you downgrade to PHP 7.3, all PHP 7.4 packages must be downgraded. # rpm -q nextcloud -R | grep php mod_php_any >= 7.0.0 mod_php_any < 7.4.0 php-bz2 php-ctype php-curl php-dom php-fileinfo php-ftp php-gd php-iconv php-intl php-json php-ldap php-mbstring php-mysql php-openssl php-pear php-posix php-xmlreader php-xmlwriter php-zip php-zlib Personally I have a "fake" mod_php7 package, because I use php7-fpm and this is incompatible with mod_php7. Installing "fake" mod_php7 packages may be an option to solve dependency problems. I installed the package manually like this: # zypper install --download-only apache2-mod_php7 # rpm -Uvh --justdb /var/cache/zypp/packages/repo-oss/x86_64/apache2-mod_php7-7.4.0-1.1.x86_64.rpm --nodeps Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 22 Dec 2019 23:15:07 +0100 Bjoern Voigt <bjoernv@arcor.de> wrote:
But would installing from a repository allow it to operate in parallel to the main system installation of 7.4, which may well be wanted by other things? It depends. nextcloud-17.0.1-87.1.noarch for instance has a dependency to mod_php_any >= 7.0.0 and mod_php_any < 7.4.0. PHP 7.3 would match
Dave Howorth wrote: this. Other PHP packages may have other dependencies. If at least one PHP package depends on PHP >= 7.4.0, then PHP 7.3 will not work without dependency errors.
Of course you can not mix PHP package versions on openSUSE. If you downgrade to PHP 7.3, all PHP 7.4 packages must be downgraded.
Which is exactly why I suggested making a local copy of 7.3 and reconfiguring nextcloud to use it. [snip]
Personally I have a "fake" mod_php7 package, because I use php7-fpm and this is incompatible with mod_php7. Installing "fake" mod_php7 packages may be an option to solve dependency problems.
I installed the package manually like this: # zypper install --download-only apache2-mod_php7 # rpm -Uvh --justdb /var/cache/zypp/packages/repo-oss/x86_64/apache2-mod_php7-7.4.0-1.1.x86_64.rpm --nodeps
Is that a way of doing what I suggested, or something different? I know nothing about rpm either! :)
Greetings, Björn
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dave Howorth wrote:
On Sun, 22 Dec 2019 23:15:07 +0100 Bjoern Voigt <bjoernv@arcor.de> wrote:
Of course you can not mix PHP package versions on openSUSE. If you downgrade to PHP 7.3, all PHP 7.4 packages must be downgraded. Which is exactly why I suggested making a local copy of 7.3 and reconfiguring nextcloud to use it.
[snip]
Personally I have a "fake" mod_php7 package, because I use php7-fpm and this is incompatible with mod_php7. Installing "fake" mod_php7 packages may be an option to solve dependency problems.
I installed the package manually like this: # zypper install --download-only apache2-mod_php7 # rpm -Uvh --justdb /var/cache/zypp/packages/repo-oss/x86_64/apache2-mod_php7-7.4.0-1.1.x86_64.rpm --nodeps Is that a way of doing what I suggested, or something different? I know nothing about rpm either! :) From the Apache/PHP/Mod_PHP perspective you can not have two active PHP versions. But two PHP versions can run in one Apache instance using PHP FPM. But configuring PHP FPM is a bit time consuming if you begin with this.
From the RPM perspective you can not have PHP 7.3 and PHP 7.4 packages installed together because both PHP versions have the same names. e.g. php7, php7-intl can be php7-7.3, php7-intl-7.3 or php7-7.4, php7-intl-7.4 etc.
All together I would recommend you to use PHP 7.3 (and only PHP 7.3) with Mod_PHP if Apache/PHP 7.3/Mod_PHP/Nextcloud is your setup. The RPM hack is only needed, if a PHP package stricktly requires PHP 7.4 - in fact it will run on PHP 7.3 too. The main problem is currently to get PHP 7.3 packages for TW. May be you find the PHP 7.3 packages in old Tumbleweed snapshots. Do you know the "tumbleweed" command to manage TW snapshots? I would try to download PHP 7.3 RPM packages directly, otherwise the whole TW system will stick on a snapshot. Later you can lock the PHP 7.3 packages with YaST or Zypper. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 2019-12-22 at 22:30 +0100, Bjoern Voigt wrote:
Dave Howorth wrote:
(a) I don't use nextcloud and know very little about PHP but I do know it is possible to have more than one version of PHP on a machine. So reconfigure nextcloud to explicitly use a local/private copy of the existing PHP and then upgrade the system PHP. There is a PHP 7.3 repository. Unfortunately it's only available for openSUSE Leap 15.0 and 15.1:
https://download.opensuse.org/repositories/devel:/languages:/php:/php73/
May be someone should ask the repository owner, if the repository can be configured for Tumbleweed. Probably Nextcloud is not the only PHP software in openSUSE Tumbleweed which has problems with PHP 7.4.
Greetings, Björn
So I branched the project in OBS and built php7.3.13 for Tumbleweed. I had to delete the _link file as it was linked to Factory and Factory is at 7.4. I installed them on my server and it does work. But, I don't really know how to build packages or code so I'm not confident that there is not some security hole(s) in the php7- packages I've built. It would be nice if someone knowledgeable would build a php7.3 repository for Tumbleweed until Nextcloud is ready for php7.4. I had been running Nextcloud on Leap 15.0 but when support was ending I decided to spin up a new Tumbleweed server on Linode. I'm not sure that was the right decision. The repository with the php7.3.13 packages I built are located here: http://download.opensuse.org/repositories/home:/chiefpete:/branches:/devel:/... USE AT YOUR OWN PERIL!! Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Alex Bihlmaier
-
Bjoern Voigt
-
Dave Howorth
-
Knurpht-openSUSE
-
Mark Petersen
-
oszko@chem.u-szeged.hu
-
Patrick Shanahan