Closed: Updating 17.0.0 to 18.04 - "500 Internal Server Error" during "Extracting" Step

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

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 :heart:

Nextcloud version (eg, 18.0.2): 17.0.0.9
Operating system and version (eg, Ubuntu 20.04): (Unknown Distro - ISP version - Kernel 2.6.32-954.3.5.lve1.4.66.el6.x86_64)
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.43
PHP version (eg, 7.1): 7.2.30

The issue you are facing:

Closing this ticket. After trying repeated and failing to get this to work, I wiped the environment and attempted a clean installation, which has also failed. Documenting that failure in a separate ticket.

Many thanks in advance for any guidance with this…

Attempting to upgrade from 17.0.0.9 to 18.04 using the web-based updater [no cli access]
Process gets as far as the “Extracting” step, at which point it fails with the following error message:

Parsing response failed. 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@{{domain}} to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

When I check the web server log [through the provided cPanel Interface] I see a single [based on timestamp] error message:-

[Wed May 06 18:45:04.172211 2020] [core:crit] [pid 138674] (13)Permission denied: [client 31.52.207.83:49852] AH00529: /home/{{account identier}}/public_html/{{domain}}/nc/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/{{account identier}}/public_html/{{domain}}/nc/data/’ is executable

According to my local FileZilla client, the .htaccess file at the specified location has permissions “644”… The user/group values are just numeric integers, but all the files in this folder location have 644 permissions and all the sub-folders are set with 755, however, when I look at the permissions for the (parent) “nc” folder, they are 0750.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Log in to running NC instance using an Admin account
  2. Run Automated NC updater

The output of your Nextcloud log in Admin > Logging:

