The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.7
- Operating system and version (e.g., Ubuntu 24.04):
Debian 12
- Web server and version (e.g, Apache 2.4.25):
Nginx
- PHP version (e.g, 8.3):
8.2
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
unknown
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Archive
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
When i create a new E-Mail with the Mail App, it is saved as Draft after some minutes. This expected and fine. However, when i re-open the draft mail all the newline characters are ignored and all text is in one line. If i open the drafted mail in a other Mail app, the newlines are available.
Steps to replicate it (hint: details matter!):
- Create a new Mail
- Write some lines and use line breaks/newlines
- Wait some time, so that the draft mail is saved
- Close the editor
- Open the draft mail with some other Mailapp: Newlines are available
- Re-Open the draft Mail with the Nextcloud Mail App: Newlines are removed
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.7.1",
"overwrite.cli.url": "https:\/\/box.pfohlnet.de",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memories.db.triggers.fcu": true,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\Movie"
],
"preview_max_x": 1024,
"preview_max_y": 1024,
"maintenance_window_start": 1,
"maintenance": false,
"default_phone_region": "DE",
"mail_smtpmode": "sendmail",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": true,
"mail_smtpport": "587",
"loglevel": 3,
"debug": false,
"overwriteprotocol": "https",
"activity_expire_days": 14,
"auth.bruteforce.protection.enabled": true,
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"logtimezone": "Europe\/Berlin",
"remember_login_cookie_lifetime": 36000,
"session_lifetime": 36000,
"session_keepalive": true,
"auto_logout": false,
"preview_max_scale_factor": 1,
"profile.enabled": false,
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"preview_format": "webp",
"app_install_overwrite": [],
"memories.vod.disable": false,
"memories.video_default_quality": "-2",
"memories.vod.use_transpose": true,
"memories.vod.use_gop_size": true,
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"memories.gis_type": 1,
"defaultapp": "",
"forbidden_filename_characters": [
"\\",
"\/"
],
"forbidden_filename_extensions": [
".filepart",
".part"
],
"memories.index.mode": "3",
"filesystem_check_changes": 0
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- bookmarks: 15.1.3
- bruteforcesettings: 4.0.0
- calendar: 5.3.8
- cloud_federation_api: 1.14.0
- contacts: 7.2.3
- dashboard: 7.11.0
- dav: 1.33.0
- dav_push: 0.0.3
- federatedfilesharing: 1.21.0
- files: 2.3.1
- files_external: 1.23.0
- files_pdfviewer: 4.0.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 5.1.10
- memories: 7.6.1
- nextcloud_announcements: 3.0.0
- notes: 4.12.2
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0
- previewgenerator: 5.9.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recognize: 9.0.3
- serverinfo: 3.0.0
- settings: 1.14.0
- side_menu: 5.1.1
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- text: 5.0.0
- theming: 2.6.1
- theming_customcss: 1.18.0
- twofactor_backupcodes: 1.20.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- viewer: 4.0.0
- workflowengine: 2.13.0
Disabled:
- activity: 4.0.0 (installed 4.0.0)
- admin_audit: 1.21.0 (installed 1.21.0)
- app_api: 5.0.2 (installed 5.0.2)
- circles: 31.0.0 (installed 31.0.0)
- comments: 1.21.0 (installed 1.21.0)
- contactsinteraction: 1.12.0 (installed 1.12.0)
- encryption: 2.19.0 (installed 2.19.0)
- federation: 1.21.0 (installed 1.21.0)
- files_downloadlimit: 4.0.0 (installed 4.0.0)
- files_reminders: 1.4.0 (installed 1.4.0)
- files_versions: 1.24.0 (installed 1.24.0)
- firstrunwizard: 4.0.0 (installed 4.0.0)
- privacy: 3.0.0 (installed 3.0.0)
- recommendations: 4.0.0 (installed 4.0.0)
- related_resources: 2.0.0 (installed 2.0.0)
- sharebymail: 1.21.0 (installed 1.21.0)
- support: 3.0.0 (installed 3.0.0)
- survey_client: 3.0.0 (installed 3.0.0)
- twofactor_nextcloud_notification: 5.0.0 (installed 5.0.0)
- user_ldap: 1.22.0
- user_status: 1.11.0 (installed 1.11.0)
- weather_status: 1.11.0 (installed 1.11.0)
- webhook_listeners: 1.2.0 (installed 1.2.0)