Skip to content

Instantly share code, notes, and snippets.

@dlangille
Last active August 5, 2020 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlangille/351b54ec39e721d14b6a3c310352037d to your computer and use it in GitHub Desktop.
Save dlangille/351b54ec39e721d14b6a3c310352037d to your computer and use it in GitHub Desktop.
Creating vendor tarball for LibreNMS 1.66
[16:35:24] <lnms-discord> <dvlO> We're on 1.65.1 and our Global Settings page is empty, but for @routes.
....
[17:25:47] <lnms-discord> <jellyfrogO> @dvl what happens if you run ./lnms translation:generate?
[17:26:17] *** Joins: Cheeze_It (~Cheeze_It@71-33-223-224.hlrn.qwest.net)
[17:26:25] <lnms-discord> <dvlO> The command "vue-i18n:generate" does not exist.
[17:26:49] <lnms-discord> <dvlO> @jellyfrog that's interesting. something missing from our install?
[17:27:29] <lnms-discord> <murrantO> @dvl devel dependency
[17:28:02] <lnms-discord> <dvlO> is that something I omitted from the vendor file?
[17:28:03] <lnms-discord> <murrantO> composer install will pull it in.
[17:28:24] <lnms-discord> <dvlO> I also noticed this, perhaps related: [2020-08-04 21:10:00] production.ERROR: View [::] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [::] not found. at /usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137)
[dan@empty:~/librenms] $ ./scripts/composer_wrapper.php install --no-dev
> LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 83 installs, 0 updates, 0 removals
- Installing symfony/dotenv (v3.4.42): Loading from cache
- Installing amenadiel/jpgraph (3.6.21): Loading from cache
- Installing clue/socket-raw (v1.4.1): Loading from cache
- Installing dapphp/radius (2.5.4): Loading from cache
- Installing voku/portable-ascii (1.5.2): Downloading (100%)
- Installing symfony/polyfill-ctype (v1.17.1): Loading from cache
- Installing phpoption/phpoption (1.7.4): Loading from cache
- Installing vlucas/phpdotenv (v4.1.7): Downloading (100%)
- Installing symfony/css-selector (v5.1.2): Loading from cache
- Installing tijsverkoyen/css-to-inline-styles (2.2.2): Loading from cache
- Installing symfony/polyfill-php80 (v1.17.1): Loading from cache
- Installing symfony/polyfill-mbstring (v1.17.1): Loading from cache
- Installing symfony/var-dumper (v5.1.2): Downloading (100%)
- Installing symfony/deprecation-contracts (v2.1.3): Downloading (100%)
- Installing symfony/routing (v5.1.2): Downloading (100%)
- Installing symfony/process (v5.1.2): Downloading (100%)
- Installing symfony/polyfill-php73 (v1.17.1): Loading from cache
- Installing symfony/polyfill-php72 (v1.17.0): Loading from cache
- Installing symfony/polyfill-intl-idn (v1.17.1): Loading from cache
- Installing symfony/mime (v5.1.2): Loading from cache
- Installing symfony/http-foundation (v5.1.2): Downloading (100%)
- Installing psr/event-dispatcher (1.0.0): Downloading (100%)
- Installing symfony/event-dispatcher-contracts (v2.1.3): Downloading (100%)
- Installing symfony/event-dispatcher (v5.1.2): Downloading (100%)
- Installing psr/log (1.1.3): Loading from cache
- Installing symfony/error-handler (v5.1.2): Downloading (100%)
- Installing symfony/http-kernel (v5.1.2): Downloading (100%)
- Installing symfony/finder (v5.1.2): Downloading (100%)
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/service-contracts (v2.1.3): Downloading (100%)
- Installing symfony/console (v5.0.10): Downloading (100%)
- Installing symfony/polyfill-iconv (v1.17.1): Loading from cache
- Installing doctrine/lexer (1.2.1): Loading from cache
- Installing egulias/email-validator (2.1.18): Loading from cache
- Installing swiftmailer/swiftmailer (v6.2.3): Loading from cache
- Installing ramsey/collection (1.0.1): Downloading (100%)
- Installing brick/math (0.8.15): Downloading (100%)
- Installing ramsey/uuid (4.0.1): Downloading (100%)
- Installing psr/simple-cache (1.0.1): Loading from cache
- Installing opis/closure (3.5.5): Loading from cache
- Installing symfony/translation-contracts (v2.1.3): Downloading (100%)
- Installing symfony/translation (v5.1.2): Downloading (100%)
- Installing nesbot/carbon (2.36.1): Downloading (100%)
- Installing monolog/monolog (2.1.0): Loading from cache
- Installing league/flysystem (1.0.69): Loading from cache
- Installing league/commonmark (1.5.1): Downloading (100%)
- Installing dragonmantank/cron-expression (v2.3.0): Loading from cache
- Installing doctrine/inflector (2.0.3): Loading from cache
- Installing laravel/framework (v7.19.0): Downloading (100%)
- Installing darkghosthunter/larapoke (v4.1.1): Loading from cache
- Installing doctrine/event-manager (1.1.0): Loading from cache
- Installing doctrine/cache (1.10.2): Downloading (100%)
- Installing doctrine/dbal (2.10.2): Loading from cache
- Installing easybook/geshi (v1.0.8.19): Loading from cache
- Installing ezyang/htmlpurifier (v4.13.0): Downloading (100%)
- Installing fico7489/laravel-pivot (3.0.4): Loading from cache
- Installing fideloper/proxy (4.4.0): Loading from cache
- Installing asm89/stack-cors (v2.0.1): Downloading (100%)
- Installing fruitcake/laravel-cors (v2.0.1): Downloading (100%)
- Installing guzzlehttp/promises (v1.3.1): Loading from cache
- Installing ralouphie/getallheaders (3.0.3): Loading from cache
- Installing psr/http-message (1.0.1): Loading from cache
- Installing guzzlehttp/psr7 (1.6.1): Loading from cache
- Installing guzzlehttp/guzzle (6.5.5): Loading from cache
- Installing influxdb/influxdb-php (1.15.0): Loading from cache
- Installing nikic/php-parser (v4.6.0): Downloading (100%)
- Installing dnoegel/php-xdg-base-dir (v0.1.1): Loading from cache
- Installing psy/psysh (v0.10.4): Loading from cache
- Installing laravel/tinker (v2.4.1): Downloading (100%)
- Installing laravel/ui (v2.1.0): Downloading (100%)
- Installing librenms/laravel-vue-i18n-generator (0.1.46): Loading from cache
- Installing oriceon/toastr-5-laravel (dev-master 8a03502): Loading from cache
- Installing pear/console_color2 (0.1.2): Loading from cache
- Installing pear/console_table (v1.3.1): Loading from cache
- Installing phpseclib/phpseclib (2.0.28): Downloading (100%)
- Installing php-amqplib/php-amqplib (v2.11.3): Loading from cache
- Installing phpmailer/phpmailer (v6.1.6): Loading from cache
- Installing rmccue/requests (v1.7.0): Loading from cache
- Installing symfony/yaml (v4.4.10): Loading from cache
- Installing tecnickcom/tcpdf (6.2.26): Loading from cache
- Installing tightenco/ziggy (v0.8.1): Loading from cache
- Installing wpb/string-blade-compiler (dev-laravel-7-and-autoload-blade-custom-directives f4666b7): Downloading (100%)
- Installing xjtuwangke/passwordhash (dev-master a7bcd97): Loading from cache
Generating optimized autoload files
Deprecation Notice: Class Crypt_CHAP_MD5 located in ./vendor/dapphp/radius/lib/Pear_CHAP.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/home/dan/librenms/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Crypt_CHAP_MSv1 located in ./vendor/dapphp/radius/lib/Pear_CHAP.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/home/dan/librenms/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Crypt_CHAP_MSv2 located in ./vendor/dapphp/radius/lib/Pear_CHAP.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/home/dan/librenms/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: darkghosthunter/larapoke
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: librenms/laravel-vue-i18n-generator
Discovered Package: nesbot/carbon
Discovered Package: oriceon/toastr-5-laravel
Discovered Package: tightenco/ziggy
Discovered Package: wpb/string-blade-compiler
Package manifest generated successfully.
41 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> LibreNMS\ComposerHelper::postInstall
> Illuminate\Foundation\ComposerScripts::postInstall
> @php artisan vue-i18n:generate --multi-locales --format=umd
> @php artisan view:cache
Compiled views cleared!
Blade templates cached successfully!
> @php artisan optimize
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!
Files cached successfully!
> @php artisan config:clear
Configuration cache cleared!
> scripts/check_requirements.py || pip3 install --user -r requirements.txt || :
[dan@empty:~/librenms] $
[Wed Aug 05 15:10:46.386907 2020] [php7:error] [pid 84119] [client 10.8.1.110:59360] PHP Fatal error: Uncaught
ReflectionException: Class translator does not exist in
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php:805\nStack trace:\n#0
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(805):
ReflectionClass->__construct('translator')\n#1
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(687):
Illuminate\\Container\\Container->build('translator')\n#2
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(796):
Illuminate\\Container\\Container->resolve('translator', Array, true)\n#3
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(633):
Illuminate\\Foundation\\Application->resolve('translator', Array)\n#4
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(781):
Illuminate\\Container\\Container->make('translator', Array)\n#5
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Foundation/h in
/usr/local/www/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 807
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment