Antes fazia teste no virtual com o mesmo sistema baixado dava problema somente ao atualizar o ieducar para versao mais recente. Agora está dando esse erro.
Bom dia, poderia me passar seu tutorial ou dizer onde encontro? quero implementar a ferramenta na escola em que trabalho, e depois expandir para outras escolas.
@reinaldo O docker windows costuma ter alguns problemas no compartilhamento de pastas, pode ser que seja isso.
Você pode dar uma olhada nessas configurações do docker (Settings > Resources > FILE SHARING). A pasta raiz do projeto precisa estar configurada lá
Bom dia, esse consegui resolver, mais agora estou com outro problema e desse não consigo passar segue o código abaixo:
C:\i-educar>docker-compose exec php composer new-install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Doctrine\DBAL\Driver\PDOException : SQLSTATE[08006] [7] could not translate host name "postgres" to address: Name or service not known
at /var/www/ieducar/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31
27| parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
28| $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
29| $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
30| } catch (\PDOException $exception) {
> 31| throw new PDOException($exception);
32| }
33| }
34|
35| /**
Exception trace:
1 Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(App\Providers\AppServiceProvider))
[internal]:0
2 PDOException::("SQLSTATE[08006] [7] could not translate host name "postgres" to address: Name or service not known")
/var/www/ieducar/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Please use the argument -v to see more details.
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Script @composer install handling the new-install event returned with error code 1
Já pesquisei mais não consigo achar algo que ajude.