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).
The Basics
- Nextcloud Server version
32.0.2snap1
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
- When I installed the custom SSL certs using
nextcloud.enable-https custom -s cert.pem privkey.pem chain.pem
- When I installed the custom SSL certs using
- 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:
I have a nextcloud snap server running and I have both domain and SSL from GoDaddy
Steps to replicate it (hint: details matter!):
-
Download SSL Cert from GoDaddy
Log entries
Nextcloud
{"reqId":"2TSe5etypexqtYN7ZU9w","level":4,"time":"2025-12-15T13:21:19+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot cadviewer: Call to undefined method OC\\Server::getLogger()","userAgent":"--","version":"32.0.2.2","exception":{"Exception":"Error","Message":"Call to undefined method OC\\Server::getLogger()","Code":0,"Trace":[{"file":"/var/snap/nextcloud/51274/nextcloud/extra-apps/cadviewer/lib/AppInfo/Application.php","line":40,"function":"__construct","class":"OCA\\Cadviewer\\AppConfig","type":"->"},{"function":"__construct","class":"OCA\\Cadviewer\\AppInfo\\Application","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php","line":72,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php","line":140,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":352,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/ServerContainer.php","line":135,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/AppFramework/Bootstrap/Coordinator.php","line":166,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/App/AppManager.php","line":481,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/App/AppManager.php","line":273,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/Console/Application.php","line":90,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/console.php","line":84,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/occ","line":33,"args":["/snap/nextcloud/51274/htdocs/console.php"],"function":"require_once"}],"File":"/var/snap/nextcloud/51274/nextcloud/extra-apps/cadviewer/lib/AppConfig.php","Line":88,"message":"Could not boot cadviewer: Call to undefined method OC\\Server::getLogger()","exception":{},"CustomMessage":"Could not boot cadviewer: Call to undefined method OC\\Server::getLogger()"}}
{"reqId":"2TSe5etypexqtYN7ZU9w","level":4,"time":"2025-12-15T13:21:19+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()","userAgent":"--","version":"32.0.2.2","exception":{"Exception":"Error","Message":"Call to undefined method OC\\Server::getEventDispatcher()","Code":0,"Trace":[{"file":"/snap/nextcloud/51274/htdocs/lib/private/AppFramework/Bootstrap/Coordinator.php","line":170,"function":"boot","class":"OCA\\FilesTrackDownloads\\AppInfo\\Application","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/App/AppManager.php","line":481,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/App/AppManager.php","line":273,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/lib/private/Console/Application.php","line":90,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/console.php","line":84,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/snap/nextcloud/51274/htdocs/occ","line":33,"args":["/snap/nextcloud/51274/htdocs/console.php"],"function":"require_once"}],"File":"/var/snap/nextcloud/51274/nextcloud/extra-apps/files_trackdownloads/lib/AppInfo/Application.php","Line":49,"message":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()","exception":{},"CustomMessage":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()"}}
The output of My Apache log in /var/snap/nextcloud/current/logs/apache_error.log:
[Mon Dec 15 08:21:15.837328 2025] [ssl:error] [pid 247167:tid 247167] AH02579: Init: Private key not found
[Mon Dec 15 08:21:15.837355 2025] [ssl:error] [pid 247167:tid 247167] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:15.837359 2025] [ssl:error] [pid 247167:tid 247167] SSL Library Error: error:0D08303A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error
[Mon Dec 15 08:21:15.837363 2025] [ssl:error] [pid 247167:tid 247167] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:15.837367 2025] [ssl:error] [pid 247167:tid 247167] SSL Library Error: error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error (Type=RSAPrivateKey)
[Mon Dec 15 08:21:15.837370 2025] [ssl:error] [pid 247167:tid 247167] SSL Library Error: error:04093004:rsa routines:old_rsa_priv_decode:RSA lib
[Mon Dec 15 08:21:15.837374 2025] [ssl:error] [pid 247167:tid 247167] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:15.837377 2025] [ssl:error] [pid 247167:tid 247167] SSL Library Error: error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO)
[Mon Dec 15 08:21:15.837379 2025] [ssl:emerg] [pid 247167:tid 247167] AH02312: Fatal error initialising mod_ssl, exiting.
[Mon Dec 15 08:21:15.837379 2025] [ssl:emerg] [pid 247167:tid 247167] AH02564: Failed to configure encrypted (?) private key 127.0.1.1:443:0, check /var/snap/nextcloud/51274/certs/live/privkey.pem
AH00016: Configuration Failed
[Mon Dec 15 08:21:17.587008 2025] [ssl:error] [pid 247783:tid 247783] AH02579: Init: Private key not found
[Mon Dec 15 08:21:17.587037 2025] [ssl:error] [pid 247783:tid 247783] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:17.587042 2025] [ssl:error] [pid 247783:tid 247783] SSL Library Error: error:0D08303A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error
[Mon Dec 15 08:21:17.587045 2025] [ssl:error] [pid 247783:tid 247783] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:17.587049 2025] [ssl:error] [pid 247783:tid 247783] SSL Library Error: error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error (Type=RSAPrivateKey)
[Mon Dec 15 08:21:17.587052 2025] [ssl:error] [pid 247783:tid 247783] SSL Library Error: error:04093004:rsa routines:old_rsa_priv_decode:RSA lib
[Mon Dec 15 08:21:17.587055 2025] [ssl:error] [pid 247783:tid 247783] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:17.587059 2025] [ssl:error] [pid 247783:tid 247783] SSL Library Error: error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO)
[Mon Dec 15 08:21:17.587060 2025] [ssl:emerg] [pid 247783:tid 247783] AH02312: Fatal error initialising mod_ssl, exiting.
[Mon Dec 15 08:21:17.587061 2025] [ssl:emerg] [pid 247783:tid 247783] AH02564: Failed to configure encrypted (?) private key 127.0.1.1:443:0, check /var/snap/nextcloud/51274/certs/live/privkey.pem
AH00016: Configuration Failed
[Mon Dec 15 08:21:19.205781 2025] [ssl:error] [pid 248399:tid 248399] AH02579: Init: Private key not found
[Mon Dec 15 08:21:19.205805 2025] [ssl:error] [pid 248399:tid 248399] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:19.205815 2025] [ssl:error] [pid 248399:tid 248399] SSL Library Error: error:0D08303A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error
[Mon Dec 15 08:21:19.205819 2025] [ssl:error] [pid 248399:tid 248399] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:19.205823 2025] [ssl:error] [pid 248399:tid 248399] SSL Library Error: error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error (Type=RSAPrivateKey)
[Mon Dec 15 08:21:19.205827 2025] [ssl:error] [pid 248399:tid 248399] SSL Library Error: error:04093004:rsa routines:old_rsa_priv_decode:RSA lib
[Mon Dec 15 08:21:19.205831 2025] [ssl:error] [pid 248399:tid 248399] SSL Library Error: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag
[Mon Dec 15 08:21:19.205834 2025] [ssl:error] [pid 248399:tid 248399] SSL Library Error: error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO)
[Mon Dec 15 08:21:19.205835 2025] [ssl:emerg] [pid 248399:tid 248399] AH02312: Fatal error initialising mod_ssl, exiting.
[Mon Dec 15 08:21:19.205836 2025] [ssl:emerg] [pid 248399:tid 248399] AH02564: Failed to configure encrypted (?) private key 127.0.1.1:443:0, check /var/snap/nextcloud/51274/certs/live/privkey.pem
AH00016: Configuration Failed
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": {
"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,
"maintenance_window_start": 1,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"**.**.**.**",
"www.xyz.com",
"xyz.com",
"10.0.0.15"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "32.0.2.2",
"overwrite.cli.url": "https:\/\/mpbcomm.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,
"skeletondirectory": "",
"simpleSignUpLink.shown": false,
"auth.webauthn.enabled": false,
"lost_password_link": "disabled",
"app_install_overwrite": [
"files_trackdownloads",
"ransomware_protection",
"cadviewer"
],
"maintenance": false,
"loglevel": 2,
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
"\"",
"|",
"?",
"*",
"\\",
"\/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
],
"data-fingerprint": "dd11f43c1aa848a3934b3f315cac88ef"
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 5.0.0-dev.0
- app_api: 32.0.0
- bruteforcesettings: 5.0.0-dev.0
- cadviewer: 10.10.7
- calendar: 6.1.1
- circles: 32.0.0
- cloud_federation_api: 1.16.0
- comments: 1.22.0
- contacts: 8.1.1
- contactsinteraction: 1.13.1
- dav: 1.34.2
- federatedfilesharing: 1.22.0
- federation: 1.22.0
- files: 2.4.0
- files_accesscontrol: 3.0.2
- files_downloadlimit: 5.0.0-dev.0
- files_pdfviewer: 5.0.0-dev.0
- files_reminders: 1.5.0
- files_sharing: 1.24.1
- files_trackdownloads: 1.11.0
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0-dev.0
- groupfolders: 20.1.6
- logreader: 5.0.0-dev.0
- lookup_server_connector: 1.20.0
- nextcloud_announcements: 4.0.0-dev.0
- notifications: 5.0.0-dev.0
- oauth2: 1.20.0
- password_policy: 4.0.0-dev.0
- privacy: 4.0.0-dev.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- ransomware_protection: 1.14.0
- recommendations: 5.0.0-dev.0
- related_resources: 3.0.0-dev.0
- serverinfo: 4.0.0-dev.0
- settings: 1.15.1
- sharebymail: 1.22.0
- support: 4.0.0-dev.0
- survey_client: 4.0.0-dev.0
- systemtags: 1.22.0
- text: 6.0.1
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- user_status: 1.12.0
- viewer: 5.0.0-dev.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- workflowengine: 2.14.0
Disabled:
- admin_audit: 1.22.0
- dashboard: 7.12.0 (installed 7.11.0)
- encryption: 2.20.0
- files_downloadactivity: 1.18.1 (installed 1.18.1)
- files_external: 1.24.0
- notes: 4.12.4 (installed 4.12.4)
- photos: 5.0.0-dev.1 (installed 4.0.0)
- spreed: 22.0.5 (installed 22.0.5)
- suspicious_login: 10.0.0-dev.0
- twofactor_nextcloud_notification: 6.0.0-dev.0
- twofactor_totp: 14.0.0
- user_ldap: 1.23.0
I guess the problem is in Apache server snap but what is it?