Open jnweiger opened 2 years ago
The php-phpseclib
not found issue has been fixed, this was a typo adding 7.4 in the name. A background description has been added in the docs-server PR and a note in the public docs below the installation command. See https://doc.owncloud.com/server/10.10/admin_manual/installation/manual_installation/server_prep_ubuntu_22.04.html#clean-ubuntu-22-04-installation
See the IMPORTANT note at the introduction section regarding openSSL https://doc.owncloud.com/server/10.10/admin_manual/installation/manual_installation/server_prep_ubuntu_22.04.html#introduction
We ship 3 copies of the pure php code already with owncloud core:
find . -name phpseclib | xargs du -sh
3.0M ./lib/composer/phpseclib
1.4M ./apps/openidconnect/vendor/phpseclib
3.0M ./apps/files_external/3rdparty/phpseclib
So maybe it is actually harmful to also install a possibly older version from the distribution?
See the phpseclib release history: https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md
U20.04 phpseclib 2.0.23 (2019-09-16) U22.04 phpseclib 2.0.36 (2022-01-30) (https://packages.ubuntu.com/search?keywords=php-phpseclib&searchon=names)
Reading the code, ./lib/composer/phpseclib
uses phpseclib3 (at least a v3 version going back to 2020-12-16). With v3 uses namespace changed from phpseclib\ to \phpseclib3
Plus, our sharepoint app needs phpseclib to be installed. This was an issue (PR already merged) I remember hopefully correctly you raised...
This raises following issues:
Seen with encryption 1.5.2-rc1 and 1.5.1 and 1.5.0 (not a regression)
On a Ubuntu 22.04 system, php8 is default. We install 7.4 like this:
Note: there is no php7.4-phpseclib package currently available.
After installing owncloud 10.10.0 the following occ commands crash the system:
After that, the system is unusable.
Expected behaviour:
See also: