Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail app not available for installation #4383

Closed
gabviv73 opened this issue Jan 22, 2021 · 22 comments · Fixed by nextcloud/server#25335
Closed

Mail app not available for installation #4383

gabviv73 opened this issue Jan 22, 2021 · 22 comments · Fixed by nextcloud/server#25335

Comments

@gabviv73
Copy link

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

@ChristophWurst
Copy link
Member

Sounds like nextcloud/server#25137

@reekol
Copy link

reekol commented Jan 23, 2021

Up. Same here - Nextcloud 20.0.5.

@snejball
Copy link

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

@ChristophWurst
Copy link
Member

@reekol @snejball read #4383 (comment)

@snejball
Copy link

snejball commented Jan 24, 2021

@ChristophWurst

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

@ChristophWurst
Copy link
Member

PHP version: 7.3.19-1

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

@gabviv73
Copy link
Author

gabviv73 commented Jan 25, 2021

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

@no-response no-response bot removed the needs info label Jan 25, 2021
@reekol
Copy link

reekol commented Jan 25, 2021

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

@reekol
Copy link

reekol commented Jan 25, 2021

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 ).

@gabviv73
Copy link
Author

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

@gabviv73
Copy link
Author

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

@ChristophWurst
Copy link
Member

Looking at nextcloud/server@bedd9ac 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.

@ChristophWurst
Copy link
Member

Patch is at nextcloud/server#25335. Please let me know if that helps.

@GuillaumeAmat
Copy link

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

@ChristophWurst
Copy link
Member

@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.

@GuillaumeAmat
Copy link

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

@schmichri
Copy link

schmichri commented Feb 2, 2021

@ChristophWurst Sorry. But for the stupids like me. Mail App is still not listed on my 20.0.6 (dockerbased) installation. What cache do I have to reset?

I can't install it via occ either.

occ app:install mail
Error: Could not download app mail

@ChristophWurst
Copy link
Member

did you apply the patch? if so, just wait an hour or so, I don't recall the cache TTL.

@ChristophWurst
Copy link
Member

Instructions are at nextcloud/server#25335 (comment)

@schmichri
Copy link

thanks a lot! I just understood a patch command. Love it!

@Javihache
Copy link

how do we patch for docker installations?

@schmichri
Copy link

I've done it inside the running container something like this:

docker exec -it -u www-data nextcloud_app_1   wget https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/25335.patch
docker exec -it -u www-data nextcloud_app_1  patch -p1 < 25335.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants