-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: Doctrine\\DBAL\\Exception\\DriverException | cannot start web service #12228
Comments
GitMate.io thinks possibly related issues are #7191 (Crash on start with An exception occurred while executing 'CREATE table oc_locks_w2g), #5625 (Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO |
I've taken a closer look at the logs using a JSON browser and there are three consecutive exceptions thrown:
And then there is a summarizing CustomMessage: Any clue what can I do next ? |
can you have a look in my version of adapter.php as written in #6160 an Test it on a testing machine? |
Ok, so I finally had time to investigate, and indeed → your commit fixes the issue: https://github.com/obel1x/server/commit/2370e7b0bdbf1915c7914ba283547caff2787602 Thank you very much 🥇 |
As the linked PR was superseded by #12371 could you give this a try as well? |
I'm giving it a shot |
Ah this seems to be the deadlock that needs to be fixed in a different way. I'm already on it, but don't have a PR ready yet. |
Fix for this is in #12411 |
Let's say the the problem is something like this:
– erroneous parsing of a filepath
– therefore invalid file cache (my uneducated guess: but not necesarrily broken database)
What would be the approach then? I'd be happy to rename/remove those offending files with fancy filepaths, clean the file cache and rerun the scan.
Do you think it is a viable course to take? How to debug more.. Thanks,
–Mateusz
Steps to reproduce
Expected behaviour
regular Nextcloud start
Actual behaviour
Tell us what happens instead
Server configuration
Operating system:
Armbian 5.25 Debian 8 Jessie 4.14.70
Web server:
Apache 2.4.25, with HTTP2 enabled
Database:
MariaDB 10
PHP version:
PHP 7.2
Nextcloud version: (see Nextcloud admin page)
14.0.3.0
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh
Where did you install Nextcloud from:
NextcloudPi flavour run as docker container
List of activated apps:
Nextcloud configuration:
App list:
config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
– federated Nextcloud over internet
– FTP local storage
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Logs
Web server error log
Web server error log
Web server keep spitting JSONs like this:
few more of them here https://paste.ee/p/36Mch) the only difference is the filename in question
Nextcloud log (data/nextcloud.log)
Nextcloud log
The whole log is 32MiB. There is one very strange line which is 9MiB long… it includes some paths in it, which I enclose below. Seems like parsing of
#
sign is dodgy.. idkfilename as in log this is strange. those `#` characters
actual filepath
BONUS offending command log
file content:
log
Every other
occ
command throws the same traceI'm very eager to perform any additional tests per request 🙄
The text was updated successfully, but these errors were encountered: