MB
Asked
Hi,
I tried to update my app ,I got this error:'
This page isn’t working
is currently unable to handle this request.
HTTP ERROR 500.
'
How can I Do these instruction manually in my cpanel :"
Now if you can login as super admin then you can visit
http://yourWIMSURL/update/database otherwise you will need to update the database by
running the following command from your main WIMS folder.
cd path/to/your/wims
php artisan app:update
where ?
"
I saw one of your forum replies :
"Once you have uploaded the files to your server. Please go that folder in terminal and run composer install. This only apply if you are using git. If not the vendor folder is included in your download, you just need to access the installer and follow that.
"
but how?
I tried to update my app ,I got this error:'
This page isn’t working
is currently unable to handle this request.
HTTP ERROR 500.
'
How can I Do these instruction manually in my cpanel :"
Now if you can login as super admin then you can visit
http://yourWIMSURL/update/database otherwise you will need to update the database by
running the following command from your main WIMS folder.
cd path/to/your/wims
php artisan app:update
where ?
"
I saw one of your forum replies :
"Once you have uploaded the files to your server. Please go that folder in terminal and run composer install. This only apply if you are using git. If not the vendor folder is included in your download, you just need to access the installer and follow that.
"
but how?
- MSAnsweredHello,
Please edit the `.env` and set the `APP_URL`
Please check the error logs in the `storage/logs/` folder and let me know the error details so that I can suggest.
I don't have answer for where and how as it all depends in your server and hosting. cPanle has terminal that you can use to run commands. Otherwise ssh access should be avaialble. Please check with your server admin.
Thank you - MBAnsweredI think causes by the new app code, in storage logs folder/ .gitignore file only 2 lines :"
*
!.gitignore
"
I can't update database - MSAnsweredHello,
The log file should be `laravel*.log`
As there were no database changes, you just need to update the files.
Please make sure you didn't delete the `.env` file. If there is no log file for laravel, you can check your server php error logs.
Thank you - MBAnsweredI got this error :
500
Internal Server Error
An internal server error has occured.
no logs error
https://snipboard.io/i8EpXV.jpg
https://snipboard.io/uRLnxE.jpg - MSAnsweredHello,
I suspect it's something server related. Please check with your server admin.
If request reach to file, laravel should log the error.
Thank you - MBAnsweredNo,
It work fine with the old code
https://snipboard.io/TtiJaf.jpg
when I return back to the previous version it work fine - MSAnsweredLatest version requires PHP8. It means something wrong with update file or update procedure if it's not the php version.
- MBAnsweredI tried with php8
I got this error message:"
This page isn’t working
stock.bdigital.website redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
"
I cleared cookies and cache but nothing good
https://snipboard.io/FmK0h3.jpg
error logs in storage/logs:
[2021-09-28 15:29:41] production.ERROR: File does not exist at path /home/bdigsdqb/stock/resources/lang/lang.json. {"exception":"[object] (Illuminate\\Contracts\\Filesystem\\FileNotFoundException(code: 0): File does not exist at path /home/bdigsdqb/stock/resources/lang/lang.json. at /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:57)
[stacktrace]
#0 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\\Filesystem\\Filesystem->get()
#1 /home/bdigsdqb/stock/app/Http/Middleware/HandleInertiaRequests.php(15): Illuminate\\Support\\Facades\\Facade::__callStatic()
#2 /home/bdigsdqb/stock/vendor/inertiajs/inertia-laravel/src/Middleware.php(78): App\\Http\\Middleware\\HandleInertiaRequests->share()
#3 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Inertia\\Middleware->handle()
#4 /home/bdigsdqb/stock/vendor/laravel/jetstream/src/Http/Middleware/ShareInertiaData.php(61): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#5 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Laravel\\Jetstream\\Http\\Middleware\\ShareInertiaData->handle()
#6 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#7 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#8 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#9 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#10 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#11 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#12 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#13 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\AuthenticateSession->handle()
#14 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#15 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#16 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle()
#17 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#18 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#19 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#20 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#21 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#22 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\\Pipeline\\Pipeline->then()
#23 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\\Routing\\Router->runRouteWithinStack()
#24 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\\Routing\\Router->runRoute()
#25 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->dispatchToRoute()
#26 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\\Routing\\Router->dispatch()
#27 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#28 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#29 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#30 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#31 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#33 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#34 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#35 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#36 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#37 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#38 /home/bdigsdqb/stock/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle()
#40 /home/bdigsdqb/stock/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle()
#42 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\\Pipeline\\Pipeline->then()
#44 /home/bdigsdqb/stock/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#45 /home/bdigsdqb/stock/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#46 {main}
"} - MBAnsweredI have a basic/minified version , is it the problem cause?
- MSAnsweredHello,
I am sorry this file should need to be for all. I might have packed the file wrongly.
Can you please download the file now and try agian. I have fixed the download file.
Please let me know if you still have issue.
Thank you - Login to Reply