I just got the dreaded generic error message:
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Please note that this is a Snap install.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 31.0.7snap1
- Operating system and version (e.g., Ubuntu 24.04):
- Ubuntu 24.04.3 LTS
- Web server and version (e.g, Apache 2.4.25):
- Reverse proxy and version _(e.g. nginx 1.27.2)
- PHP version (e.g, 8.3):
- I’ll have to check with the Snap maintainer
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- About two hours ago
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Snap
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No
Summary of the issue you are facing:
Attemping to access most apps in NC brings me to the error page noted above. Oddly, I happen to have a Notes tab open and that continues to work, both in the browser and in the phone app.
Steps to replicate it (hint: details matter!):
Refresh any page
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 don't have access to the web UI. The file at /var/snap/nextcloud/<current>/logs/netcloud.log is probably larger than anyone wants to read.
If you'll advise on a meaningful log quest I'll do my best to get it.
Configuration
Nextcloud
The output of ` nextcloud.occ config:list system’:
{
"system": {
"apps_paths": [
{
"path": "\/snap\/nextcloud\/current\/htdocs\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
"url": "\/extra-apps",
"writable": true
}
],
"supportedDatabases": [
"mysql"
],
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"log_type": "file",
"logfile": "\/var\/snap\/nextcloud\/current\/logs\/nextcloud.log",
"logfilemode": 416,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"hub.4wsys.com",
"hub.fourthworld.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.7.1",
"overwrite.cli.url": "http:\/\/hub.4wsys.com",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpsecure": "ssl",
"theme": "",
"loglevel": 0,
"app_install_overwrite": [
"cms_pico"
],
"maintenance_window_start": 1,
"default_phone_region": "US",
"files.chunked_upload.max_size": 20971520
}
}
Apps
The output of occ app:list (if possible).
ogs# sudo nextcloud.occ app:list
Enabled:
- admin_audit: 1.21.0
- analytics: 5.8.0
- app_api: 5.0.2
- appointments: 2.4.5
- assistant: 2.5.0
- bruteforcesettings: 4.0.0
- calendar: 5.3.8
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- collectives: 3.0.3
- comments: 1.21.0
- contacts: 7.2.4
- contactsinteraction: 1.12.0
- dav: 1.33.0
- drawio: 3.1.0
- federatedfilesharing: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_linkeditor: 1.1.22
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- files_zip: 2.1.0
- forms: 5.1.2
- impersonate: 2.0.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 5.1.10
- news: 26.1.0
- nextcloud_announcements: 3.0.0
- notes: 4.12.2
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- related_resources: 2.0.0
- richdocuments: 8.7.3
- richdocumentscode: 25.4.202
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- side_menu: 5.1.1
- spreed: 21.1.3
- support: 3.0.0
- systemtags: 1.21.1
- tables: 0.9.5
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- timemanager: 0.3.18
- twofactor_backupcodes: 1.20.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- activity: 4.0.0 (installed 2.17.0)
- auto_groups: 1.6.2 (installed 1.6.2)
- cookbook: 0.11.3 (installed 0.11.3)
- dashboard: 7.11.0 (installed 7.5.0)
- encryption: 2.19.0
- external: 6.0.2 (installed 6.0.2)
- federation: 1.21.0 (installed 1.20.0)
- files_external: 1.23.0 (installed 1.23.0)
- firstrunwizard: 4.0.0 (installed 2.14.0)
- integration_mastodon: 3.1.1 (installed 3.1.1)
- photos: 4.0.0 (installed 2.0.1)
- recommendations: 4.0.0 (installed 1.4.0)
- survey_client: 3.0.0 (installed 1.13.0)
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- user_ldap: 1.22.0
- user_status: 1.11.0 (installed 1.5.0)
Happy to provide any other info useful for diagnosis. I have a backup available if needed, but I’m eager to learn and fixing broken installs is sometimes a great way to discover the innards of systems. Thanks in advance for any assistance on this.