Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Split invoice failed #241

Open
piegamesde opened this issue Jul 18, 2022 · 0 comments
Open

Split invoice failed #241

piegamesde opened this issue Jul 18, 2022 · 0 comments

Comments

@piegamesde
Copy link

Doing a split invoice randomly fails for some of the participants for me.

Server log:

Jul 18 21:07:44 burbon nginx[755821]: 2022/07/18 21:07:44 [error] 755821#755821: *39514 FastCGI sent in stderr: "PHP message: [critical] Uncaught PHP Exception Doctrine\DBAL\Exception\LockWaitTimeoutException: "An exception occurred while executing 'INSERT INTO transactions (quantity, comment, amount, deleted, created, user_id, article_id, recipient_transaction_id, sender_transaction_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, "", 246, 0, "2022-07-18 19:07:44", 118, null, null, null]:
Jul 18 21:07:44 burbon nginx[755821]: SQLSTATE[HY000]: General error: 5 database is locked" at /nix/store/3my6w45qnglgj5m77i8mvl0nndp630p7-strichliste-v1.7.0/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractSQLiteDriver.php line 39" while reading response header from upstream, client: 172.20.65.108, server: strichliste.w17.io, request: "POST /api/user/53/transaction HTTP/2.0", upstream: "fastcgi://unix:/run/phpfpm/strichliste.sock:", host: "strichliste.w17.io", referrer: "https://strichliste.w17.io/"
Jul 18 21:07:44 burbon nginx[755821]: 2022/07/18 21:07:44 [error] 755821#755821: *39514 FastCGI sent in stderr: "PHP message: [critical] Uncaught PHP Exception Doctrine\DBAL\Exception\LockWaitTimeoutException: "An exception occurred while executing 'INSERT INTO transactions (quantity, comment, amount, deleted, created, user_id, article_id, recipient_transaction_id, sender_transaction_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, "", 246, 0, "2022-07-18 19:07:44", 118, null, null, null]:
Jul 18 21:07:44 burbon nginx[755821]: SQLSTATE[HY000]: General error: 5 database is locked" at /nix/store/3my6w45qnglgj5m77i8mvl0nndp630p7-strichliste-v1.7.0/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractSQLiteDriver.php line 39" while reading response header from upstream, client: 172.20.65.108, server: strichliste.w17.io, request: "POST /api/user/15/transaction HTTP/2.0", upstream: "fastcgi://unix:/run/phpfpm/strichliste.sock:", host: "strichliste.w17.io", referrer: "https://strichliste.w17.io/"
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant