Mail: Mail app not available for installation

Created on 22 Jan 2021  Â·  16Comments  Â·  Source: nextcloud/mail

Expected behavior

The mail app must show up in available apps from the Nextcloud web interface

Actual behavior

The app is not liste

Mail app

NA

Server configuration

Operating system: Debian 10

Web server: Apache

Database: MariaDB

PHP version: 7.3.19-1

Nextcloud Version: 20.0.5

Client configuration

Browser: Firefox 84.0.2 (64-bit)

Operating system: Ubuntu 20.10

Nextcloud Report attached
2021-01-22.txt

3. to review bug

All 16 comments

Up. Same here - Nextcloud 20.0.5.

Looks like I am affected as well, also on Nextcloud 20.0.5 fresh installation

@ChristophWurst

Thank you for suggesting this, I applied the fix mentioned, but it seems to have no effect, unfortunately

PHP version: 7.3.19-1

Do all of you use a php version like that, e.g. with the hyphen at the end?

Fix applied, nothing changed.

# php -version
PHP 7.3.19-1~deb10u1 (cli) (built: Jul  5 2020 06:46:45) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.19, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.19-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies

PHP 7.4.14 (cli) (built: Jan 13 2021 08:04:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.14, Copyright (c), by Zend Technologies

Something interesting. After fresh install it does not appear. Few days later it's on the store. Changes i have made since then ( installation ) are to enable opcache and redis ( may not be relevant ).

Fresh installed 9 days ago, mail app never appeared.
I've enabled opcache too, not redis.

Just upgraded to 20.0.6 and now the mail app is listed ...

Looking at https://github.com/nextcloud/server/commit/bedd9acf7874b836bef224989c2ce7f5e3b0a2fa I think we now do version comparisons wrong. PHP's version_compare will return false for version_compare('7.4.14', '7.4', '<='). But if the app says it's compatible with 7.4 then 7.4.14 is totally fine. 7.4 shouldn't be expanded to 7.4.0. I'll see how we can fix this.

Patch is at https://github.com/nextcloud/server/pull/25335. Please let me know if that helps.

@ChristophWurst It doesn't seem to do the job for me :/

@GuillaumeAmat any more info? Are you sure your server didn't just use a cached version of the filtered response? Check again now if my patch is still applied.

Oh you're right it's working now 👌 Thanks for the cache tip

Was this page helpful?
0 / 5 - 0 ratings