I got a error 500 after upgrading from 5.5.6 to 5.6.1.
Error log:
"
[2019-05-10 06:53:07] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:53:07] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-05-05%2022:00&to=2019-05-12%2022:00&scopeList=Meeting%2CCall%2CTask&teamIdL ist=5b1907eeca5e581d6 [] [] [2019-05-10 06:53:21] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:53:21] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-04-28%2022:00&to=2019-06-09%2022:00&scopeList=Meeting%2CTask [] [] [2019-05-10 06:53:52] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:53:52] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-05-05%2022:00&to=2019-05-12%2022:00&scopeList=Meeting%2CCall%2CTask&teamIdL ist=5b1907eeca5e581d6 [] [] [2019-05-10 06:59:27] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:59:27] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-05-05%2022:00&to=2019-05-12%2022:00&scopeList=Meeting%2CCall%2CTask&teamIdL ist=5b1907eeca5e581d6 [] [] "
The error is the exact same as this related post https://forum.espocrm.com/forum/inst...ndar-error-500
I added the missing row "date_end_date" in the meeting table and everything work again. The row "date_start_date" was not missing.
I have Real Estate extension installed, no other extension.
Maybe there is something missing in your upgradescript?
php7.2
MariaDB version 10.2.23-MariaDB-cll-lve
Error log:
"
[2019-05-10 06:53:07] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:53:07] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-05-05%2022:00&to=2019-05-12%2022:00&scopeList=Meeting%2CCall%2CTask&teamIdL ist=5b1907eeca5e581d6 [] [] [2019-05-10 06:53:21] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:53:21] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-04-28%2022:00&to=2019-06-09%2022:00&scopeList=Meeting%2CTask [] [] [2019-05-10 06:53:52] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:53:52] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-05-05%2022:00&to=2019-05-12%2022:00&scopeList=Meeting%2CCall%2CTask&teamIdL ist=5b1907eeca5e581d6 [] [] [2019-05-10 06:59:27] Espo.ERROR: API [GET]:/Activities, Params:Array ( ) , InputData: - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list' [] [] [2019-05-10 06:59:27] Espo.ERROR: Display Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'meeting.date_end_date' in 'field list', Code: 42 URL: /api/v1/Activities?from=2019-05-05%2022:00&to=2019-05-12%2022:00&scopeList=Meeting%2CCall%2CTask&teamIdL ist=5b1907eeca5e581d6 [] [] "
The error is the exact same as this related post https://forum.espocrm.com/forum/inst...ndar-error-500
I added the missing row "date_end_date" in the meeting table and everything work again. The row "date_start_date" was not missing.
I have Real Estate extension installed, no other extension.
Maybe there is something missing in your upgradescript?
php7.2
MariaDB version 10.2.23-MariaDB-cll-lve
Comment