Czy da radę odpalić lokalnie coyote bez dockera?

0

Mam Windowsa 8 i podczas instalacji dockera wyświetla mi się błąd z informacją, że muszę mieć Windowsa 10 kropka cośtam PRO.

0

A to nie jest zła wersja Dockera?

0

Wpisałem w google "docker" i klikałem wszystko pierwsze lepsze, dalej, dalej. Teraz widzę w sumie, że dla Windowsa 8 trzeba włączyć wirtualizację w biosie. Zaraz obczaję i dam znać. Myślałem, że to będzie prostsze bo nie chciałem się bawić.

0

Hm, może spróbuj raczej na maszynie wirtualnej (chyba że już masz Windowsa na maszynie wirtualnej). Zainstalowałbyś np. Ubuntu czy Fedorę i na tym systemie spróbował zainstalować i uruchomić Dockera.


PS. Nie wiem, czy do takiego typu wirtualizacji jak maszyna wirtualna trzeba coś włączać w BIOS-ie, czy nie. Bo Docker to jeden typ wirtualizacji, a maszyna wirtualna – inny.

3

Powinno się dać - w teorii. W praktyce musiałbyś poinstalować wszelkie zależności, które są uwzględnione w Dockerfile. Czyli tak jak patrzę:

  • Nginx
  • Postgres
  • PHP
  • kilka innych rzeczy, których nie znam z nazwy

O ile w projektach prostych bez tony dodatkowych libów/zależności można się pobawić o tyle przy bardziej złożonych projektach po prostu szkoda czasu.
Prościej i zybciej będzie postawić sobie obok Windowsa jakiegoś prostego Linuxa, tam zainstalować Docker. Lub wirtualka z Windows 10/Linux.

//
Instalacja samych zależności ręcznie to jedno ale pamiętaj też, że w plikach Dockera są również całe procesy konfiguracji projektu, które będzie trzeba uwzględnić przy "ręcznym" jego uruchamianiu.

2

Docker ma dwie wersje pod Windows. Dla Win10 [ten działa ok] i dla starszych, to inny program, sprawdzałem na 3 różnych maszynach/systemach, nie chciało to działać, dlatego postawiłem na działającego Vagranta: Vagrant/Docker dla Coyote

2

Miałem sobie coś popisać w ramach studenckiej prokrastynacji i tęsknoty za programowaniem, ale jak tylko myślę o konfiguracji narzędzi to tracę zapał. Gdzie te czasy Krasnal Serva...

0
Silv napisał(a):

PS. Nie wiem, czy do takiego typu wirtualizacji jak maszyna wirtualna trzeba coś włączać w BIOS-ie, czy nie.

Zazwyczaj trzeba, chyba nawet głupi VirtualBox bez tego nie działa za bardzo.

Bo Docker to jeden typ wirtualizacji, a maszyna wirtualna – inny.

Pod linuksami pewnie tak. Ale Docker na Win (a przynajmniej 10) wymaga do działania Hyper-V, który jest przecież wirtualizacją. Tylko nie taką, o jakiej Ty myślisz, ale tą bliżej sprzętu. I to z kolei wymaga włączenia wirtualizacji w BIOSie.

0

Ktoś coś? (Jeszcze nigdy mi docker nie zadziałał pod Windows, a chciałem dać mu szansę na Win10)

