XPBaz Posted November 25, 2021 Report Share Posted November 25, 2021 Please excuse me for my lack of understanding however I've set my site up - tested it and purchased the Acars download. Following the install instructions I've hit a wall time sending back to do a clean install because the whole thing fails on me so I'm looking for clarification and a little more direct instruction. Step 1 (from Installation (Server) page) For the server-side installation, open the Web folder and copy the VMSAcars into your phpvms/modules folder: - done. Question: the file I download unzips as a folder calls ACARS. The instruction and graphic are VMSAcars. What should my server side folder be called (in the modules folder)? Step 2 (from Installation (Server) page) Then go to your site's URL to the /update folder, and follow through the update. When there are updates (as notified in the ACARS Changelog), you will do the same thing - copy the module folder in and then run the /update again. Question: Where is the /update folder and can someone please outline the remaining part of this step please? Thanks B Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted November 25, 2021 Report Share Posted November 25, 2021 (edited) Looks like you did mis understood what to upload part somehow. As you can see in the docs, there is a folder called "Web" in the acars.zip file you downloaded. You need to upload the module "vmsAcars" folder under it to your phpVms/modules folder. And it is clearly written here (again from the docs) For the server-side installation, open the Web folder and copy the VMSAcars into your phpvms/modules folder And for finishing the update, you need to visit an url, something like https://crew.your-virtual-airline.com/update Visiting /update , /admin or /admin/dashboard will do the trick. But /update is the best and standard way to finish any update or install. Edited November 25, 2021 by DisposableHero Quote Link to comment Share on other sites More sharing options...
XPBaz Posted November 26, 2021 Author Report Share Posted November 26, 2021 Thanks for the advice. It all looked a bit different on my mac. I appreciate you helping. B 1 Quote Link to comment Share on other sites More sharing options...
XPBaz Posted November 26, 2021 Author Report Share Posted November 26, 2021 19 hours ago, DisposableHero said: For the server-side installation, open the Web folder and copy the VMSAcars into your phpvms/modules folder And for finishing the update, you need to visit an url, something like https://crew.your-virtual-airline.com/update Visiting /update , /admin or /admin/dashboard will do the trick. But /update is the best and standard way to finish any update or install. Following this I entered "www.aussieairtoursvirtural.bnasroberts.net/update" into my browser and pressed "Start>>" at the update screen and "Run>>" and (Update Complete) "Finish>>" Went to VMSAcars in the Admin menu list and received 500 | Server Error. I've run the update several times with no success. Help and advice greatly appreciated. B Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted November 26, 2021 Report Share Posted November 26, 2021 4 hours ago, XPBaz said: Following this I entered "www.aussieairtoursvirtural.bnasroberts.net/update" into my browser and pressed "Start>>" at the update screen and "Run>>" and (Update Complete) "Finish>>" Went to VMSAcars in the Admin menu list and received 500 | Server Error. I've run the update several times with no success. Help and advice greatly appreciated. B If you can share the error details (by finding them from your logs, or by enabling debug for visual reference) we may help. Without those details that "500 | Server Error" gives no clue https://docs.phpvms.net/help Quote Link to comment Share on other sites More sharing options...
XPBaz Posted November 26, 2021 Author Report Share Posted November 26, 2021 6 hours ago, DisposableHero said: If you can share the error details (by finding them from your logs, or by enabling debug for visual reference) we may help. Without those details that "500 | Server Error" gives no clue https://docs.phpvms.net/help Unfortunately I can't upload a zip of the log folder to send here. (It's not an accepted file type.) Maybe this includes the useful info from the laravel-2021-11-26.log file It continues this error multiple times over. [2021-11-26 05:39:53] production.INFO: Update: run_migrations {"_token":"olFLDDEbTr1J6C7xhAbrAF5CD7Y2JBKomXSoCHs9"} [2021-11-26 05:39:53] production.INFO: Running seeder [2021-11-26 05:39:53] production.INFO: Seeding ./home/bnasro5/AussieAirToursVirtual.bnasroberts.net/app/Database/seeds/prod/ranks.yml [2021-11-26 05:46:14] production.INFO: Update: run_migrations {"_token":"olFLDDEbTr1J6C7xhAbrAF5CD7Y2JBKomXSoCHs9"} [2021-11-26 05:46:14] production.INFO: Running seeder [2021-11-26 05:46:14] production.INFO: Seeding ./home/bnasro5/AussieAirToursVirtual.bnasroberts.net/app/Database/seeds/prod/ranks.yml [2021-11-26 09:55:00] production.ERROR: Target class [Modules\VMSAcars\Http\Controllers\Admin\AdminController] does not exist. {"exception":"[object] (Illuminate\\Contracts\\Container\\BindingResolutionException(code: 0): Target class [Modules\\VMSAcars\\Http\\Controllers\\Admin\\AdminController] does not exist. at /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Container/Container.php:879) [stacktrace] #0 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Container/Container.php(758): Illuminate\\Container\\Container->build('Modules\\\\VMSAcar...') #1 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\\Container\\Container->resolve('Modules\\\\VMSAcar...', Array, true) #2 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Container/Container.php(694): Illuminate\\Foundation\\Application->resolve('Modules\\\\VMSAcar...', Array) #3 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\\Container\\Container->make('Modules\\\\VMSAcar...', Array) #4 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Foundation\\Application->make('Modules\\\\VMSAcar...') #5 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php(1051): Illuminate\\Routing\\Route->getController() #6 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php(1012): Illuminate\\Routing\\Route->controllerMiddleware() #7 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(708): Illuminate\\Routing\\Route->gatherMiddleware() #8 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(688): Illuminate\\Routing\\Router->gatherRouteMiddleware(Object(Illuminate\\Routing\\Route)) #9 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #10 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #11 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #12 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #13 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #14 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #15 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #16 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/app/Http/Middleware/TrustProxies.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #27 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/public/index.php(59): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #28 {main} [previous exception] [object] (ReflectionException(code: -1): Class Modules\\VMSAcars\\Http\\Controllers\\Admin\\AdminController does not exist at /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Container/Container.php:877) [stacktrace] #0 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Container/Container.php(877): ReflectionClass->__construct('Modules\\\\VMSAcar...') #1 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Container/Container.php(758): Illuminate\\Container\\Container->build('Modules\\\\VMSAcar...') #2 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\\Container\\Container->resolve('Modules\\\\VMSAcar...', Array, true) #3 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Container/Container.php(694): Illuminate\\Foundation\\Application->resolve('Modules\\\\VMSAcar...', Array) #4 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\\Container\\Container->make('Modules\\\\VMSAcar...', Array) #5 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Foundation\\Application->make('Modules\\\\VMSAcar...') #6 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php(1051): Illuminate\\Routing\\Route->getController() #7 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php(1012): Illuminate\\Routing\\Route->controllerMiddleware() #8 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(708): Illuminate\\Routing\\Route->gatherMiddleware() #9 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(688): Illuminate\\Routing\\Router->gatherRouteMiddleware(Object(Illuminate\\Routing\\Route)) #10 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #11 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #12 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #13 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #14 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #15 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/app/Http/Middleware/TrustProxies.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #27 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #28 /home/bnasro5/AussieAirToursVirtual.bnasroberts.net/public/index.php(59): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #29 {main} "} [2021-11-26 09:55:03] production.ERROR: Target class [Modules\VMSAcars\Http\Controllers\Admin\AdminController] does not exist. Quote Link to comment Share on other sites More sharing options...
DisposableHero Posted November 26, 2021 Report Share Posted November 26, 2021 Looks like there are problems with your install. You may find this strange but, correct path should be "modules\VMSAcars\Http\Controllers\Admin\" for the file it is searching. Windows servers may pass this but for Linux/Unix based servers that lowercase "m" and uppercase "M" are different things. So please check your phpvms installation again, you should have a "modules" folder (all in lowercase) at the root of your install, and then a "VMSAcars" folder under it (which you should upload from the zip file without changing folder or file names, as it is shipped). If you have a "Modules" folder (first letter is uppercase) rename it and make it in all lowercase. Then try visiting /update or /admin. (And if you are using Beta4 or any older build, please urgently update your phpvms to latest development build.) Hope this helps and you can solve the problem Quote Link to comment Share on other sites More sharing options...
XPBaz Posted November 28, 2021 Author Report Share Posted November 28, 2021 Thanks - still not quite there however I've worked out a couple of things. When I unzip the downloaded ACARS.zip it doesn't fully unzip either on my remote server or on my Mac locally. The Admin folder is just a file name rather than folder with content. On the Mac I get files with directory paths. (See below.) So I've manually created folders and uploaded the files less the path names however that still hasn't fixed it. Any ideas and thanks again. B Quote Link to comment Share on other sites More sharing options...
XPBaz Posted November 29, 2021 Author Report Share Posted November 29, 2021 Fixed it. I had to manually create a number of directories in my remote server and copy the php files up to each of them. Thanks for your help. B 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.