mailcow-dockerized icon indicating copy to clipboard operation
mailcow-dockerized copied to clipboard

Enable `posix_getpwuid` php function for nextcloud >= 28.0.2

Open mstinsky opened this issue 1 year ago • 6 comments

Summary

It seems like nextcloud >= 28.0.2 requires the posix_getpwuid php function to be enabled. I get the following error message in the Security & setup warnings panel:

Error occurred while checking server setup

->
"message":"Call to undefined function OCA\\Settings\\SetupChecks\\posix_getpwuid() in file '/web/nextcloud/apps/settings/lib/SetupChecks/AppDirsWithDifferentOwner.php' line 94","exception":{},"CustomMessage":"Call to undefined function OCA\\Settings\\SetupChecks\\posix_getpwuid() in file '/web/nextcloud/apps/settings/lib/SetupChecks/AppDirsWithDifferentOwner.php' line 94"

Motivation

Fix nextcloud Security & setup warnings panel.

Additional context

No response

mstinsky avatar Feb 04 '24 18:02 mstinsky

We could add this to the Docs but it won't be added to mailcow as we will remove the nextcloud from mailcow this year.

DerLinkman avatar Feb 05 '24 15:02 DerLinkman

Thanks for the answer.

In that case it would also be good to add a deprecation warning to the docs, so users can prepare to migrate to the official nextcloud container with their own nginx proxy configuration in mailcow.

mstinsky avatar Feb 05 '24 15:02 mstinsky

Yes we are planning this. If you want you do it

MAGICCC avatar Feb 05 '24 16:02 MAGICCC

We could add this to the Docs but it won't be added to mailcow as we will remove the nextcloud from mailcow this year.

Why? its such a good thing to have!!

pcace avatar Mar 06 '24 09:03 pcace

Because Nextcloud has nothing todo with mailing... as it needs custom modifications on our mailcow components with each releases of Nextcloud which we therefore would need implement into mailcow itself to let nextcloud be runnable, but we don't want for security reasons we decided to remove this feature by the end of the year.

DerLinkman avatar Mar 06 '24 13:03 DerLinkman

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

milkmaker avatar May 05 '24 14:05 milkmaker