c:\Projekty\coyote>docker-compose exec php make install-dev
WARNING: The ENABLE_XDEBUG variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_HOST variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_PORT variable is not set. Defaulting to a blank string.
composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 0 installs, 1 update, 0 removals
  - Removing mpdf/mpdf (dev-development 216cf03)
  - Installing mpdf/mpdf (dev-development c3d645a): Downloading (100%)
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Generating optimized autoload files
Deprecation Notice: Class HTMLPurifier_Language_en_x_test located in ./vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language/classes/en-x-test.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Activity located in ./app/Models/Activity.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Actkey located in ./app/Models/Actkey.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Block located in ./app/Models/Block.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Country located in ./app/Models/Country.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Coupon located in ./app/Models/Coupon.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Currency located in ./app/Models/Currency.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Exchange located in ./app/Models/Exchange.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Feature located in ./app/Models/Feature.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firewall located in ./app/Models/Firewall.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm\Benefit located in ./app/Models/Firm/Benefit.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm\Gallery located in ./app/Models/Firm/Gallery.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm\Industry located in ./app/Models/Firm/Industry.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm located in ./app/Models/Firm.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Flag\Type located in ./app/Models/Flag/Type.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Flag located in ./app/Models/Flag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Access located in ./app/Models/Forum/Access.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Order located in ./app/Models/Forum/Order.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Permission located in ./app/Models/Forum/Permission.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Reason located in ./app/Models/Forum/Reason.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Track located in ./app/Models/Forum/Track.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum located in ./app/Models/Forum.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Group\Permission located in ./app/Models/Group/Permission.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Group\User located in ./app/Models/Group/User.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Group located in ./app/Models/Group.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Guest located in ./app/Models/Guest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Industry located in ./app/Models/Industry.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Invoice\Item located in ./app/Models/Invoice/Item.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Invoice located in ./app/Models/Invoice.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Application located in ./app/Models/Job/Application.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Comment located in ./app/Models/Job/Comment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Feature located in ./app/Models/Job/Feature.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Location located in ./app/Models/Job/Location.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Preferences located in ./app/Models/Job/Preferences.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Refer located in ./app/Models/Job/Refer.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Referer located in ./app/Models/Job/Referer.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Subscriber located in ./app/Models/Job/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Tag located in ./app/Models/Job/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job located in ./app/Models/Job.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Mail located in ./app/Models/Mail.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Mailing located in ./app/Models/Mailing.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog\Subscriber located in ./app/Models/Microblog/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog\Tag located in ./app/Models/Microblog/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog\Vote located in ./app/Models/Microblog/Vote.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog located in ./app/Models/Microblog.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification\Sender located in ./app/Models/Notification/Sender.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification\Setting located in ./app/Models/Notification/Setting.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification\Type located in ./app/Models/Notification/Type.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification located in ./app/Models/Notification.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Page\Stat located in ./app/Models/Page/Stat.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Page\Visit located in ./app/Models/Page/Visit.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Page located in ./app/Models/Page.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Pastebin located in ./app/Models/Pastebin.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Payment located in ./app/Models/Payment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Permission located in ./app/Models/Permission.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Plan located in ./app/Models/Plan.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Pm\Text located in ./app/Models/Pm/Text.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Pm located in ./app/Models/Pm.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185Deprecation Notice: Class Coyote\Poll\Item located in ./app/Models/Poll/Item.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Poll\Vote located in ./app/Models/Poll/Vote.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Poll located in ./app/Models/Poll.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Accept located in ./app/Models/Post/Accept.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Attachment located in ./app/Models/Post/Attachment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Comment located in ./app/Models/Post/Comment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Log located in ./app/Models/Post/Log.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Subscriber located in ./app/Models/Post/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Vote located in ./app/Models/Post/Vote.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post located in ./app/Models/Post.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Reputation\Type located in ./app/Models/Reputation/Type.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Reputation located in ./app/Models/Reputation.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Searchable located in ./app/Models/Searchable.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Session located in ./app/Models/Session.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Setting located in ./app/Models/Setting.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Str located in ./app/Models/Str.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Stream located in ./app/Models/Stream.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Tag\Category located in ./app/Models/Tag/Category.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Tag located in ./app/Models/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Taggable located in ./app/Models/Taggable.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\Subscriber located in ./app/Models/Topic/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\Tag located in ./app/Models/Topic/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\Track located in ./app/Models/Topic/Track.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\User located in ./app/Models/Topic/User.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic located in ./app/Models/Topic.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\User\Skill located in ./app/Models/User/Skill.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\User located in ./app/Models/User.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Attachment located in ./app/Models/Wiki/Attachment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Author located in ./app/Models/Wiki/Author.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Comment located in ./app/Models/Wiki/Comment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Link located in ./app/Models/Wiki/Link.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Log located in ./app/Models/Wiki/Log.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Page located in ./app/Models/Wiki/Page.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Path located in ./app/Models/Wiki/Path.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Redirect located in ./app/Models/Wiki/Redirect.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Subscriber located in ./app/Models/Wiki/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki located in ./app/Models/Wiki.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\WithoutUpdatedAt located in ./app/Models/WithoutUpdatedAt.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Word located in ./app/Models/Word.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
    You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

In ProviderRepository.php line 208:

  Class 'Coyote\Providers\ThumbnailServiceProvider' not found


Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
make: *** [Makefile:19: dependency-install] Error 1
0

Rzeczywiście wygląda na to, ze nie jest to problem z dockerem.

Spróbuj php artisan config:clear oraz php artisan cache:clear.

Jeżeli to nie pomoże spróbuj usunąć pliki php z katalogu bootstrap/cache. Masz aktualny kod? Błąd dotyczy pliku ThumbnailServiceProvider który nie istnieje już w repo.

0
Adam Boduch napisał(a):

Spróbuj php artisan config:clear oraz php artisan cache:clear.

bash-5.0# php artisan config:clear
In ProviderRepository.php line 208:
  Class 'Coyote\Providers\ThumbnailServiceProvider' not found

bash-5.0# php artisan cache:clear
In ProviderRepository.php line 208:
  Class 'Coyote\Providers\ThumbnailServiceProvider' not found

Masz aktualny kod?

c:\Projekty\coyote>git log -1
commit 4ec092a741b5ac0675d635c0e0c3053b9e60f4a7 (HEAD -> master, origin/master, origin/HEAD)
Merge: d3e22974 00f1bb3d
Author: adam-boduch <[email protected]>
Date:   Wed Mar 11 08:04:55 2020 +0100

    Merge pull request #505 from adam-boduch/bugfix/vcard-with-long-badge

    Poprawka do rozje<C5><BC>d<C5><BC>ania si<C4><99> vcard

Jeżeli to nie pomoże spróbuj usunąć pliki php z katalogu bootstrap/cache

Po usunięciu:

