Bug 275235

Summary: www/nextcloud-mail-php82: Nextcloud mail flatpak errors
Product: Ports & Packages Reporter: LloydSystems <lloydsystems1>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description LloydSystems 2023-11-21 15:04:03 UTC
Overview:
The Nextcloud mail app produces repeated errors in the Apache logs and creates zombie processes related to "flatpak".

Steps to Reproduce:
Use the Nextcloud mail app and navigate through the message list.
Observe the Apache error logs.
Observe system processes with top/htop.

Actual Results:
Apache error logs collect multiple messages for:
  sh: flatpak: not found
  sh: kitinerary-extractor: not found
Top shows multiple processes with a zombie status:
  sh -c flatpak list --app
  
Expected Results:
No errors or zombie processes should be produced.
There should be no attempt by Nextcloud/mail to run flatpak.

Additional Information:
All software is installed from FreeBSD packages. The Nextcloud app store and updater is disabled in config.php (and will remain so) as I will only install/update from the packages.

Software Versions:
FreeBSD version is 13.2-p4. The Nextcloud software installed is:
nextcloud-php82             27.1.0 
nextcloud-calendar-php82    4.5.1
nextcloud-contacts-php82    5.4.2
nextcloud-mail-php82        3.4.0
nextcloud-notes-php82       4.8.1