Hi,
This is a specific problem with sequence patch.
When I try to save a new sequence, it dies.
Fcgi environment.
I do not see any logs, even with Carp::Always
We should catch it somehow.
In the DB, after I tried to save a new sequence, I got this response in the DB (technically no DB response, I guess the script dies earlier):
2014-10-13 15:35:10 CEST LOG: statement: begin
2014-10-13 15:35:10 CEST LOG: statement:
SELECT * FROM user_preference
WHERE id = (SELECT id FROM users WHERE username = 'XXXX')
2014-10-13 15:35:10 CEST LOG: statement: SELECT value FROM defaults WHERE setting_key = 'templates'
2014-10-13 15:35:10 CEST LOG: statement: set DateStyle to ''
2014-10-13 15:35:10 CEST LOG: statement: rollback
2014-10-13 15:35:34 CEST LOG: statement: begin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the first step on some of these is to get your FCGI wrapper into a more robust state so we can get logs in these cases. If the fcgi process dies, it can do so before stderr is sent back to the server for logging. If you could email me your fcgi wrapper script I can take a look at it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the DB, after I tried to save a new sequence, I got this response in the DB (technically no DB response, I guess the script dies earlier):
2014-10-13 15:35:10 CEST LOG: statement: begin
2014-10-13 15:35:10 CEST LOG: statement:
SELECT * FROM user_preference
WHERE id = (SELECT id FROM users WHERE username = 'XXXX')
2014-10-13 15:35:10 CEST LOG: statement: SELECT value FROM defaults WHERE setting_key = 'templates'
2014-10-13 15:35:10 CEST LOG: statement: set DateStyle to ''
2014-10-13 15:35:10 CEST LOG: statement: rollback
2014-10-13 15:35:34 CEST LOG: statement: begin
I think the first step on some of these is to get your FCGI wrapper into a more robust state so we can get logs in these cases. If the fcgi process dies, it can do so before stderr is sent back to the server for logging. If you could email me your fcgi wrapper script I can take a look at it.
https://sourceforge.net/p/ledger-smb/bugs/1251/
https://github.com/ledgersmb/LedgerSMB/pull/449