Closed ebeauchamps closed 4 years ago
Same, when trying to update both from 3.0.0 to 3.0.1, and 3.0.1 to 3.0.2.
Full error (although it looks like the pertinent info is Argument 1 passed to Statamic\\Updater\\Updater::install() must be of the type string, null given
):
Status: 500 Internal Server Error
X-Powered-By: PHP/7.4.2
Cache-Control: no-cache, private
Date: Mon, 31 Aug 2020 20:36:05 GMT
Content-Type: application/json
Set-Cookie: XSRF-TOKEN=eyJpdiI6InFvbUdOckQ0TEJkZ0c3MWRaRWIwT2c9PSIsInZhbHVlIjoiNzZJRTVxNkhiSmZoUmg1blhCWjNoZ3lqOGpEcjFIVktqWlI4dmdNQ1JxTWh1NzUvbHdyMXp3VElwRnNMUkg2RFJVMlBPRHROam51bkEzdld6Ukd1TEJkWDI1cEpHcVBHSWVvZzF5SWJjQmhVOUdXSTZIWmxwVkNJa0FoZkpsNnciLCJtYWMiOiI5NTNmNGYwZWI5NjhhMmU0MjUxZGI0YzMwMWU5Y2VlYjA3YTc1NGRmMWVhODgyNTFkMGY5MTQ4YTQ4MmI4ZTczIn0%3D; expires=Mon, 31-Aug-2020 22:36:05 GMT; Max-Age=7200; path=/; samesite=lax
Set-Cookie: statamic_session=eyJpdiI6IkNRb1NTc1ZSQzlxYU40aFVlUFJGREE9PSIsInZhbHVlIjoibjRaZVVpRElnOGxaWkUwaU1lc2kxanpSQ0U5cFM5TnBuOVZzWldRejFUNlFBUk5yYzlSeWRkeUxMYzdvL2tZajV0YnluSTVIbGpLcHFGaitlNSs1WUtER3VPWUZMNFBGODdtY21ZaFVmaE5MbnhyRU9kaWsvWFZIMVJlN2cwdm0iLCJtYWMiOiI3MmI3N2Y1OTg4NTFhNTNjNDgyZWNkOGZjNDNhOTRjZDc2Mjg4OGJmNzNiMmU4Y2JlOTljMDE4MmFjZWNlZTZhIn0%3D; expires=Mon, 31-Aug-2020 22:36:05 GMT; Max-Age=7200; path=/; httponly; samesite=lax
{
"message": "Argument 1 passed to Statamic\\Updater\\Updater::install() must be of the type string, null given, called in /Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Controllers/CP/Updater/UpdateProductController.php on line 70",
"exception": "TypeError",
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Updater/Updater.php",
"line": 40,
"trace": [
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Controllers/CP/Updater/UpdateProductController.php",
"line": 70,
"function": "install",
"class": "Statamic\\Updater\\Updater",
"type": "->"
},
{
"function": "install",
"class": "Statamic\\Http\\Controllers\\CP\\Updater\\UpdateProductController",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
"line": 54,
"function": "call_user_func_array"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
"line": 45,
"function": "callAction",
"class": "Illuminate\\Routing\\Controller",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 239,
"function": "dispatch",
"class": "Illuminate\\Routing\\ControllerDispatcher",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 196,
"function": "runController",
"class": "Illuminate\\Routing\\Route",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 685,
"function": "run",
"class": "Illuminate\\Routing\\Route",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 128,
"function": "Illuminate\\Routing\\{closure}",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Middleware/CP/CountUsers.php",
"line": 18,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Statamic\\Http\\Middleware\\CP\\CountUsers",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Middleware/CP/Localize.php",
"line": 16,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Statamic\\Http\\Middleware\\CP\\Localize",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Middleware/CP/Authorize.php",
"line": 25,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Statamic\\Http\\Middleware\\CP\\Authorize",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Middleware/CP/ContactOutpost.php",
"line": 21,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Statamic\\Http\\Middleware\\CP\\ContactOutpost",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
"line": 41,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php",
"line": 77,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php",
"line": 49,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\View\\Middleware\\ShareErrorsFromSession",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
"line": 116,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
"line": 62,
"function": "handleStatefulRequest",
"class": "Illuminate\\Session\\Middleware\\StartSession",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Session\\Middleware\\StartSession",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php",
"line": 37,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php",
"line": 67,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Cookie\\Middleware\\EncryptCookies",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Middleware/SwapExceptionHandler.php",
"line": 19,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Statamic\\Http\\Middleware\\SwapExceptionHandler",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 103,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 687,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 662,
"function": "runRouteWithinStack",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 628,
"function": "runRoute",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 617,
"function": "dispatchToRoute",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 165,
"function": "dispatch",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 128,
"function": "Illuminate\\Foundation\\Http\\{closure}",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Middleware/CheckMultisite.php",
"line": 14,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Statamic\\Http\\Middleware\\CheckMultisite",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/statamic/cms/src/Http/Middleware/PoweredByHeader.php",
"line": 19,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Statamic\\Http\\Middleware\\PoweredByHeader",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php",
"line": 58,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Barryvdh\\Debugbar\\Middleware\\InjectDebugbar",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
"line": 27,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
"line": 63,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/fruitcake/laravel-cors/src/HandleCors.php",
"line": 37,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Fruitcake\\Cors\\HandleCors",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/fideloper/proxy/src/TrustProxies.php",
"line": 57,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"function": "handle",
"class": "Fideloper\\Proxy\\TrustProxies",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 103,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 140,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 109,
"function": "sendRequestThroughRouter",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->"
},
{
"file": "/Users/fitzage/Source/mexv3/public/index.php",
"line": 55,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->"
}
]
}
I have the same issue on my MAMP5 (php 7.4.2) install. Other machine runnning valet installs perfeclty fine.
Related or same issue #2156
Same error here when trying to update from 3.0.7 to 3.0.8.
Same error here when trying to update from 3.0.7 to 3.0.8.
I'm also having a similar issue (may need to be filed separately). Statamic 3.0.7, PHP 7.4.7, Mac Local, Valet (not MAMP)
Error is sh: line 0: exec: : not found
In my logs:
[2020-09-16 05:20:04] local.ERROR: Composer Process: sh: line 0: exec: : not found
which somewhat indicates an issue with Composer? Ended up just updating manually (via composer) which worked fine to get to 3.0.8 🤷♂️
Closing in favor of #2179
Bug Description
Running statamic 3.0.0 on MAMP PRO 5.7
Using the updater within the CP, I get a popup window whose title is "Installation complete!" but whose text says all the contrary
I can provide the full stack
I tried to update to 3.0.1 and also to 3.0.2. No dice
How to Reproduce
In the CP, click on "Update to the latest version"
Extra Detail
I have never succeeded in updating from within the CP, including with the latest betas
Environment
Statamic version: 3.0.0
PHP version: 7.4.2. Also tried with 7.2.2.
Install method (choose one):
statamic/statamic
(brand new full install)