c:\Projekty\coyote>docker-compose exec php make install-dev
WARNING: The ENABLE_XDEBUG variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_HOST variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_PORT variable is not set. Defaulting to a blank string.
composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Generating optimized autoload files
Deprecation Notice: Class HTMLPurifier_Language_en_x_test located in ./vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language/classes/en-x-test.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Activity located in ./app/Models/Activity.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Actkey located in ./app/Models/Actkey.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Block located in ./app/Models/Block.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Country located in ./app/Models/Country.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Coupon located in ./app/Models/Coupon.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Currency located in ./app/Models/Currency.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Exchange located in ./app/Models/Exchange.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Feature located in ./app/Models/Feature.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firewall located in ./app/Models/Firewall.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm\Benefit located in ./app/Models/Firm/Benefit.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm\Gallery located in ./app/Models/Firm/Gallery.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm\Industry located in ./app/Models/Firm/Industry.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Firm located in ./app/Models/Firm.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Flag\Type located in ./app/Models/Flag/Type.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Flag located in ./app/Models/Flag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Access located in ./app/Models/Forum/Access.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Order located in ./app/Models/Forum/Order.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Permission located in ./app/Models/Forum/Permission.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Reason located in ./app/Models/Forum/Reason.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum\Track located in ./app/Models/Forum/Track.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Forum located in ./app/Models/Forum.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Group\Permission located in ./app/Models/Group/Permission.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Group\User located in ./app/Models/Group/User.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Group located in ./app/Models/Group.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Guest located in ./app/Models/Guest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Industry located in ./app/Models/Industry.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Invoice\Item located in ./app/Models/Invoice/Item.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Invoice located in ./app/Models/Invoice.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Application located in ./app/Models/Job/Application.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Comment located in ./app/Models/Job/Comment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Feature located in ./app/Models/Job/Feature.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Location located in ./app/Models/Job/Location.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Preferences located in ./app/Models/Job/Preferences.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Refer located in ./app/Models/Job/Refer.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Referer located in ./app/Models/Job/Referer.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Subscriber located in ./app/Models/Job/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job\Tag located in ./app/Models/Job/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Job located in ./app/Models/Job.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Mail located in ./app/Models/Mail.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Mailing located in ./app/Models/Mailing.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog\Subscriber located in ./app/Models/Microblog/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog\Tag located in ./app/Models/Microblog/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog\Vote located in ./app/Models/Microblog/Vote.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Microblog located in ./app/Models/Microblog.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification\Sender located in ./app/Models/Notification/Sender.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification\Setting located in ./app/Models/Notification/Setting.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification\Type located in ./app/Models/Notification/Type.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Notification located in ./app/Models/Notification.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Page\Stat located in ./app/Models/Page/Stat.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Page\Visit located in ./app/Models/Page/Visit.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Page located in ./app/Models/Page.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Pastebin located in ./app/Models/Pastebin.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Payment located in ./app/Models/Payment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Permission located in ./app/Models/Permission.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Plan located in ./app/Models/Plan.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Pm\Text located in ./app/Models/Pm/Text.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Pm located in ./app/Models/Pm.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185Deprecation Notice: Class Coyote\Poll\Item located in ./app/Models/Poll/Item.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Poll\Vote located in ./app/Models/Poll/Vote.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Poll located in ./app/Models/Poll.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Accept located in ./app/Models/Post/Accept.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Attachment located in ./app/Models/Post/Attachment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Comment located in ./app/Models/Post/Comment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Log located in ./app/Models/Post/Log.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Subscriber located in ./app/Models/Post/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post\Vote located in ./app/Models/Post/Vote.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Post located in ./app/Models/Post.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Reputation\Type located in ./app/Models/Reputation/Type.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Reputation located in ./app/Models/Reputation.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Searchable located in ./app/Models/Searchable.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Session located in ./app/Models/Session.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Setting located in ./app/Models/Setting.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Str located in ./app/Models/Str.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Stream located in ./app/Models/Stream.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Tag\Category located in ./app/Models/Tag/Category.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Tag located in ./app/Models/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Taggable located in ./app/Models/Taggable.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\Subscriber located in ./app/Models/Topic/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\Tag located in ./app/Models/Topic/Tag.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\Track located in ./app/Models/Topic/Track.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic\User located in ./app/Models/Topic/User.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Topic located in ./app/Models/Topic.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\User\Skill located in ./app/Models/User/Skill.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\User located in ./app/Models/User.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Attachment located in ./app/Models/Wiki/Attachment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Author located in ./app/Models/Wiki/Author.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Comment located in ./app/Models/Wiki/Comment.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Link located in ./app/Models/Wiki/Link.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Log located in ./app/Models/Wiki/Log.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Page located in ./app/Models/Wiki/Page.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Path located in ./app/Models/Wiki/Path.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Redirect located in ./app/Models/Wiki/Redirect.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki\Subscriber located in ./app/Models/Wiki/Subscriber.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Wiki located in ./app/Models/Wiki.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\WithoutUpdatedAt located in ./app/Models/WithoutUpdatedAt.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
Deprecation Notice: Class Coyote\Word located in ./app/Models/Word.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:185
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
    You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: fideloper/proxy
Discovered Package: florianv/laravel-swap
Discovered Package: intervention/image
Discovered Package: itsgoingd/clockwork
Discovered Package: jenssegers/agent
Discovered Package: laravel/dusk
Discovered Package: laravel/nexmo-notification-channel
Discovered Package: laravel/passport
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/socialite
Discovered Package: laravelcollective/html
Discovered Package: nesbot/carbon
Discovered Package: rcrowe/twigbridge
Discovered Package: sentry/sentry-laravel
Package manifest generated successfully.
> php artisan clear-compiled
Compiled services and packages files removed!
chmod -R 775 storage/
chmod 775 bootstrap/cache/
php artisan migrate --force

