snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Issues while updating from 1.2.7 to 2.1.0

Open rnovo-carecloud opened this issue 10 years ago • 7 comments

I am getting this error running this line :+1:

php artisan migrate

Actual Behavior

sniper@cc-bl-snipe:/var/www/html$ php artisan migrate PHP Fatal error: Class 'Schickling\Backup\BackupServiceProvider' not found in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 157 {"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Class 'Schickling\Backup\BackupServiceProvider' not found","file":"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php","line":157}}sniper@cc-bl-snipe:/var/www/html$

Before posting this issue, confirm/answer the following:

rnovo-carecloud avatar Feb 17 '16 22:02 rnovo-carecloud

Did you run composer install?

snipe avatar Feb 17 '16 22:02 snipe

I did I got this

sniper@cc-bl-snipe:/var/www/html$ sudo php composer.phar install --no-dev --prefer-source [sudo] password for sniper: Warning: This development build of composer is over 60 days old. It is recommended to update it by running "composer.phar self-update" to get the latest version. Loading composer repositories with package information Installing dependencies from lock file Your requirements could not be resolved to an installable set of packages.

Problem 1 - Installation request for guzzle/guzzle 3.9.x-dev -> satisfiable by guzzle/guzzle[3.9.x-dev]. - guzzle/guzzle 3.9.x-dev requires ext-curl * -> the requested PHP extension curl is missing from your system. Problem 2 - Installation request for guzzle/guzzle dev-master -> satisfiable by guzzle/guzzle[dev-master]. - guzzle/guzzle dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system. Problem 3 - guzzle/guzzle 3.9.x-dev requires ext-curl * -> the requested PHP extension curl is missing from your system. - aws/aws-sdk-php 2.8.x-dev requires guzzle/guzzle ~3.7 -> satisfiable by guzzle/guzzle[3.9.x-dev]. - Installation request for aws/aws-sdk-php 2.8.x-dev -> satisfiable by aws/aws-sdk-php[2.8.x-dev].

sniper@cc-bl-snipe:/var/www/html$

rnovo-carecloud avatar Feb 17 '16 22:02 rnovo-carecloud

" the requested PHP extension curl is missing from your system"

snipe avatar Feb 17 '16 22:02 snipe

ouch.. something like this

php5-curl ?

rnovo-carecloud avatar Feb 17 '16 22:02 rnovo-carecloud

Yes. Also, don't run composer as root/sudo. It can cause permission problems later.

snipe avatar Feb 18 '16 02:02 snipe

Thanks, it was fixed. but, the app site can be reached at http://snipeit.local and clicking over the Dashboard redirect to a 404 error , because is redirecting to http://snipeit.local/snipeit.local . It was not happening before the upgrade.

Thanks for the fast response.

rnovo-carecloud avatar Feb 18 '16 15:02 rnovo-carecloud

fixed, bad url on the app.php config file.

Thanks anyways.

rnovo-carecloud avatar Feb 18 '16 17:02 rnovo-carecloud