Migration to new host and domain

I just migrated my installation to a new host and domain. Imported a sql dump and updated the .env file. The problem is that it 500 errors out when going to the new domain, and eventually redirects to the old one.

Where else do I need to update my domain for this to work? It’s a new host and new domain, so I can’t imagine it’s a DNS issue.

Hi,

Are there any details about the 500 in the storage/logs or the web server error logs?

Access log:

clients.turbomediatech.com 24.250.189.243 - - [07/Oct/2022:04:11:16 +0100] "GET /flutter_service_worker.js?v=5.3.22 HTTP/1.1" 500 534 "https://clients.turbomediatech.com/flutter_service_worker.js?v=5.3.22" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
clients.turbomediatech.com 2600:8807:c200:26:49bf:164f:34e4:5377 - - [07/Oct/2022:04:57:59 +0100] "GET / HTTP/1.1" 500 534 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
clients.turbomediatech.com 2600:8807:c200:26:49bf:164f:34e4:5377 - - [07/Oct/2022:04:58:00 +0100] "GET /favicon.ico HTTP/1.1" 500 534 "https://clients.turbomediatech.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
clients.turbomediatech.com 24.250.189.243 - - [07/Oct/2022:05:14:50 +0100] "GET / HTTP/1.1" 500 534 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
clients.turbomediatech.com 24.250.189.243 - - [07/Oct/2022:05:14:51 +0100] "GET /favicon.ico HTTP/1.1" 500 534 "https://clients.turbomediatech.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
clients.turbomediatech.com 2600:8807:c200:26:49bf:164f:34e4:5377 - - [07/Oct/2022:05:15:40 +0100] "GET /favicon.ico HTTP/1.1" 500 534 "https://clients.turbomediatech.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
clients.turbomediatech.com 24.250.189.243 - - [07/Oct/2022:05:15:51 +0100] "GET / HTTP/1.1" 500 534 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
clients.turbomediatech.com 24.250.189.243 - - [07/Oct/2022:05:15:51 +0100] "GET /favicon.ico HTTP/1.1" 500 534 "https://clients.turbomediatech.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"

Error Log:

clients.turbomediatech.com [Fri Oct 07 01:36:45 2022] [error] [client 2600:8807:c200:26:9b6:d961:1688:c94:0] #12 /home/sites/18a/6/66d77f6fbf/public_html/clients/vendor/turbo124/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(89): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->renderHttpResponse(Object(ErrorException))
clients.turbomediatech.com [Fri Oct 07 01:36:45 2022] [error] [client 2600:8807:c200:26:9b6:d961:1688:c94:0] #13 /home/sites/18a/6/66d77f6fbf/public_html/clients/vendor/turbo124/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(123): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleException(Object(ErrorException))
clients.turbomediatech.com [Fri Oct 07 01:36:45 2022] [error] [client 2600:8807:c200:26:9b6:d961:1688:c94:0] #14 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleShutdown()
clients.turbomediatech.com [Fri Oct 07 01:36:45 2022] [error] [client 2600:8807:c200:26:9b6:d961:1688:c94:0] #15 {main}
clients.turbomediatech.com [Fri Oct 07 01:36:45 2022] [error] [client 2600:8807:c200:26:9b6:d961:1688:c94:0]   thrown in /home/sites/18a/6/66d77f6fbf/public_html/clients/vendor/turbo124/framework/src/Illuminate/Container/Container.php on line 811
clients.turbomediatech.com [Fri Oct 07 01:36:50 2022] [error] [client 2600:8807:c200:26:9b6:d961:1688:c94:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in /home/sites/18a/6/66d77f6fbf/public_html/clients/vendor/turbo124/framework/src/Illuminate/Container/Container.php:811\nStack trace:\n#0 /home/sites/18a/6/66d77f6fbf/public_html/clients/vendor/turbo124/framework/src/Illuminate/Container/Container.php(811): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8192, 'Method Reflecti...', '/home/sites/18a...', 811)\n#1 /home/sites/18a/6/66d77f6fbf/public_html/clients/vendor/turbo124/framework/src/Illuminate/Container/Container.php(780): Illuminate\\Container\\Container->resolveDependencies(Array)\n#2 /home/sites/18a/6/66d77f6fbf/public_html/clients/vendor/turbo124/framework/src/Illuminate/Container/Container.php(631): Illuminate\\Container\\Container->build('App\\\\Exceptions\\\\...')\n#3 /home/sites/1
clients.turbomediatech.com [Fri Oct 07 02:27:11 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:27:14 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:27:14 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:27:17 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:27:46 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:33:33 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:33:36 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:33:36 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:33:38 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
clients.turbomediatech.com [Fri Oct 07 02:33:46 2022] [error] [client 2600:8807:c200:26:79bd:733d:530b:11d9:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

Which version of PHP are you using?

I switched from 8.0 to 7.3, which I believe is supported, but I’ve actually tried 7.0 - 7.4 to no avail. Any ideas?

If you’re using v4 then PHP 7.4 is required.

I’m currently on 7.4, but I’m still getting the same error.

Which version of the app are you using?

It’s down now, so I’m not entirely sure, but I believe it was 4.5.37.

I think it’s likely it’s related to PHP version, I suggest using a phpinfo file to double check the PHP version.