snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.98k stars 3.16k forks source link

Error while upgrading from V2 to v3 #2343

Closed manusolano777 closed 8 years ago

manusolano777 commented 8 years ago

Dear, am a beginer in Snipe IT. I was using this application from past 3 month.

I have upgraded my existing version to new version v3. My migration of table are successful. Now am getting an error message that " Whoops, looks like something went wrong. ".

Kindly please help me to solve the same.

snipe commented 8 years ago

You should not be editing those php files, and you should have copied the .env.example over to .env. Please see the upgrade guide. https://snipe-it.readme.io/docs/upgrading

manusolano777 commented 8 years ago

Thank for your reply. Mam while i rename the ".env.example" to ".env" . Still i gets the same screen Find below my ".env" file

--------------------------------------------

REQUIRED: BASIC APP SETTINGS

--------------------------------------------

APP_ENV=local APP_DEBUG=false APP_KEY=gjD3C1lSrFBZ3iyXmosqm92ERsjGtGkx APP_URL=http://asset.rajagirihspl.com/ APP_TIMEZONE='UTC' APP_LOCALE=en

--------------------------------------------

REQUIRED: DATABASE SETTINGS

--------------------------------------------

DB_CONNECTION=mysql DB_HOST=localhost DB_DATABASE=rajagiriassetdb DB_USERNAME=root DB_PASSWORD=null DB_PREFIX=null DB_DUMP_PATH='/usr/bin'

--------------------------------------------

REQUIRED: OUTGOING MAIL SERVER SETTINGS

--------------------------------------------

MAIL_DRIVER=smtp MAIL_HOST=mail.rajagirihspl.com MAIL_PORT=587 MAIL_USERNAME=intranet MAIL_PASSWORD=aerfaew MAIL_ENCRYPTION=null MAIL_FROM_ADDR=intranet@rajagirihspl.com MAIL_FROM_NAME=rajagiriasset

--------------------------------------------

REQUIRED: IMAGE LIBRARY

This should be gd or imagick

--------------------------------------------

IMAGE_LIB=gd

--------------------------------------------

OPTIONAL: SESSION SETTINGS

--------------------------------------------

SESSION_LIFETIME=12000 EXPIRE_ON_CLOSE=false ENCRYPT=false COOKIE_NAME=snipeit_session COOKIE_DOMAIN=null SECURE_COOKIES=false

--------------------------------------------

OPTIONAL: CACHE SETTINGS

--------------------------------------------

CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync

--------------------------------------------

OPTIONAL: AWS S3 SETTINGS

--------------------------------------------

AWS_SECRET=null AWS_KEY=null AWS_REGION=null AWS_BUCKET=null

--------------------------------------------

OPTIONAL: MISC

--------------------------------------------

APP_LOG=single APP_LOCKED=false FILESYSTEM_DISK=local APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1

snipe commented 8 years ago

Please provide answers to the questions you deleted.

snipe commented 8 years ago

You have to turn debugging on, per the getting help documentation, before we'll be able to help you.

manusolano777 commented 8 years ago
snipe commented 8 years ago

You have to turn debugging on, per the getting help documentation, before we'll be able to help you.

manusolano777 commented 8 years ago

Ya its On now. This is the result.

FatalErrorException in compiled.php line 1341: Maximum function nesting level of '100' reached, aborting! in compiled.php line 1341 at FatalErrorException->__construct() in compiled.php line 2186 at HandleExceptions->fatalExceptionFromError() in compiled.php line 2181 at HandleExceptions->handleShutdown() in compiled.php line 0 at Container->normalize() in compiled.php line 1111 at Container->isAlias() in compiled.php line 1104 at Container->resolved() in compiled.php line 1129 at Container->bind() in compiled.php line 1152 at Container->singleton() in compiled.php line 5896 at HashServiceProvider->register() in compiled.php line 1812 at Application->register() in compiled.php line 1861 at Application->registerDeferredProvider() in compiled.php line 1853 at Application->loadDeferredProvider() in compiled.php line 1872 at Application->make() in compiled.php line 1556 at Container->offsetGet() in CreatesUserProviders.php line 65 at AuthManager->createEloquentProvider() in CreatesUserProviders.php line 38 at AuthManager->createUserProvider() in compiled.php line 398 at AuthManager->createSessionDriver() in compiled.php line 386 at AuthManager->resolve() in compiled.php line 373 at AuthManager->guard() in compiled.php line 367 at AuthManager->Illuminate\Auth{closure}() in compiled.php line 5758 at call_user_func:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:5758}() in compiled.php line 5758 at AuthServiceProvider->Illuminate\Auth{closure}() in compiled.php line 3119 at call_user_func:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:3119}() in compiled.php line 3119 at Request->user() in CheckLocale.php line 26 at CheckLocale->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 3225 at VerifyCsrfToken->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 13139 at AddQueuedCookiesToResponse->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 13076 at EncryptCookies->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 9938 at call_user_func:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9938}() in compiled.php line 9938 at Pipeline->then() in compiled.php line 8219 at Router->runRouteWithinStack() in compiled.php line 8210 at Router->dispatchToRoute() in compiled.php line 8200 at Router->dispatch() in compiled.php line 2419 at Kernel->Illuminate\Foundation\Http{closure}() in Pipeline.php line 52 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:52}() in Pipeline.php line 52 at Pipeline->Illuminate\Routing{closure}() in Debugbar.php line 49 at Debugbar->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in TrustProxies.php line 46 at TrustProxies->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in CheckForSetup.php line 22 at CheckForSetup->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in NosniffGuard.php line 17 at NosniffGuard->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in XssProtectHeader.php line 17 at XssProtectHeader->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in FrameGuard.php line 17 at FrameGuard->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 13400 at ShareErrorsFromSession->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 11943 at StartSession->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 3286 at CheckForMaintenanceMode->handle() in compiled.php line 9953 at call_user_func_array:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9953}() in compiled.php line 9953 at Pipeline->Illuminate\Pipeline{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\rajagiriasset\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}() in compiled.php line 9938 at call_user_func:{C:\wamp\www\rajagiriasset\bootstrap\cache\compiled.php:9938}() in compiled.php line 9938 at Pipeline->then() in compiled.php line 2366 at Kernel->sendRequestThroughRouter() in compiled.php line 2350 at Kernel->handle() in index.php line 55 at {main}() in index.php line 0

snipe commented 8 years ago

Try increasing the value of xdebug.max_nesting_level in your php.ini:

xdebug.max_nesting_level = 1000

manusolano777 commented 8 years ago

Thank you very much now it's working well....

snipe commented 8 years ago

Excellent - glad you got it sorted.