{"reqId":"XrL3n77xDRgNCHR9yACWgQAAAAA","level":3,"time":"2020-05-06T17:45:36+00:00","remoteAddr":"31.52.207.83","user":"Clive","app":"core","method":"GET","url":"/index.php/settings/ajax/checksetup","message":{"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)' with params [\"local::\\/home\\/{{domain}\\/public_html\\/{{domain}}\\/nc\\/data\\/\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":0,"Trace":[{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php","line":169,"function":"convertException","class":"Doctrine\\DBAL\\Driver\\AbstractMySQLDriver","type":"->","args":["An exception occurred while executing 'SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)' with params [\"local::\\/home\\/{{domain}\\/public_html\\/{{domain}}\\/nc\\/data\\/\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away",{"errorInfo":["HY000",2006,"MySQL server has gone away"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php","line":145,"function":"wrapException","class":"Doctrine\\DBAL\\DBALException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"errorInfo":["HY000",2006,"MySQL server has gone away"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"},"An exception occurred while executing 'SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)' with params [\"local::\\/home\\/{{domain}\\/public_html\\/{{domain}}\\/nc\\/data\\/\"]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":911,"function":"driverExceptionDuringQuery","class":"Doctrine\\DBAL\\DBALException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"errorInfo":["HY000",2006,"MySQL server has gone away"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"},"SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)",{"1":"local::/home/{{domain}}/public_html/{{domain}}/nc/data/"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/DB/Connection.php","line":195,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)",["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"],[2],null]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (:dcValue1)",{"dcValue1":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"dcValue1":102}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/DB/QueryBuilder/QueryBuilder.php","line":214,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/StorageGlobal.php","line":60,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/StorageGlobal.php","line":72,"function":"loadForStorageIds","class":"OC\\Files\\Cache\\StorageGlobal","type":"->","args":[["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Storage.php","line":95,"function":"getStorageInfo","class":"OC\\Files\\Cache\\StorageGlobal","type":"->","args":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Storage.php","line":73,"function":"getStorageById","class":"OC\\Files\\Cache\\Storage","type":"::","args":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Cache.php","line":108,"function":"__construct","class":"OC\\Files\\Cache\\Storage","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Storage/Common.php","line":333,"function":"__construct","class":"OC\\Files\\Cache\\Cache","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Storage/Wrapper/Wrapper.php","line":393,"function":"getCache","class":"OC\\Files\\Storage\\Common","type":"->","args":["appdata_oc2zpfy2zr20/js/core",{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/View.php","line":1326,"function":"getCache","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/View.php","line":1382,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"appdata_oc2zpfy2zr20/js/core","/appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/Root.php","line":198,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["/appdata_oc2zpfy2zr20/js/core"]},{"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/LazyRoot.php","line":64,"function":"call_user_func_array","args":[[{"__class__":"OC\\Files\\Node\\Root"},"get"],["appdata_oc2zpfy2zr20/js/core"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/LazyRoot.php","line":141,"function":"__call","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["get",["appdata_oc2zpfy2zr20/js/core"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/AppData/AppData.php","line":140,"function":"get","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSCombiner.php","line":94,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSResourceLocator.php","line":114,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/home/{{domain}}/public_html/{{domain}}/nc","core/js/merged-template-prepend.json","core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/home/{{domain}}/public_html/{{domain}}/nc","core/js/merged-template-prepend.json"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js/merged-template-prepend"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/TemplateLayout.php","line":334,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","files_pdfviewer/l10n/en","files_pdfviewer/js/previewplugin","core/js/dist/share_backend","gallery/l10n/en","notifications/l10n/en","notifications/js/notifications","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/TemplateLayout.php","line":162,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","files_pdfviewer/l10n/en","files_pdfviewer/js/previewplugin","core/js/dist/share_backend","gallery/l10n/en","notifications/l10n/en","notifications/js/notifications","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/legacy/template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/Base.php","line":131,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/legacy/template.php","line":332,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/index.php","line":69,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Exception\\DriverException"},500]}],"File":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php","Line":106,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDOException","Message":"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":"HY000","Trace":[{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":903,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/DB/Connection.php","line":195,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT
 `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)",["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"],[2],null]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (:dcValue1)",{"dcValue1":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"dcValue1":102}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/DB/QueryBuilder/QueryBuilder.php","line":214,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/StorageGlobal.php","line":60,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/StorageGlobal.php","line":72,"function":"loadForStorageIds","class":"OC\\Files\\Cache\\StorageGlobal","type":"->","args":[["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Storage.php","line":95,"function":"getStorageInfo","class":"OC\\Files\\Cache\\StorageGlobal","type":"->","args":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Storage.php","line":73,"function":"getStorageById","class":"OC\\Files\\Cache\\Storage","type":"::","args":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Cache.php","line":108,"function":"__construct","class":"OC\\Files\\Cache\\Storage","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Storage/Common.php","line":333,"function":"__construct","class":"OC\\Files\\Cache\\Cache","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Storage/Wrapper/Wrapper.php","line":393,"function":"getCache","class":"OC\\Files\\Storage\\Common","type":"->","args":["appdata_oc2zpfy2zr20/js/core",{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/View.php","line":1326,"function":"getCache","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/View.php","line":1382,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"appdata_oc2zpfy2zr20/js/core","/appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/Root.php","line":198,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["/appdata_oc2zpfy2zr20/js/core"]},{"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/LazyRoot.php","line":64,"function":"call_user_func_array","args":[[{"__class__":"OC\\Files\\Node\\Root"},"get"],["appdata_oc2zpfy2zr20/js/core"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/LazyRoot.php","line":141,"function":"__call","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["get",["appdata_oc2zpfy2zr20/js/core"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/AppData/AppData.php","line":140,"function":"get","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSCombiner.php","line":94,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSResourceLocator.php","line":114,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/home/{{domain}}/public_html/{{domain}}/nc","core/js/merged-template-prepend.json","core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/home/{{domain}}/public_html/{{domain}}/nc","core/js/merged-template-prepend.json"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js/merged-template-prepend"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/TemplateLayout.php","line":334,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","files_pdfviewer/l10n/en","files_pdfviewer/js/previewplugin","core/js/dist/share_backend","gallery/l10n/en","notifications/l10n/en","notifications/js/notifications","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/TemplateLayout.php","line":162,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","files_pdfviewer/l10n/en","files_pdfviewer/js/previewplugin","core/js/dist/share_backend","gallery/l10n/en","notifications/l10n/en","notifications/js/notifications","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/legacy/template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/Base.php","line":131,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/legacy/template.php","line":332,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/index.php","line":69,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Exception\\DriverException"},500]}],"File":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php","Line":119,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away","Code":"HY000","Trace":[{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php","line":117,"function":"execute","class":"PDOStatement","type":"->","args":[null]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":903,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/DB/Connection.php","line":195,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (?)",["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"],[2],null]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT `id`, `numeric_id`, `available`, `last_checked` FROM `oc_storages` WHERE `id` IN (:dcValue1)",{"dcValue1":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"dcValue1":102}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/DB/QueryBuilder/QueryBuilder.php","line":214,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/StorageGlobal.php","line":60,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/StorageGlobal.php","line":72,"function":"loadForStorageIds","class":"OC\\Files\\Cache\\StorageGlobal","type":"->","args":[["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Storage.php","line":95,"function":"getStorageInfo","class":"OC\\Files\\Cache\\StorageGlobal","type":"->","args":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Storage.php","line":73,"function":"getStorageById","class":"OC\\Files\\Cache\\Storage","type":"::","args":["local::/home/{{domain}}/public_html/{{domain}}/nc/data/"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Cache/Cache.php","line":108,"function":"__construct","class":"OC\\Files\\Cache\\Storage","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Storage/Common.php","line":333,"function":"__construct","class":"OC\\Files\\Cache\\Cache","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Storage/Wrapper/Wrapper.php","line":393,"function":"getCache","class":"OC\\Files\\Storage\\Common","type":"->","a
rgs":["appdata_oc2zpfy2zr20/js/core",{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"}]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/View.php","line":1326,"function":"getCache","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/View.php","line":1382,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":null,"scanner":null,"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"appdata_oc2zpfy2zr20/js/core","/appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/Root.php","line":198,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["/appdata_oc2zpfy2zr20/js/core"]},{"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/LazyRoot.php","line":64,"function":"call_user_func_array","args":[[{"__class__":"OC\\Files\\Node\\Root"},"get"],["appdata_oc2zpfy2zr20/js/core"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/Node/LazyRoot.php","line":141,"function":"__call","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["get",["appdata_oc2zpfy2zr20/js/core"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Files/AppData/AppData.php","line":140,"function":"get","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["appdata_oc2zpfy2zr20/js/core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSCombiner.php","line":94,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSResourceLocator.php","line":114,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/home/{{domain}}/public_html/{{domain}}/nc","core/js/merged-template-prepend.json","core"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/home/{{domain}}/public_html/{{domain}}/nc","core/js/merged-template-prepend.json"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js/merged-template-prepend"]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/TemplateLayout.php","line":334,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","files_pdfviewer/l10n/en","files_pdfviewer/js/previewplugin","core/js/dist/share_backend","gallery/l10n/en","notifications/l10n/en","notifications/js/notifications","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/TemplateLayout.php","line":162,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/dist/main","js/merged-template-prepend","search/js/search","core/l10n/en","files_pdfviewer/l10n/en","files_pdfviewer/js/previewplugin","core/js/dist/share_backend","gallery/l10n/en","notifications/l10n/en","notifications/js/notifications","search/l10n/en","search/js/searchprovider","js/files/fileinfo","js/files/client"]]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/legacy/template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/Template/Base.php","line":131,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/lib/private/legacy/template.php","line":332,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/home/{{domain}}/public_html/{{domain}}/nc/index.php","line":69,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Exception\\DriverException"},500]}],"File":"/home/{{domain}}/public_html/{{domain}}/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php","Line":117}},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0","version":"17.0.0.9","id":"5eb304abcd10b"}




The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'oc2zpfy2zr20',
  'passwordsalt' => '5rPxtzkZ0PwlGc9C7QpDrnlt//i2fX',
  'secret' => '{{Removed for Security}}',
  'trusted_domains' => 
  array (
    0 => 'nc.saurian.org',
  ),
  'datadirectory' => '/home/{{Removed for Security}}/public_html/saurian/nc/data',
  'dbtype' => 'mysql',
  'version' => '17.0.0.9',
  'overwrite.cli.url' => 'http://{{Removed for Security}}',
  'dbname' => '{{Removed for Security}}',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '{{Removed for Security}}',
  'dbpassword' => '{{Removed for Security}}',
  'installed' => true,
  'maintenance' => false,
  'mail_from_address' => 'nc',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '{{Removed for Security}}',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'chimail.uk2.net',
  'theme' => '',
  'loglevel' => 0,
  'updater.secret' => '{{Removed for Security}}',
);

The output of your Apache/nginx/system log in /var/log/____:

Unable to provide, sorry...