In Connection.php line 664:

  SQLSTATE[08006] [7] could not translate host name "db" to address: Name does not resolve (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations)


In PDOConnection.php line 31:

  SQLSTATE[08006] [7] could not translate host name "db" to address: Name does not resolve


In PDOConnection.php line 27:

  SQLSTATE[08006] [7] could not translate host name "db" to address: Name does not resolve


make: *** [Makefile:26: migration] Error 1
0

Nie uruchamia Ci się w ogóle kontener z bazą danych skoro masz ten błąd. Najlepiej uruchomić kontenery bez flagi -d i wówczas wszystkie komunikaty będą wyświetlane w konsoli. Czyli docker-compose up. Zobacz dlaczego baza danych Ci nie startuje.

0
Adam Boduch napisał(a):

Czyli docker-compose up. Zobacz dlaczego baza danych Ci nie startuje.

Ciężko stwierdzić, przez jakieś 10 minut przeleciało z miliard stron z błędami, więc zanim się uspokoiło (teraz leci jeden błąd Javy co sekundę) to dawno się bufor przepełnił i nie widać, co na początku było w logu. To normalne, że tak sieje błędami? Niekończący się potok.

Ten, który się obecnie powtarza mniej więcej co sekundę wygląda tak:

graylog_1        | 2020-03-11 12:07:11,396 ERROR: org.graylog2.indexer.fieldtypes.IndexFieldTypePollerPeriodical - Couldn't update field types for index set <Default index set/5e6755e4bfe5230012b06062>
graylog_1        | org.graylog2.indexer.ElasticsearchException: Couldn't collect indices for alias graylog_deflector
graylog_1        |      at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:51) ~[graylog.jar:?]
graylog_1        |      at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:62) ~[graylog.jar:?]
graylog_1        |      at org.graylog2.indexer.indices.Indices.aliasTarget(Indices.java:336) ~[graylog.jar:?]
graylog_1        |      at org.graylog2.indexer.MongoIndexSet.getActiveWriteIndex(MongoIndexSet.java:204) ~[graylog.jar:?]
graylog_1        |      at org.graylog2.indexer.fieldtypes.IndexFieldTypePollerPeriodical.lambda$schedule$4(IndexFieldTypePollerPeriodical.java:201) ~[graylog.jar:?]
graylog_1        |      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]
graylog_1        |      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_232]
graylog_1        |      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_232]
graylog_1        |      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_232]
graylog_1        |      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]
graylog_1        |      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]
graylog_1        |      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
graylog_1        | Caused by: java.net.UnknownHostException: elasticsearch
graylog_1        |      at java.net.InetAddress.getAllByName0(InetAddress.java:1281) ~[?:1.8.0_232]
graylog_1        |      at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[?:1.8.0_232]
graylog_1        |      at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:1.8.0_232]
graylog_1        |      at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[graylog.jar:?]
graylog_1        |      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[graylog.jar:?]
graylog_1        |      at io.searchbox.client.http.JestHttpClient.executeRequest(JestHttpClient.java:151) ~[graylog.jar:?]
graylog_1        |      at io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:77) ~[graylog.jar:?]
graylog_1        |      at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:46) ~[graylog.jar:?]
graylog_1        |      ... 11 more

Ok, złapałem początek.. to może być to?

db_1             |
db_1             | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1             |
db_1             | 2020-03-11 12:18:13.922 UTC [1] FATAL:  database files are incompatible with server
db_1             | 2020-03-11 12:18:13.922 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 10, which is not compatible with this version 11.7.
0

Tak, jak najbardziej to jest to. Jeżeli nie zależy Ci na lokalnych danych to możesz usunąć kontenery oraz volumeny i zrobić jeszcze raz docker-compose up -d. Aby usunąć wszystkie kontenery:

