Boa tarde,

estou tentando fazer a instalação e recebo a seguinte informação:

# php composer.phar create-project "novosga/novosga:v2.0.0-BETA5" ~/novosga
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing novosga/novosga (v2.0.0-BETA5)
  - Installing novosga/novosga (v2.0.0-BETA5): Loading from cache
Created project in /root/novosga
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 116 installs, 0 updates, 0 removals
  - Installing ocramius/package-versions (1.1.3): Loading from cache
  - Installing novosga/composer-installer-plugin (v1.0): Loading from cache
  - Installing symfony/flex (v1.0.41): Loading from cache
  - Installing doctrine/collections (v1.5.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
  - Installing doctrine/lexer (v1.0.1): Loading from cache
  - Installing doctrine/inflector (v1.2.0): Loading from cache
  - Installing doctrine/cache (v1.7.1): Loading from cache
  - Installing doctrine/annotations (v1.5.0): Loading from cache
  - Installing doctrine/common (v2.8.1): Loading from cache
  - Installing symfony/doctrine-bridge (v4.0.0-RC2): Loading from cache
  - Installing doctrine/doctrine-cache-bundle (1.3.2): Loading from cache
  - Installing symfony/yaml (v4.0.0-RC2): Loading from cache
  - Installing symfony/console (v4.0.0-RC2): Loading from cache
  - Installing zendframework/zend-eventmanager (3.2.0): Loading from cache
  - Installing zendframework/zend-code (3.3.0): Loading from cache
  - Installing ocramius/proxy-manager (2.1.1): Loading from cache
  - Installing doctrine/dbal (v2.6.3): Loading from cache
  - Installing doctrine/migrations (v1.6.2): Loading from cache
  - Installing jdorn/sql-formatter (v1.2.17): Loading from cache
  - Installing phpoption/phpoption (1.5.0): Loading from cache
  - Installing phpcollection/phpcollection (0.5.0): Loading from cache
  - Installing jms/parser-lib (1.0.0): Loading from cache
  - Installing jms/metadata (1.6.0): Loading from cache
  - Installing doctrine/instantiator (1.1.0): Loading from cache
  - Installing jms/serializer (1.9.2): Loading from cache
  - Installing novosga/core (dev-master 2c60485): Loading from cache
  - Installing novosga/attendance-bundle (dev-master 3b01822): Loading from cache
  - Installing novosga/monitor-bundle (dev-master 7b0390c): Loading from cache
  - Installing symfony/inflector (v4.0.0-RC2): Loading from cache
  - Installing symfony/property-access (v4.0.0-RC2): Loading from cache
  - Installing paragonie/random_compat (v2.0.11): Loading from cache
  - Installing symfony/polyfill-php70 (v1.6.0): Loading from cache
  - Installing symfony/http-foundation (v3.4.0-RC2): Loading from cache
  - Installing symfony/event-dispatcher (v4.0.0-RC2): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing symfony/debug (v4.0.0-RC2): Loading from cache
  - Installing symfony/http-kernel (v4.0.0-RC2): Loading from cache
  - Installing symfony/security (v4.0.0-RC2): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/dependency-injection (v4.0.0-RC2): Loading from cache
  - Installing symfony/security-bundle (v4.0.0-RC2): Loading from cache
  - Installing symfony/routing (v4.0.0-RC2): Loading from cache
  - Installing symfony/finder (v4.0.0-RC2): Loading from cache
  - Installing symfony/filesystem (v4.0.0-RC2): Loading from cache
  - Installing symfony/config (v4.0.0-RC2): Loading from cache
  - Installing psr/simple-cache (1.0.0): Loading from cache
  - Installing psr/cache (1.0.1): Loading from cache
  - Installing symfony/cache (v4.0.0-RC2): Loading from cache
  - Installing symfony/framework-bundle (v4.0.0-RC2): Loading from cache
  - Installing friendsofsymfony/oauth2-php (1.2.1): Loading from cache
  - Installing novosga/oauth-server-bundle (dev-master 3ee0778): Loading from cache
  - Installing novosga/reports-bundle (dev-master e530792): Loading from cache
  - Installing novosga/settings-bundle (dev-master 04bdeba): Loading from cache
  - Installing novosga/triage-bundle (dev-master afbe268): Loading from cache
  - Installing pagerfanta/pagerfanta (v1.0.5): Loading from cache
  - Installing novosga/users-bundle (dev-master 92560b6): Loading from cache
  - Installing workerman/workerman (v3.5.2): Loading from cache
  - Installing workerman/channel (v1.0.3): Loading from cache
  - Installing workerman/phpsocket.io (v1.1.5): Loading from cache
  - Installing novosga/websocket-server (dev-master 5ea09b3): Loading from cache
  - Installing sensio/framework-extra-bundle (v5.0.1): Loading from cache
  - Installing symfony/asset (v4.0.0-RC2): Loading from cache
  - Installing symfony/options-resolver (v4.0.0-RC2): Loading from cache
  - Installing symfony/intl (v4.0.0-RC2): Loading from cache
  - Installing symfony/polyfill-intl-icu (v1.6.0): Loading from cache
  - Installing symfony/form (v4.0.0-RC2): Loading from cache
  - Installing monolog/monolog (1.23.0): Loading from cache
  - Installing symfony/monolog-bridge (v4.0.0-RC2): Loading from cache
  - Installing symfony/monolog-bundle (v3.1.2): Loading from cache
  - Installing doctrine/orm (v2.5.12): Loading from cache
  - Installing doctrine/doctrine-bundle (1.8.1): Loading from cache
  - Installing doctrine/doctrine-migrations-bundle (v1.3.1): Loading from cache
  - Installing symfony/polyfill-php72 (v1.6.0): Loading from cache
  - Installing twig/twig (v2.4.4): Loading from cache
  - Installing symfony/var-dumper (v4.0.0-RC2): Loading from cache
  - Installing symfony/twig-bridge (v4.0.0-RC2): Loading from cache
  - Installing symfony/web-profiler-bundle (v4.0.0-RC2): Loading from cache
  - Installing symfony/twig-bundle (v4.0.0-RC2): Loading from cache
  - Installing symfony/stopwatch (v4.0.0-RC2): Loading from cache
  - Installing symfony/translation (v4.0.0-RC2): Loading from cache
  - Installing symfony/validator (v4.0.0-RC2): Loading from cache
  - Installing webmozart/assert (1.2.0): Loading from cache
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
  - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.1.1): Loading from cache
  - Installing phpunit/php-token-stream (2.0.2): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/recursion-context (3.0.0): Loading from cache
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
  - Installing sebastian/global-state (2.0.0): Loading from cache
  - Installing sebastian/exporter (3.1.0): Loading from cache
  - Installing sebastian/environment (3.1.0): Loading from cache
  - Installing sebastian/diff (2.0.1): Loading from cache
  - Installing sebastian/comparator (2.1.0): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/phpunit-mock-objects (4.0.4): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
  - Installing theseer/tokenizer (1.1.0): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-code-coverage (5.2.4): Loading from cache
  - Installing phpspec/prophecy (1.7.3): Loading from cache
  - Installing phar-io/version (1.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.7.0): Loading from cache
  - Installing phpunit/phpunit (6.4.4): Loading from cache
  - Installing squizlabs/php_codesniffer (3.1.1): Loading from cache
  - Installing symfony/dotenv (v4.0.0-RC2): Loading from cache
  - Installing symfony/process (v4.0.0-RC2): Loading from cache
  - Installing symfony/web-server-bundle (v4.0.0-RC2): Loading from cache
