JhumanJ / OpnForm

Beautiful Open-Source Form Builder
https://opnform.com
GNU Affero General Public License v3.0
1.9k stars 263 forks source link

Issue with /api/upload-file and /api/password/email on self-hosted #533

Closed asrulmunir closed 2 weeks ago

asrulmunir commented 3 weeks ago

I like this project and manage to get it install on Google Cloud Platform using docker.

OpnForm would be the perfect platform for my use case except for these 2 issues:

1- I can't use the upload files feature

Failed to load resource: the server responded with a status of 500 ()

2- I can't send out emails (invite users and password reset)

FetchError: [POST] "/api/password/email": 500

I'm not sure is there anything that missing:

.env:

MAIL_MAILER=smtp MAIL_HOST=live.smtp.mailtrap.io MAIL_PORT=587 MAIL_USERNAME=api MAIL_PASSWORD=843xxxxx1b75 MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS=mailtrap@mydomain.com MAIL_FROM_NAME="${APP_NAME}"

As for Minio, I can't see any Minio service is running from docker ps.

ados1989 commented 2 weeks ago

I have the same problems

asrulmunir commented 2 weeks ago

Solved the upload issue and password reset email.

But still having issue on email invite.

Logs:

2024-08-24 07:37:09 App\Mail\UserInvitationEmail ................... RUNNING 2024-08-24 07:37:09 App\Mail\UserInvitationEmail ............. 203.19ms FAIL [2024-08-24 07:37:09] local.DEBUG: Un-handled Exception: Please provide a valid cache path. {"exception":"[object] (InvalidArgumentException(code: 0): Please provide a valid cache path. at /usr/share/nginx/html/vendor/laravel/framework/src/Illuminate/View/Compilers/Compiler.php:67)

ados1989 commented 2 weeks ago

How do you solved the upload issue?

ashwin-arrivae commented 2 weeks ago

Hi @asrulmunir can you share the solution

JhumanJ commented 2 weeks ago

We've seen this - will fix soon

ashwin-arrivae commented 2 weeks ago

Is there any timeline to fix this,as we are evaluating this service.

JhumanJ commented 2 weeks ago

Hi all - the image upload have been resolved - please re-create the container using latest images. For the email reset issue it's most probably a config issue so please share more details in a new issue