docker-compose down

nie spowoduje to jednak usunięcie danych z bazy. Aby wylistować volumes, trzeba zrobić docker-compose volume ls. Następnie możesz usunąć je poleceniem docker-compose volume rm <nazwa volume>.

1

Tym razem takie niespodzianki

In Connection.php line 664:

  SQLSTATE[08006] [7] fe_sendauth: no password supplied (SQL: select * from information_schema.tables where table_sch
  ema = public and table_name = migrations)


In PDOConnection.php line 31:

  SQLSTATE[08006] [7] fe_sendauth: no password supplied


In PDOConnection.php line 27:

  SQLSTATE[08006] [7] fe_sendauth: no password supplied


make: *** [Makefile:26: migration] Error 1
0

Spróbuj może ustawić hasło dla bazy danych, w pliku .env.

0

Ustawiłem hasło coyote:

In Connection.php line 664:

  SQLSTATE[08006] [7] FATAL:  password authentication failed for user "postgres" (SQL: select * from information_sche
  ma.tables where table_schema = public and table_name = migrations)


In PDOConnection.php line 31:

  SQLSTATE[08006] [7] FATAL:  password authentication failed for user "postgres"


In PDOConnection.php line 27:

  SQLSTATE[08006] [7] FATAL:  password authentication failed for user "postgres"


make: *** [Makefile:26: migration] Error 1
0

W konsoli z docker-compose up co chwila:

db_1             | 2020-03-11 15:30:20.088 CET [250] FATAL:  password authentication failed for user "postgres"
db_1             | 2020-03-11 15:30:20.088 CET [250] DETAIL:  Role "postgres" does not exist.
db_1             |      Connection matched pg_hba.conf line 95: "host all all all md5"
1

Ustaw w pliku .env np. taką konfigurację:

DB_HOST=db
DB_DATABASE=coyote
DB_USERNAME=coyote
DB_PASSWORD=coyote

I spróbuj postawić bazę ponownie. Nie ma szans aby to nie działało. Zobacz na logi serwera CI: https://travis-ci.org/github/adam-boduch/coyote

Każdy push do gita powoduje budowanie stawianie całego projektu od nowa oraz odpalanie testów. Rzeczywiście jednak ostatnio zrobiliśmy migrację na Postgresa 11 i stąd też wynikają Twoje problemy. Wcześniej baza mogła działać bez ustawionego hasła.

0

U mnie poszło po ustawieniu DB_PASSWORD=coyote w .env. Teraz mam błąd już z aplikacji w przeglądarce:
To wyświetla się po lewej stronie

Twig \ Error \ RuntimeError
An exception has been thrown during the rendering of a template ("The webpack manifest does not exist.") in "layout" at line 22.
Previous exceptions
The webpack manifest does not exist. (0)

i taki kod po prawej z zaznaczoną linią 230:
/var/www/vendor/twig/twig/src/Template.php:
230: $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);

0

Prawdopodobnie brakuje Ci jeszcze jednej rzeczy. Mianowicie, w repo nie są przechowywane pliki CSS. Są w postaci kodu SCSS. Zgodnie z tym co jest napisane w README, musisz wykonać takie polecenie, które wykona wszystkie potrzebne czynności, a mianowicie:

  • ustawienie domyślnych danych w bazie
  • transformacja kodu ES6 JavaScript
  • przekształcenie kodu SASS to CSS

Polecenie o którym mowa to docker-compose exec php make install-dev

0
Adam Boduch napisał(a):

Ustaw w pliku .env np. taką konfigurację:

DB_HOST=db
DB_DATABASE=coyote
DB_USERNAME=coyote
DB_PASSWORD=coyote

Dzięki, udało się. Projekt śmiga. Będzie można testować zmiany przed commitami :)

2

Dodałem informacje do README o m.in. pracy z yarn. Może się przydać :)

0