Generating autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!
!!  In Translator.php line 421:
!!
!!    Invalid "en_US:en" locale.
!!
!!
!!

E tudo que tendo fazer depois, aparece esse mesmo erro:

# bin/console cache:clear --no-debug --no-warmup --env=prod
In Translator.php line 421:

  Invalid "en_US:en" locale.

Alguém poderia me ajudar?

Atenciosamente,

Conrado.

Instalei o PHPMyAdmin e algumas das dependências resolveu o problema. Consegui rodar o Install, mas não consigo acessar o sistema web.

Dá o seguinte erro se eu criar o .htaccess:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache/2.4.25 (Debian) Server at 172.29.50.182 Port 80

Aparentemente está faltando alguma configuração que não encontrei. Poderiam me ajudar?

Atenciosamente,
Conrado.

rogeriolino Depois eu instalei a RC2, a instalação foi normal, criou as tabelas, mas não consegui acesso web a aplicação.

rogeriolino Voltamos a receber ordens de testar a versão 2 do NovoSGA.
Ocorre que está havendo um erro no Translator, conforme segue.

 (1/1) InvalidArgumentException

Invalid "en_US:en" locale.
in Translator.php (line 421)
at Translator->assertValidLocale('en_US:en')in Translator.php (line 140)
at Translator->setLocale('en_US:en')in Translator.php (line 81)
at Translator->__construct('en_US:en', object(MessageFormatter), '/var/www/html/novosga2/var/cache/dev/translations', true)in Translator.php (line 80)

Alguma ideia de como podemos resolver isso para que o sistema rode?

Obrigado!

@rogeriolino instalei doctrine-fixtures-bundle e quando executo o comando via terminal recebo o mesmo erro. Reconfigurei o locale mais de uma vez e, mesmo utilizando configuração diferente para o sistema operacional o symfony continua apontando o erro:

bin/console doctrine:fixtures:load

In Translator.php line 421:
 Invalid "en_US:en" locale.  

Anybody help me?

Alterei a variável LANGUAGE no arquivo .env.dist de:

LANGUAGE=en

para

LANGUAGE=en_US

Acessei a tela de login!!

Mas agora não consigo logar no sistema com admin e senha 123456 que não alterei. :-( [OK Atualizei a senha no Banco de Dados e ele, finalmente logou!!]

Agora vou abrir outros tópicos!!! kkkkkkk

4 dias depois

Que luta.

Não consegui reproduzir esses problemas aqui.

20 dias depois
16 dias depois
8 dias depois
7 dias depois

Fielcomunista qual arquivo vc alterou a LANGUAGE?Procurei aqui o arquivo .env.dist e não localizei.

Mesmo erro aqui...

ocramius/package-versions: ...done generating version class
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  
!!  In Translator.php line 421:
!!                                   
!!    Invalid "pt_BR:pt:en" locale.  
!!                                   
!!  
!!  

Tá difícil...Consegui localizar os arquivos .env.dist e .env (eles ficam ocultos na pasta do novosga, se for Ubuntu é só dar um Ctrl + H) e mesmo alterando para en_US, pt, pt_BR continua dando o mesmo erro.Inclusive nesses arquivos tem o DATABASE_URL e já deixei igual à do banco de dados ( igual ao .htaccess) e nada, dá tela de erro 500 Internal Server Error...

Aliás, qual o endereço para acessar a aplicação web, localhost/novosga/public?

Quem estiver com problema, faça o seguinte:

export LANGUAGE=pt_BR

Depois rode:

bin/console cache:clear
bin/console cache:warmup

E veja se irá funcionar.

    4 meses depois
    un ano depois

    ronaldorx Deu certo. Obg. Rodei no terminal
    export LANGUAGE=pt_BR
    e depois
    sudo /var/www/novosga/bin/console cache:clear
    sudo /var/www/novosga/bin/console cache:warmup