snipe / snipe-it

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

During Artisan Migrate "snipeit:counter-sync" is not defined #7366

Closed jeffkoertzen closed 5 years ago

jeffkoertzen commented 5 years ago

Expected Behavior (or desired behavior if a feature request)

Completion of "php artisan migrate command"


Actual Behavior

Get an error message:

Command "snipeit:counter-sync" is not defined.

Did you mean one of these? snipeit:backup snipeit:create-admin snipeit:demo-settings snipeit:expected-checkin snipeit:expiring-alerts snipeit:import snipeit:inventory-alerts snipeit:ldap-disable snipeit:ldap-sync snipeit:legacy-recrypt snipeit:pave snipeit:purge snipeit:regenerate-tags snipeit:sync-asset-locations snipeit:travisci-install snipeit:unescape


Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

` [2019-08-19 20:22:57] production.ERROR: Symfony\Component\Console\Exception\CommandNotFoundException: Command "snipeit:counter-sync" is not defined.

Did you mean one of these? snipeit:backup snipeit:create-admin snipeit:demo-settings snipeit:expected-checkin snipeit:expiring-alerts snipeit:import snipeit:inventory-alerts snipeit:ldap-disable snipeit:ldap-sync snipeit:legacy-recrypt snipeit:pave snipeit:purge snipeit:regenerate-tags snipeit:sync-asset-locations snipeit:travisci-install snipeit:unescape in C:\inetpub\wwwroot\snipe-it\vendor\symfony\console\Application.php:618 Stack trace:

0 C:\inetpub\wwwroot\snipe-it\vendor\symfony\console\Application.php(229): Symfony\Component\Console\Application->find('snipeit:counter...')

1 C:\inetpub\wwwroot\snipe-it\vendor\symfony\console\Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))

2 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Console\Application.php(141): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\BufferedOutput))

3 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(220): Illuminate\Console\Application->call('snipeit:counter...', Object(Illuminate\Support\Collection), NULL)

4 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(221): Illuminate\Foundation\Console\Kernel->call('snipeit:counter...')

5 C:\inetpub\wwwroot\snipe-it\database\migrations\2018_05_16_153409_add_first_counter_totals_to_assets.php(19): Illuminate\Support\Facades\Facade::__callStatic('call', Array)

6 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migrator.php(359): AddFirstCounterTotalsToAssets->up()

7 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migrator.php(365): Illuminate\Database\Migrations\Migrator->Illuminate\Database\Migrations{closure}()

8 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migrator.php(177): Illuminate\Database\Migrations\Migrator->runMigration(Object(AddFirstCounterTotalsToAssets), 'up')

9 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migrator.php(146): Illuminate\Database\Migrations\Migrator->runUp('C:\inetpub\wwwr...', 5, false)

10 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migrator.php(95): Illuminate\Database\Migrations\Migrator->runPending(Array, Array)

11 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Database\Console\Migrations\MigrateCommand.php(69): Illuminate\Database\Migrations\Migrator->run(Array, Array)

12 [internal function]: Illuminate\Database\Console\Migrations\MigrateCommand->fire()

13 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(29): call_user_func_array(Array, Array)

14 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()

15 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))

16 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Container\Container.php(539): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)

17 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Console\Command.php(182): Illuminate\Container\Container->call(Array)

18 C:\inetpub\wwwroot\snipe-it\vendor\symfony\console\Command\Command.php(252): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))

19 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Console\Command.php(167): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))

20 C:\inetpub\wwwroot\snipe-it\vendor\symfony\console\Application.php(946): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

21 C:\inetpub\wwwroot\snipe-it\vendor\symfony\console\Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Database\Console\Migrations\MigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

22 C:\inetpub\wwwroot\snipe-it\vendor\symfony\console\Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

23 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(122): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

24 C:\inetpub\wwwroot\snipe-it\artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

25 {main}

`

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help

stale[bot] commented 5 years ago

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] commented 5 years ago

This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.