Announcement

Collapse
No announcement yet.

Error 500 when creating new Entity

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

  • Error 500 when creating new Entity

    [EspoCRM Version 8.2.4​, Ubuntu 22.04.2 LTS, PHP 8.2.5 ]

    When I try to create a new entity - let's say 'occasion' -, at first I get error 500. If I send the same form a second time without changing anything, I get 'Error 409 - Name 'COccasion' is already used.'.
    I then leave the form, change to administration and click rebuild. In fact, the entities list then will have an entry 'COccasion' (Name=COccasion, Label=COccasion, Type=Base, Module=Custom).
    Unfortunately, I cannot find any useful information in the logs ...

  • #2
    Please try to make a Hard Rebuild: https://docs.espocrm.com/administrat.../#hard-rebuild or delete this entity manually via phpMyAdmin and then make standart Rebuild via CLI.

    Comment


    • #3
      Hi Victor,
      thanks for your tip. But it wasn't that. Rebuild - either hard or "soft" - made the system stop working. Solution: I found, owner of custom/Espo/Custom/Resources/metadata/recordDefs was set to root:root - no idea, why ...
      I changed this to www-data:www-data. Works again.
      Thanks again,
      regards

      Comment

      Working...
      X