Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
34.0.0
- Operating system and version (e.g., Ubuntu 24.04):
TrueNas 25.10
- Web server and version (e.g, Apache 2.4.25):
Apache
- Reverse proxy and version _(e.g. nginx 1.27.2)
Caddy
- PHP version (e.g, 8.3):
8.3.33
- Is this the first time you’ve seen this error? (Yes / No):
no
- When did this problem seem to first start?
When replacing OnlyOffice with Euro-Office
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
When AIO restarts Nextcloud (either manually or for auto backups/upadates, nextcloud office app is disabled by Nextcloud with the message “euro-office did not start in time”, even though the underlying container eventually does start successfully (see logs below). Claude considers it to be caused by the startup/health check happening too early, before PostgreSQL finishes a slow crash-recovery sequence.
Steps to replicate it (hint: details matter!):
-
Select Euro-Office as the Office Suite integration in the AIO interface.
-
Let AIO restart the containers.
-
Euro-office takes too long to start and is considered failed by nextcloud.
Log entries
Euro-Office
* Starting PostgreSQL 16 database server
* Removed stale pid file.
Error: /usr/lib/postgresql/16/bin/pg_ctl ... exited with status 1:
2026-09-13 04:02:15.717 UTC [56] LOG: starting PostgreSQL 16.14 ...
2026-09-13 04:02:16.099 UTC [59] LOG: database system was interrupted; last known up at 2026-08-04 08:21:04 UTC
2026-09-13 04:02:26.274 UTC [59] LOG: syncing data directory (fsync), elapsed time: 10.14 s, current path: ./base/5/2703
2026-09-13 04:02:36.189 UTC [59] LOG: syncing data directory (fsync), elapsed time: 20.06 s, current path: ./base/5/2619_vm
2026-09-13 04:02:46.325 UTC [59] LOG: syncing data directory (fsync), elapsed time: 30.19 s, current path: ./base/5/3608
2026-09-13 04:02:56.263 UTC [59] LOG: syncing data directory (fsync), elapsed time: 40.13 s, current path: ./base/5/3394_vm
2026-09-13 04:03:06.668 UTC [59] LOG: syncing data directory (fsync), elapsed time: 50.54 s, current path: ./base/1/4170
pg_ctl: server did not start in time
...fail!
* Starting PostgreSQL 16 database server
* Removed stale pid file.
Error: /usr/lib/postgresql/16/bin/pg_ctl ... exited with status 1:
2026-09-13 04:03:16.309 UTC [56] LOG: starting PostgreSQL 16.14 ...
2026-09-13 04:03:16.320 UTC [59] LOG: database system was interrupted; last known up at 2026-08-04 08:21:04 UTC
2026-09-13 04:03:26.438 UTC [59] LOG: syncing data directory (fsync), elapsed time: 10.10 s, current path: ./base/1/2600_fsm
2026-09-13 04:03:36.355 UTC [59] LOG: syncing data directory (fsync), elapsed time: 20.02 s, current path: ./base/1/2699
2026-09-13 04:03:46.339 UTC [59] LOG: syncing data directory (fsync), elapsed time: 30.01 s, current path: ./base/4/6117
2026-09-13 04:03:56.423 UTC [59] LOG: syncing data directory (fsync), elapsed time: 40.09 s, current path: ./base/4/2753_vm
2026-09-13 04:04:06.471 UTC [59] LOG: syncing data directory (fsync), elapsed time: 50.14 s, current path: ./base/16385/3596
pg_ctl: server did not start in time
...fail!
* Starting PostgreSQL 16 database server
...done.
Postgres schema already present, skipping.
* Starting RabbitMQ Messaging Server rabbitmq-server
...done.
Starting redis-server: redis-server.
* Starting nginx nginx
...done.
...
2026-09-13 04:14:31,632 INFO spawned: 'converter' with pid 1297
2026-09-13 04:14:31,636 INFO spawned: 'docservice' with pid 1298
2026-09-13 04:14:33,039 INFO success: converter entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-13 04:14:33,039 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
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": {
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"check_data_directory_permissions": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 3,
"read_timeout": 10
},
"overwritehost": HIDDEN,
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
HIDDEN
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "34.0.0.12",
"overwrite.cli.url": HIDDEN,
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"updatechecker": true,
"updatedirectory": "\/nc-updater",
"loglevel": 2,
"app_install_overwrite": [
"nextcloud-aio"
],
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": 10485760,
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"enabledPreviewProviders": {
"1": "OC\\Preview\\Image",
"2": "OC\\Preview\\MarkDown",
"3": "OC\\Preview\\MP3",
"4": "OC\\Preview\\TXT",
"5": "OC\\Preview\\OpenDocument",
"6": "OC\\Preview\\Movie",
"7": "OC\\Preview\\Krita",
"0": "OC\\Preview\\Imaginary",
"23": "OC\\Preview\\ImaginaryPDF",
"24": "OCA\\Eurooffice\\Preview"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": 30,
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"maintenance_window_start": 100,
"allow_local_remote_servers": true,
"davstorage.request_timeout": 3600,
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"files_external_allow_create_new_local": true,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"onlyoffice": {
"editors_check_interval": 0,
"jwt_secret": "***REMOVED SENSITIVE VALUE***",
"jwt_header": "AuthorizationJwt"
},
"config_preset": 2,
"telemetry.enabled": false,
"serverid": 445,
"log_type_audit": "file",
"logfile_audit": "\/var\/www\/html\/data\/audit.log",
"update_channel": "stable",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": true,
"mail_sendmailmode": "smtp",
"mail_smtpstreamoptions": {
"ssl": {
"allow_self_signed": false,
"verify_peer": true,
"verify_peer_name": true
}
},
"mail_smtpport": "587",
"eurooffice": {
"editors_check_interval": 0,
"jwt_secret": HIDDEN,
"jwt_header": "AuthorizationJwt"
},
"AIO_VERSION": "v13.6.0",
"DOMAIN": HIDDEN
}
}
Apps
Enabled:
- activity: 7.0.0
- admin_audit: 1.24.0
- appstore: 1.0.0
- assistant: 3.5.0
- bruteforcesettings: 7.0.0
- calendar: 6.5.4
- circles: 34.0.0
- cloud_federation_api: 1.18.0
- comments: 1.24.0
- contacts: 8.8.1
- contactsinteraction: 1.15.0
- dashboard: 7.14.0
- dav: 1.39.0
- deck: 1.18.4
- eurooffice: 11.0.4
- external: 9.0.1
- federatedfilesharing: 1.24.0
- federation: 1.24.0
- files: 2.6.0
- files_automatedtagging: 5.0.0
- files_downloadlimit: 5.2.0-dev.0
- files_external: 1.26.0
- files_lock: 34.0.0
- files_pdfviewer: 7.0.0-dev.0
- files_reminders: 1.7.0
- files_retention: 5.0.0
- files_sharing: 1.26.0
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- firstrunwizard: 7.0.0-dev.0
- google_synchronization: 4.2.0
- gpoddersync: 3.17.0
- guests: 4.9.0
- integration_homeassistant: 0.0.8
- integration_openai: 4.5.2
- integration_paperless: 1.0.14
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- mail: 5.11.5
- musicsheetviewer: 1.3.1
- nextcloud-aio: 0.8.0
- nextcloud_announcements: 6.0.0
- notes: 6.0.2
- notifications: 7.0.0-dev.1
- notify_push: 1.4.0
- oauth2: 1.22.0
- office: 1.0.0
- password_policy: 6.0.0-dev.0
- photos: 7.0.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- recommendations: 7.0.0-dev.0
- related_resources: 5.0.0-dev.0
- repod: 4.3.1
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- spreed: 24.0.5
- support: 6.0.0
- survey_client: 6.0.0-dev.0
- systemtags: 1.24.0
- tasks: 0.18.1
- text: 8.0.0
- theming: 2.9.0
- twofactor_backupcodes: 1.23.0
- twofactor_totp: 16.0.0
- twofactor_webauthn: 2.7.1
- updatenotification: 1.24.0
- user_oidc: 8.11.0
- user_status: 1.14.0
- viewer: 7.0.0-dev.0
- weather_status: 1.14.0
- webhook_listeners: 1.6.0
- whiteboard: 1.5.9
- workflowengine: 2.16.0
Disabled:
- app_api: 34.0.0 (installed 33.0.0)
- encryption: 2.22.0
- integration_google: 4.4.0 (installed 4.4.0)
- suspicious_login: 12.0.0-dev.0
- twofactor_nextcloud_notification: 8.0.0
- user_ldap: 1.25.0
Possible fixes / things to check
- Ensure PostgreSQL is given enough time to shut down cleanly (SIGTERM with adequate grace period) before the container is stopped during the automatic restart/update routine, so it doesn’t need a full data-directory fsync on the next start.
- Increase (or make configurable) the startup timeout used by AIO and/or Nextcloud to determine whether the Euro-Office container “started in time,” so it accounts for legitimate slow-but-successful startups like this one.
- Maybe allow for an option to automatically start the app if it was disabled due to “not starting in time” ?