· 7 years ago · Oct 05, 2018, 03:08 PM
1php ./bin/console
2
3
4 [WARNING] Some commands could not be registered:
5
6
7In CreateLicense.php line 32:
8
9 Argument 1 passed to Tori\UserBundle\Command\CreateLicense::__construct() must be an instance of Tori\UserBund
10 le\Entity\LicenseFactory, instance of Tori\UserBundle\Entity\License given, called in /var/www/html/demo.tori.
11 nz/var/cache/prod/ContainerQhpXaf2/getCreateLicenseService.php on line 15
12
13
14Symfony 4.1.3 (kernel: src, env: prod, debug: false)
15
16Usage:
17 command [options] [arguments]
18
19Options:
20 -h, --help Display this help message
21 -q, --quiet Do not output any message
22 -V, --version Display this application version
23 --ansi Force ANSI output
24 --no-ansi Disable ANSI output
25 -n, --no-interaction Do not ask any interactive question
26 -e, --env=ENV The Environment name. [default: "prod"]
27 --no-debug Switches off debug mode.
28 -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
29
30Available commands:
31 about Displays information about the current project
32 help Displays help for a command
33 list Lists commands
34 assets
35 assets:install Installs bundles web assets under a public directory
36 cache
37 cache:clear Clears the cache
38 cache:pool:clear Clears cache pools
39 cache:pool:delete Deletes an item from a cache pool
40 cache:pool:prune Prunes cache pools
41 cache:warmup Warms up an empty cache
42 config
43 config:dump-reference Dumps the default configuration for an extension
44 debug
45 debug:autowiring Lists classes/interfaces you can use for autowiring
46 debug:config Dumps the current configuration for an extension
47 debug:container Displays current services for an application
48 debug:event-dispatcher Displays configured listeners for an application
49 debug:form Displays form type information
50 debug:router Displays current routes for an application
51 debug:swiftmailer Displays current mailers for an application
52 debug:translation Displays translation messages information
53 debug:twig Shows a list of twig functions, filters, globals and tests
54 doctrine
55 doctrine:cache:clear-collection-region Clear a second-level cache collection region
56 doctrine:cache:clear-entity-region Clear a second-level cache entity region
57 doctrine:cache:clear-metadata Clears all metadata cache for an entity manager
58 doctrine:cache:clear-query Clears all query cache for an entity manager
59 doctrine:cache:clear-query-region Clear a second-level cache query region
60 doctrine:cache:clear-result Clears result cache for an entity manager
61 doctrine:cache:contains Check if a cache entry exists
62 doctrine:cache:delete Delete a cache entry
63 doctrine:cache:flush [doctrine:cache:clear] Flush a given cache
64 doctrine:cache:stats Get stats on a given cache provider
65 doctrine:database:create Creates the configured database
66 doctrine:database:drop Drops the configured database
67 doctrine:database:import Import SQL file(s) directly to Database.
68 doctrine:ensure-production-settings Verify that Doctrine is properly configured for a production environment
69 doctrine:generate:entities [generate:doctrine:entities] Generates entity classes and method stubs from your mapping information
70 doctrine:mapping:convert [orm:convert:mapping] Convert mapping information between supported formats
71 doctrine:mapping:import Imports mapping information from an existing database
72 doctrine:mapping:info
73 doctrine:migrations:diff Generate a migration by comparing your current database to your mapping information.
74 doctrine:migrations:execute Execute a single migration version up or down manually.
75 doctrine:migrations:generate Generate a blank migration class.
76 doctrine:migrations:latest Outputs the latest version number
77 doctrine:migrations:migrate Execute a migration to a specified version or the latest available version.
78 doctrine:migrations:status View the status of a set of migrations.
79 doctrine:migrations:version Manually add and delete migration versions from the version table.
80 doctrine:query:dql Executes arbitrary DQL directly from the command line
81 doctrine:query:sql Executes arbitrary SQL directly from the command line.
82 doctrine:schema:create Executes (or dumps) the SQL needed to generate the database schema
83 doctrine:schema:drop Executes (or dumps) the SQL needed to drop the current database schema
84 doctrine:schema:update Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata
85 doctrine:schema:validate Validate the mapping files
86 fos
87 fos:js-routing:debug Displays currently exposed routes for an application
88 fos:js-routing:dump Dumps exposed routes to the filesystem
89 lint
90 lint:twig Lints a template and outputs encountered errors
91 lint:xliff Lints a XLIFF file and outputs encountered errors
92 lint:yaml Lints a file and outputs encountered errors
93 router
94 router:match Helps debug routes by simulating a path info match
95 security
96 security:encode-password Encodes a password.
97 swiftmailer
98 swiftmailer:email:send Send simple email message
99 swiftmailer:spool:send Sends emails from the spool
100 tori
101 tori:db:install Creates Database Structure and Initial Data
102 tori:install Installs Tori System
103 tori:install-sample-data Installs All Sample Data
104 tori:role:create Create Role
105 tori:user:create Create User
106 translation
107 translation:update Updates the translation file
108
109
110 [WARNING] Some commands could not be registered:
111
112
113In CreateLicense.php line 32:
114
115 Argument 1 passed to Tori\UserBundle\Command\CreateLicense::__construct() must be an instance of Tori\UserBund
116 le\Entity\LicenseFactory, instance of Tori\UserBundle\Entity\License given, called in /var/www/html/demo.tori.
117 nz/var/cache/prod/ContainerQhpXaf2/getCreateLicenseService.php on line 15
118
119
120root@demo:/var/www/html/demo.tori.nz# php ./bin/console tori:install
121
122
123 [WARNING] Some commands could not be registered:
124
125
126In CreateLicense.php line 32:
127
128 Argument 1 passed to Tori\UserBundle\Command\CreateLicense::__construct() must be an instance of Tori\UserBund
129 le\Entity\LicenseFactory, instance of Tori\UserBundle\Entity\License given, called in /var/www/html/demo.tori.
130 nz/var/cache/prod/ContainerQhpXaf2/getCreateLicenseService.php on line 15
131
132
133
134
135 [WARNING] Some commands could not be registered:
136
137
138In CreateLicense.php line 32:
139
140 Argument 1 passed to Tori\UserBundle\Command\CreateLicense::__construct() must be an instance of Tori\UserBund
141 le\Entity\LicenseFactory, instance of Tori\UserBundle\Entity\License given, called in /var/www/html/demo.tori.
142 nz/var/cache/prod/ContainerQhpXaf2/getCreateLicenseService.php on line 15
143
144
145
146
147 [OK] Schema and Data Installed Successfully
148
149
15015:01:16 ERROR [console] Error thrown while running command "tori:install". Message: "There are no commands defined in the "tori:license" namespace.\n\nDid you mean one of these?\n tori\n tori:db\n tori:role\n tori:user" ["exception" => Symfony\Component\Console\Exception\NamespaceNotFoundException { …},"command" => "tori:install","message" => """ There are no commands defined in the "tori:license" namespace.\n \n Did you mean one of these?\n tori\n tori:db\n tori:role\n tori:user """] []
151
152
153 There are no commands defined in the "tori:license" namespace.
154
155 Did you mean one of these?
156 tori
157 tori:db
158 tori:role
159 tori:user
160
161
162tori:install [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>