👩‍💻 Check out our latest job positions here 👈 or send us a PM for more info.

Suitecrm8: Error occurred while fetching metadata

The installation is complete, but the login error is reported,Who can help me?

1 Like

Hi @shifang,

Welcome to the community and thanks for trying out SuiteCRM 8.

To be able to help we need a bit more info, could you do the following please?:

  • On .env.local file change the env from prod to qa
  • The open the network tab on the browser devtools .
  • Then reload the page.
  • Check the graphql calls. One of those should have an error on the response.

Could you send that information please?

Thank you for your help.

  • On .env.local file only:DATABASE_URL="mysql://********** "
  • On .env file change the “APP_ENV=qa” from prod to qa
    I don’t know if I’m doing it right .
  • The error message is:

Hi @shifang,

Thank you for the input.

Its ok to set it on .env, it contains the defaults

The tab you are showing is the console tab should be a network tab with several requests. One of those requests should contain an error entry on the response. Could you try to find that and send it please?

Hi @noclip,

Welcome to the community :wave: and thanks for trying out SuiteCRM 8 RC.

Apologies for the delay in replying.

As a quick try, could you try re-setting permissions and ownership please? I’ve seen similar issues when the user and group are different.

But also to help debug the issue, could you got to the .env file and change the APP_ENV=dev to APP_ENV=qa.

Then:

  • refresh the browser
  • open the network tab and clear it
  • re-do the steps to replicate the issue
  • go to the network tab and search on the graphql calls for the one that has an errors entry on the response.

Another thing you can also check is: logs/prod/prod.log

I face the same problem with cyberpanel (openlitespeed) host.

Hi @peterjason,

Welcome to the community! :wave: and thanks for trying out SuiteCRM 8.

Could you try the steps on the post above, please?

  • checking permissions
  • then checking the logs and also the network tab