# NextCloud unreachable

**URL:** <https://dietpi.com/forum/t/nextcloud-unreachable/21923>\
**Category:** Troubleshooting\
**Tags:** nextcloud\
**Created:** [10 November 2024 15:35 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923 "2024-11-10T15:35:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![silverfox](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silverfox](https://dietpi.com/forum/u/silverfox)\
**Post date:** [10 November 2024 15:35 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/1 "2024-11-10T15:35:57Z")

</div>

### Creating a bug report/issue

I have searched the existing open and closed issues

#### Required Information

- DietPi version | `V9.8.0`
- Distro version | `Bookworm`
- Kernel version | `Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT`
- Architecture | `arm64`
- SBC model | RPi 4 Model B
- Power supply used | 5V
- SD card used | SanDisk

#### Additional Information (if applicable)

- Software title Nextcloud
- Software was uppdated

← nextcloud.log →

- Bug report ID |

```auto
{"reqId":"pVB013UeEHzCjtMynQXP","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"PHP","method":"PROPFIND","url":"/nextcloud/remote.php/dav/calendars/admin/clare-exams/","message":"Error: Class \"OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin\" not found at /var/www/nextcloud/remote.php#62","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","data":{"app":"PHP"}}
{"reqId":"dP8Vng17Spd6XCqd0YYi","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"remote","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/personal/cae1eff0-4067-4552-9639-ce9620caa412.ics","message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":266,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":119,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":146,"message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","exception":{},"CustomMessage":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory"}}
{"reqId":"dP8Vng17Spd6XCqd0YYi","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"core","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/personal/cae1eff0-4067-4552-9639-ce9620caa412.ics","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":266,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":119,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":146,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}}
{"reqId":"dP8Vng17Spd6XCqd0YYi","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"core","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/personal/cae1eff0-4067-4552-9639-ce9620caa412.ics","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":266,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":734,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":237,"function":"getAppVersions","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":142,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":291,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":88,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":174,"function":"handleException"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":146,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}}
{"reqId":"SZZx6JxlKe7E4KG5ZRWW","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"remote","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/personal/27199ba7-f8c1-4795-803d-b9559e207509.ics","message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":266,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":119,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":146,"message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","exception":{},"CustomMessage":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory"}}
{"reqId":"SZZx6JxlKe7E4KG5ZRWW","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"core","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/personal/27199ba7-f8c1-4795-803d-b9559e207509.ics","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":266,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":119,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":146,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}}
{"reqId":"SZZx6JxlKe7E4KG5ZRWW","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"core","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/personal/27199ba7-f8c1-4795-803d-b9559e207509.ics","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":266,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":734,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":237,"function":"getAppVersions","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":142,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":291,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":88,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":174,"function":"handleException"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":146,"CustomMessage":"Exception thrown: Doctrine\\DBAL\\Exception"}}
{"reqId":"Qyb8dd1t8Whaqt85UV0X","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.178.30","user":"--","app":"remote","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/birthdays/c36b5ad9-38a3-4d65-b95a-d29cb35382ec.ics","message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1654,"function":"connect","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php","line":1081,"function":"getWrappedConnection","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":266,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":337,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":377,"function":"executeQuery","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":421,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":187,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":377,"function":"getApps","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":128,"function":"getValues","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":149,"function":"getInstalledAppsValues","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":231,"function":"getInstalledApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"getEnabledApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":700,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":119,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":146,"message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","exception":{},"CustomMessage":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory"}}
{"reqId":"EBFXj35dKikh1yjCW1jJ","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"PHP","method":"PROPFIND","url":"/nextcloud/remote.php/dav/calendars/admin/personal/","message":"Error: Class \"OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin\" not found at /var/www/nextcloud/remote.php#62","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","data":{"app":"PHP"}}
{"reqId":"Qyb8dd1t8Whaqt85UV0X","level":3,"time":"2024-11-09T07:20:41+00:00","remoteAddr":"192.168.176.31","user":"--","app":"core","method":"PUT","url":"/nextcloud/remote.php/dav/calendars/admin/birthdays/c36b5ad9-38a3-4d65-b95a-d29cb35382ec.ics","message":"Exception thrown: Doctrine\\DBAL\\Exception","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.4.1","version":"28.0.8.1","exception":{"Exception":"Doctrine\\DBAL\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory","Code":2002,"Trace":[{"file":"/

```

#### Steps to reproduce

1. Open the Nextcloud Dashboard in any browser and get the error message "Internal Server Error

The server encountered an internal error and was unable to complete your request.  
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.  
More details can be found in the server log."

#### Expected behaviour

- …see the Nextcloud Dashboard-

#### Actual behaviour

- …

#### Extra details

- … The Nextcloud data is on an external hard drive.

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [10 November 2024 16:20 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/2 "2024-11-10T16:20:12Z")

</div>

> [@silverfox](#):
>
> `Failed to connect to the database`

Your database is not available. Following to be checked

```auto
systemctl restart mariadb.service
journalctl -u mariadb
readlink /var/lib/mysql
readlink -f /var/lib/mysql

```

---

<div class="post-metadata">

**Author:** ![silverfox](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silverfox](https://dietpi.com/forum/u/silverfox)\
**Post date:** [10 November 2024 16:29 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/3 "2024-11-10T16:29:42Z")

</div>

systemctl restart mariadb.service

```auto
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details.

```

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [10 November 2024 16:37 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/4 "2024-11-10T16:37:59Z")

</div>

the most important part you missed.

> [@Joulinar](#):
>
> ```auto
> journalctl -u mariadb
> readlink /var/lib/mysql
> readlink -f /var/lib/mysql
> 
> ```

---

<div class="post-metadata">

**Author:** ![silverfox](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silverfox](https://dietpi.com/forum/u/silverfox)\
**Post date:** [10 November 2024 16:53 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/5 "2024-11-10T16:53:31Z")

</div>

```auto
ov 10 13:22:39 DietPi systemd[1]: Starting mariadb.service - MariaDB 10.11.6 database server...
Nov 10 13:22:42 DietPi mariadbd[663]: 2024-11-10 13:22:42 0 [Note] Starting MariaDB 10.11.6-MariaDB-0+deb12u1 source revision as process 663
Nov 10 13:22:42 DietPi mariadbd[663]: 2024-11-10 13:22:42 0 [ERROR] mariadbd: Error writing file './ddl_recovery.log' (Errcode: 28 "No space left on device")
Nov 10 13:22:42 DietPi mariadbd[663]: 2024-11-10 13:22:42 0 [ERROR] Aborting
Nov 10 13:22:42 DietPi mariadbd[663]: 2024-11-10 13:22:42 0 [ERROR] mariadbd: Error on close of '(null)' (Errcode: 9 "Bad file descriptor")
Nov 10 13:22:42 DietPi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Nov 10 13:22:42 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code'.
Nov 10 13:22:42 DietPi systemd[1]: Failed to start mariadb.service - MariaDB 10.11.6 database server.
Nov 10 16:27:00 DietPi systemd[1]: Starting mariadb.service - MariaDB 10.11.6 database server...
Nov 10 16:27:00 DietPi mariadbd[18735]: 2024-11-10 16:27:00 0 [Note] Starting MariaDB 10.11.6-MariaDB-0+deb12u1 source revision as process 18735
Nov 10 16:27:00 DietPi mariadbd[18735]: 2024-11-10 16:27:00 0 [ERROR] mariadbd: Error writing file './ddl_recovery.log' (Errcode: 28 "No space left on device")
Nov 10 16:27:00 DietPi mariadbd[18735]: 2024-11-10 16:27:00 0 [ERROR] Aborting
Nov 10 16:27:00 DietPi mariadbd[18735]: 2024-11-10 16:27:00 0 [ERROR] mariadbd: Error on close of '(null)' (Errcode: 9 "Bad file descriptor")
Nov 10 16:27:00 DietPi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Nov 10 16:27:00 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code'.
Nov 10 16:27:00 DietPi systemd[1]: Failed to start mariadb.service - MariaDB 10.11.6 database server.
Nov 10 16:28:49 DietPi systemd[1]: Starting mariadb.service - MariaDB 10.11.6 database server...
Nov 10 16:28:49 DietPi mariadbd[19061]: 2024-11-10 16:28:49 0 [Note] Starting MariaDB 10.11.6-MariaDB-0+deb12u1 source revision as process 19061
Nov 10 16:28:49 DietPi mariadbd[19061]: 2024-11-10 16:28:49 0 [ERROR] mariadbd: Error writing file './ddl_recovery.log' (Errcode: 28 "No space left on device")
Nov 10 16:28:49 DietPi mariadbd[19061]: 2024-11-10 16:28:49 0 [ERROR] Aborting
Nov 10 16:28:49 DietPi mariadbd[19061]: 2024-11-10 16:28:49 0 [ERROR] mariadbd: Error on close of '(null)' (Errcode: 9 "Bad file descriptor")
Nov 10 16:28:49 DietPi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Nov 10 16:28:49 DietPi systemd[1]: mariadb.service: Failed with result 'exit-code'.
Nov 10 16:28:49 DietPi systemd[1]: Failed to start mariadb.service - MariaDB 10.11.6 database server.

```

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [10 November 2024 17:05 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/6 "2024-11-10T17:05:39Z")

</div>

> [@silverfox](#):
>
> `(Errcode: 28 "No space left on device")`

your file system is full

```auto
df -h

```

Btw: why are you not sharing the whole output I’m asking for?

---

<div class="post-metadata">

**Author:** ![silverfox](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silverfox](https://dietpi.com/forum/u/silverfox)\
**Post date:** [10 November 2024 17:06 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/7 "2024-11-10T17:06:39Z")

</div>

how can I now make space?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [10 November 2024 17:07 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/8 "2024-11-10T17:07:57Z")

</div>

> [@Joulinar](#):
>
> Btw: why are you not sharing the whole output I’m asking for?

you should deliver what has been ask for, otherwise nobody is able to assist

---

<div class="post-metadata">

**Author:** ![silverfox](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silverfox](https://dietpi.com/forum/u/silverfox)\
**Post date:** [10 November 2024 17:19 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/9 "2024-11-10T17:19:53Z")

</div>

sorry, I don’t follow? What are you missing?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [10 November 2024 17:33 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/10 "2024-11-10T17:33:49Z")

</div>

> [@Joulinar](#):
>
> ```auto
> readlink /var/lib/mysql
> readlink -f /var/lib/mysql
> 
> ```

> [@Joulinar](#):
>
> `df -h`

see above

---

<div class="post-metadata">

**Author:** ![silverfox](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silverfox](https://dietpi.com/forum/u/silverfox)\
**Post date:** [10 November 2024 17:46 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/11 "2024-11-10T17:46:55Z")

</div>

> [@Joulinar](#):
>
> `readlink /var/lib/mysql`

Gives /`mnt/dietpi_userdata/mysql`

> [@Joulinar](#):
>
> `readlink -f /var/lib/mysql`

Gives

```auto
/mnt/hdd/dietpi_userdata/mysql

```

> [@Joulinar](#):
>
> `df -h`

Gives

```auto
Filesystem Size Used Avail Use% Mounted on
/dev/root 59G 7.3G 49G 13% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 759M 64M 696M 9% /run
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /tmp
tmpfs 50M 1.7M 49M 4% /var/log
/dev/mmcblk0p1 127M 33M 95M 26% /boot
/dev/sda1 687G 687G 0 100% /mnt/hdd
tmpfs 380M 0 380M 0% /run/user/0

```

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [10 November 2024 19:51 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/12 "2024-11-10T19:51:57Z")

</div>

> [@silverfox](#):
>
> `/dev/sda1 687G 687G 0 100% /mnt/hdd`

simply your HDD is full. You can check 20 largest files as follow. It might take a while

```auto
du -aBM /mnt/hdd | sort -n -r | head -n 20

```

---

<div class="post-metadata">

**Author:** ![silverfox](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@silverfox](https://dietpi.com/forum/u/silverfox)\
**Post date:** [11 November 2024 08:52 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/13 "2024-11-11T08:52:51Z")

</div>

> [@silverfox](#):
>
> > [@Joulinar](#):
> >
> > `df -h`

super! Thank you very much!

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [9 February 2025 08:53 UTC](https://dietpi.com/forum/t/nextcloud-unreachable/21923/14 "2025-02-09T08:53:15Z")

</div>

Closed on 9 February 2025 08:53 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
