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):
32.0.9
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu server 24.04
- Web server and version (e.g, Apache 2.4.25):
- Server version: Apache/2.4.67 (Ubuntu)
- Reverse proxy and version _(e.g. nginx 1.27.2)
replace me
- 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?
after upgrading from 31 to 32
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare Metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
Good morning, I have a question because I’m not entirely sure what to do. Today I updated my Nextcloud to version 32. My admin panel asked me to update the MIME types in my database, and I ran the command: sudo -u www-data php occ maintenance:repair --include-expensive. Everything seemed to be going well until it reached the part about removing activity entries of private events. After two hours, I had to stop and take my Nextcloud installation out of maintenance mode, as I needed it. I decided to check the size of my oc_activity file in the database and found the following:
±--------±----------+
| Rows | Size (MB) |
±--------±----------+
| 3754386 | 3159.11 |
±--------±----------+
The quickest possible solutions I’ve found are to manually edit my database and perform these two actions:
-
Option A (Recommended): Only delete calendar and event logs to preserve other activity history.
sql
DELETE FROM oc_activity WHERE object_type = 'calendar' OR object_type = 'event';Usa el código con precaución.
-
Option B (Fastest): Completely wipe the activity history if the table size is massive (hundreds of MBs) and the command above hangs.
sql
TRUNCATE TABLE oc_activity;
My main question is: Would this delete all my users’ calendars? Would all the scheduled appointments be lost? Perhaps I should run the repair command on the weekend and let it run all weekend? (Although in these two hours of work, I haven’t seen the size of the database table decrease.)
Thank you very much for your attention; any advice is welcome.
Steps to replicate it (hint: details matter!):
-
execute sudo -u www-data occ maintenance:repair --include-expensive
-
wait for hours stuck at Remove activity entries of private events
-
It seems nothing changes in oc_activity
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
I cant find any log of this
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
not related to web browser
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
I think we dont need logs
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": [
"my.nextcloud.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "32.0.9.2",
"overwrite.cli.url": "https:\/\/my.nextcloud.com\/",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"has_rebuilt_cache": true,
"updater.release.channel": "stable",
"app_install_overwrite": [
"circles",
"news",
"twofactor_email"
],
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"maintenance": false,
"theme": "",
"loglevel": 0,
"default_phone_region": "ES",
"allow_local_remote_servers": true,
"trashbin_retention_obligation": "30",
"default_locale": "eu_ES",
"maintenance_window_start": 1,
"skeletondirectory": "",
"activity_expire_days": 365
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 5.0.0
- admin_audit: 1.22.0
- app_api: 32.0.0
- bruteforcesettings: 5.0.0
- calendar: 6.4.0
- circles: 32.0.0
- cloud_federation_api: 1.16.0
- comments: 1.22.0
- contacts: 8.3.10
- contactsinteraction: 1.13.1
- dashboard: 7.12.0
- dav: 1.34.2
- deck: 1.16.4
- federatedfilesharing: 1.22.0
- files: 2.4.0
- files_downloadlimit: 5.0.0
- files_pdfviewer: 5.0.0
- files_reminders: 1.5.0
- files_sharing: 1.24.1
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0
- forms: 5.2.7
- logreader: 5.0.0
- lookup_server_connector: 1.20.0
- news: 28.3.0
- nextcloud_announcements: 4.0.0
- notes: 5.0.0
- notifications: 5.0.0
- oauth2: 1.20.0
- ownershiptransfer: 1.4.0
- password_policy: 4.0.0
- photos: 5.0.0
- privacy: 4.0.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- quota_warning: 1.23.0
- recommendations: 5.0.0
- related_resources: 3.0.0
- richdocuments: 9.0.6
- richdocumentscode: 25.4.904
- serverinfo: 4.0.0
- settings: 1.15.1
- sharebymail: 1.22.0
- spreed: 22.0.12
- support: 4.0.0
- survey_client: 4.0.0
- suspicious_login: 10.0.0
- systemtags: 1.22.0
- tasks: 0.17.1
- text: 6.0.2
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- twofactor_totp: 14.0.0
- updatenotification: 1.22.0
- user_status: 1.12.0
- viewer: 5.0.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- workflowengine: 2.14.0
Disabled: - appointments: 2.6.2 (installed 2.6.2)
- bbb: 2.9.1 (installed 2.9.1)
- encryption: 2.20.0
- federation: 1.22.0 (installed 1.6.0)
- files_external: 1.24.1
- polls: 8.6.3 (installed 8.6.3)
- qownnotesapi: 26.2.2 (installed 26.2.2)
- twofactor_email: 2.8.8 (installed 2.8.8)
- twofactor_nextcloud_notification: 6.0.0
- user_ldap: 1.23.0
Tips for increasing the likelihood of a response
- Use the
preformatted textformatting option in the editor for all log entries and configuration output. - If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.