freescout - unable to create mailbox
-
I tried to use freescout (not using OIDC plugin) but I cannot create a mailbox. Error shown when trying to create a mailbox 'Whoops, looks like something went wrong — check logs in /storage/logs'. I can also replicate the problem on demo.cloudron.io
-
This seems to be an upstream error.
From the Freescout web ui app-logs when checking
$FREESCOUTAPP/app-logs/app
error production 2025-05-26 06:19:54 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ratings' cannot be null (SQL: insert into `mailboxes` (`signature`, `email`, `name`, `ratings`, `updated_at`, `created_at`) values (<br><span style="color:#808080;">--<br>
This already has been reporte upstream =>
https://github.com/freescout-help-desk/freescout/issues/4800The suggested Hotfix => https://github.com/freescout-help-desk/freescout/issues/4800#issuecomment-2903781008
Temporary fix: change line 92 in /app/Http/Controllers/MailboxesController.php to:
'ratings' => $request->ratings ?? 1,
Is not possible in a Cloudron setup since
/app/code/app/Http/Controllers/MailboxesController.php
is read-only.
As soon as this is fixed upstream, Cloudron will release the update as well asap.