When i uppgrade suitecrm version 7.12 to 8.2.0 then upgraded successfully in this version but when i click any module like accounts,contact and admin then show some error like Unexpected error when calling action

when i uppgrade suitecrm version 7.12 to 8.2.0 then upgraded successfully in this version but when i click any module like accounts,contact and admin then show some error like Unexpected error when calling action.

It means you have errors, you need to check log files and browser console to check what are errors you have.

Showing this error in console when i clicked any module like accounts and contact
http://localhost/crm/public/api/graphql 403 (Forbidden)

Your web server configuration is not correct, you need to set the correct webroot so that the world “public” does not appear in the urls.

please suggest me how can i correct path.

All the steps are here

I have followed the same steps but still getting the same error

Which webroot do you have set in your web server?

I have set
/var/www/html

It should point to the public folder, and then you need to set up rewriteBase as explained in the docs.

my site url is:
http://localhost/crm/public
my rewriteBase is:
/crm/public/legacy

I don’t know what you mean by “my site URL”.

If you mean what’s people type in the navigation bar of the browser then it is wrong, you should never see the word “public” there.

If you mean the webroot as defined in the web server virtual host configuration, then it’s okay, it’s precisely by adding “public” there that it will not appear in the URLs seen on the browser.