Something went wrong error after migration

Hello,

I have migrated installation from Plesk to Webmin/Virtual min, set same php/limits, set cron… I see login page normally, but when trying to login -“Something went wrong” and “Server error”… Credentials seems correct as went use wrong it says wrong…

Apache error log shows:

xx.xxx.xxx.xx - - [19/Oct/2024:14:43:32 +0200] “POST /api/v1/login HTTP/2.0” 500 496 “https://inv.aaaa.com/login” "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36”

Any solutions?

?

Thanks and nice day

Hi,

Are there any details about the error in storage/logs?

Hello,

Php and apached errog logs are emty…

I moved installation about 24 hours ago…

Only Apache access

xxx.xx.172 - - [19/Oct/2024:19:57:26 +0300] “GET /.env HTTP/1.1” 403 4238 “-” “Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/534.35 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.35 Puffin/2.9174AT”
xx.xx.69 - - [19/Oct/2024:19:55:44 +0300] “POST /api/v1/login HTTP/2.0” 500 496 “https://inv.aaaa.com/login” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36”

I’m asking you to check the application error log in storage/logs

Sorry, i am copy paste level user, found in storage / logs / lavarel log:

[2024-10-19 17:02:10] production.ERROR: Missing BC Math or GMP extension. {“userId”:1,“exception”:"[object] (RuntimeException(code: 0): Missing BC Math or GMP extension. at /home/aaaa/domains/inv.bbb.com/public_html/vendor/hashids/hashids/src/Hashids.php:408)
[stacktrace]

Do not see any log files in App folder

I am in… after mcmath install… thanks for assistance, appreciated.

Glad to hear it, thanks for the update!