A na takie coś ktoś wie co poradzić?
Robiłem wszystko od nowa łącznie z klonowaniem repo, usunięciem obrazów z dockera i ponownym uruchomieniem komputera. Wcześniej też miałem ten problem.
Po wykonaniu komendy docker-compose exec php make install-dev paczki się instalowały, aż nagle (górny fragment przekopiowałem, żeby pokazać mniej więcej w którym momencie to wyskakuje):

...
Package manifest generated successfully.
> php artisan clear-compiled
Compiled services and packages files removed!
chmod -R 775 storage/
chmod 775 bootstrap/cache/
php artisan migrate --force
Nothing to migrate.
php artisan db:seed
Seeding: PagesTableSeeder
Seeding: UsersTableSeeder

In Connection.php line 664:

  SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "users_name_unique"
  DETAIL:  Key (name)=(admin) already exists. (SQL: insert into "users" ("date_format", "name", "email", "password",
  "guest_id", "updated_at", "created_at") values (%Y-%m-%d %H:%M, admin, [email protected], $2y$10$VWnJTqmZIKNWe
  mteldbi2OBIB1cQr8zvXZsvYllDrDKQ7yxqMN8S6, f6636802-43a3-40b6-ba45-341d83ba0746, 2020-03-11 18:08:15Europe/Warsaw, 2
  020-03-11 18:08:15Europe/Warsaw) returning "id")


In PDOStatement.php line 123:

  SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "users_name_unique"
  DETAIL:  Key (name)=(admin) already exists.


In PDOStatement.php line 121:

  SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "users_name_unique"
  DETAIL:  Key (name)=(admin) already exists.


make: *** [Makefile:29: seed] Error 1

Dokładny opis wcześniejszych kroków:

  1. Zatrzymałem i usunąłem coyote z dockera
  2. Sklonowałem najnowsze źródła do nowego katalogu.
  3. cd coyote
  4. copy .env.default .env (hasła już nie ustawiam, bo widzę że to zostało zrobione w commicie sprzed 3 godzin)
  5. docker-compose build
    Takie coś pokazuje konsola:
WARNING: The ENABLE_XDEBUG variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_HOST variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_PORT variable is not set. Defaulting to a blank string.
db uses an image, skipping
php uses an image, skipping
cron uses an image, skipping
nginx uses an image, skipping
redis uses an image, skipping
elasticsearch uses an image, skipping
kibana uses an image, skipping
mongo uses an image, skipping
graylog uses an image, skipping
minio uses an image, skipping
mailhog uses an image, skipping
selenium uses an image, skipping
createbuckets uses an image, skipping
  1. docker-compose up -d
WARNING: The ENABLE_XDEBUG variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_HOST variable is not set. Defaulting to a blank string.
WARNING: The XDEBUG_PORT variable is not set. Defaulting to a blank string.
Creating network "coyote" with the default driver
Creating coyote_mongo_1         ... done
Creating coyote_redis_1         ... done
Creating coyote_db_1            ... done
Creating coyote_mailhog_1       ... done
Creating coyote_cron_1          ... done
Creating coyote_minio_1         ... done
Creating coyote_elasticsearch_1 ... done
Creating coyote_php_1           ... done
Creating coyote_kibana_1        ... done
Creating coyote_graylog_1       ... done
Creating coyote_createbuckets_1 ... done
Creating coyote_nginx_1         ... done
Creating coyote_selenium_1      ... done
  1. docker-compose exec php make install-dev
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 175 installs, 0 updates, 0 removals
  - Installing kylekatarnls/update-helper (1.2.0): Downloading (100%)
  - Installing ocramius/package-versions (1.5.1): Downloading (100%)
  - Installing symfony/translation-contracts (v2.0.1): Downloading (100%)
  - Installing symfony/polyfill-mbstring (v1.13.1): Downloading (100%)
...
0

Instalator próbuje dodać do bazy użytkownika admin. Błąd informuje, że taki user już istnieje. Oznacza to, że masz już bazę danych wypełnioną danymi.

