Announcement

Collapse
No announcement yet.

Error 502 when rebuild

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 502 when rebuild

    Error rebuild software with unchecked "use cache" option

    For developer purposes I need another one copy of espo.

    Steps:

    1. Install fresh instance of espo (OK)
    2. Install Advanced pack and VOip extensions (OK)
    3. Uncheck "use cache" option (this is developer instance espo) !!!
    4. Synchronise /custom folders from current working instance and this one (OK)
    5. Rebuild software (fail, 502)
    Log record (
    [2018-07-19 08:18:02] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.primary_account_id' in 'field list'" at /home/espodev/public_html/application/Espo/ORM/DB/Mapper.php line 73 {"exception":"[object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.primary_account_id' in 'field list' at /home/espodev/public_html/application/Espo/ORM/DB/Mapper.php:73)"} [] )

    PrimaryAccount is custom field of user entity.
    6. Login failed with the same error
    7. Rename Custom/Espo -> Custom/Espo.old (OK)
    8. Login (OK)
    9. Check "use cache" option
    10. Rebuild, clear cache, clear local cache, shift+relod
    11. Rename Custom/Espo.old -> Custom/Espo (OK)
    12. Login, Rebuild, clear cache, clear local cache, shift+relod
    13. All OK.
Working...
X