W projekcie dane nie są trzymane w kontenerze dockera, ale poza dockerem. Służą do tego tzw. volume. Dzięki czemu, nawet jak usuniesz kontener albo coś się z nim stanie, to dane nie zostaną skasowane. Masz teraz do wyboru dwie opcje.

Usunięcie volumes

W jednym z poprzednich postów napisałem o poleceniu docker-compose volume ls. Pomyłka! Prawidłowe polecenie to docker volume ls. Wyświetla listę wszystkich volume, które możesz usunąć poleceniem docker volume rm <nazwa volume>.

Instalacja projektu z pominięciem bazy danych

Skoro masz bazę danych w projekcie to możesz spróbować innego podejścia. Podaje poszczególne kroki:

  1. yarn install (instalacja pakietów Node.js w node_modules)
  2. yarn run dev ("kompilacja" plików CSS/JS)
  3. php artisan es:create --force && php artisan es:index --force (utworzenie konfiguracji dla Elasticsearch jeżeli nie robiłeś tego wcześniej
  4. php artisan passport:install (opcjonalnie: konfiguracji OAuth dla API 4programmers.net)

Wszystkie te polecenia należy wykonać oczywiście wewnątrz kontenera php. Logowanie: docker-compose exec php bash.

0

Mógłby ktoś sprawdzić u siebie jaki ma Storage Driver i Backing Filesystem? (komenda docker info)

Mam problem z instalacją yarna, podobny błąd przy instalacji przez make install-dev jak i yarn install przez basha. Tutaj wspominają o zmianie filesystemu: https://github.com/yarnpkg/yarn/issues/1381

0

Jaki masz system operacyjny?

Ja co prawda pracuje na Linux, ale na Windows możesz zrobić to samo: mianowicie zainstalować yarn oraz node.js na hoście (czyli nie wewnątrz kontenera dockera ale na swoim "bazowym" systemie).

Mając node.js oraz yarn, robisz po prostu yarn install (instalacja pakietów) oraz następnie yarn run dev (kompilacja). Polecenia te nie wykonujesz wewnątrz kontenera ale na swoim macierzystym systemie.

Ja mam tak:

 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
0

Hmm, no u mnie to samo. Mam Windows 10 Pro 64bit.
Odpaliłem te komendy lokalnie z poziomu katalogu coyote, ale w przeglądarce pod localhost:8880 dalej mam 502 Bad Gateway

0

Czyli w katalogu public masz już pliki JS oraz CSS? Być może ten błąd spowodowany jest czymś innym.

Czy na pewno wszystkie kontenery działają poprawnie (docker ps)? Być może trzeba sprawdzić logi poszczególnych kontenerów. Np. docker-compose logs <kontener> (podstawiasz nazwę kontenera np. php czy nginx)

0

Mam cssy i js. Odpaliłem docker-compose down i docker-compose up -d i teraz zamiast 502 jest po prostu "Ta witryna jest nieosiągalna".
W Docker for Windows widzę, że dla coyote_nginx_1 ma exited(1) z takim logiem

2020/03/12 16:17:21 [crit] 1#1: pread() "/etc/nginx/conf.d/nginx.conf" failed (38: Function not implemented)

nginx: [crit] pread() "/etc/nginx/conf.d/nginx.conf" failed (38: Function not implemented)

i coyote_createbuckets_1 z exit(0)

Added `minio` successfully.

mc: <ERROR> Unable to make bucket `minio/public`. Your previous request to create the named bucket succeeded and you already own it.

mc: <ERROR> Unable to make bucket `minio/local`. Your previous request to create the named bucket succeeded and you already own it.

Access permission for `minio/public` is set to `public`

edit: docker-compose logs... zwraca mi ERROR: No such service kiedy wpisuję nazwy z listy (mam tam np. coyote_php_1 i podobnie wyglądające nazwy. Dla docker-compose logs php sa jakieś NOTICE tylko, a dla ngix ERROR: No such service)

1 użytkowników online, w tym zalogowanych: 0, gości: 1