mwalbeck / docker-flox

Docker image for Flox
MIT License
4 stars 2 forks source link

Failed to open dir #1

Closed TheDaveAbides closed 2 years ago

TheDaveAbides commented 2 years ago

I get these errors when running and the container stops. I've never successfully started the container. Any thoughts?

Class ParsedownExtraTest located in ./vendor/erusev/parsedown-extra/test/ParsedownExtraTest.php does not comply with psr-0 autoloading standard. Skipping.
25 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
In UniformResourceIterator.php line 109:

  Failed to open dir: plugins:// does not exist.  

p.s. I am not a programer, just someone getting started with self hosting.

mwalbeck commented 2 years ago

Hi, could your post your docker configuration for the container? Then I can better help you out

TheDaveAbides commented 2 years ago

I run Docker in Windows, and install with docker-compose using Portainer. I change the appropriate env variables.

It seems like it starts the process correctly, but then it repeats the "Failed to open dir"

 - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing guzzlehttp/psr7 (1.8.3): Extracting archive
  - Installing itsgoingd/clockwork (v5.1.4): Extracting archive
  - Installing seld/cli-prompt (1.0.4): Extracting archive
  - Installing league/climate (3.8.1): Extracting archive
  - Installing matthiasmullie/path-converter (1.1.3): Extracting archive
  - Installing matthiasmullie/minify (1.3.66): Extracting archive
  - Installing symfony/polyfill-php80 (v1.24.0): Extracting archive
  - Installing symfony/var-dumper (v4.4.37): Extracting archive
  - Installing maximebf/debugbar (v1.17.3): Extracting archive
  - Installing miljar/php-exif (v0.6.5): Extracting archive
  - Installing monolog/monolog (1.26.1): Extracting archive
  - Installing psr/http-factory (1.0.1): Extracting archive
  - Installing php-http/message-factory (v1.0.2): Extracting archive
  - Installing nyholm/psr7 (1.5.0): Extracting archive
  - Installing nyholm/psr7-server (1.0.2): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing psr/container (1.1.1): Extracting archive
  - Installing psr/http-server-handler (1.0.1): Extracting archive
  - Installing psr/http-server-middleware (1.0.1): Extracting archive
  - Installing psr/simple-cache (1.0.1): Extracting archive
  - Installing rhukster/dom-sanitizer (1.0.6): Extracting archive
  - Installing symfony/polyfill-ctype (v1.24.0): Extracting archive
  - Installing symfony/yaml (v4.4.37): Extracting archive
  - Installing symfony/polyfill-php81 (v1.24.0): Extracting archive
  - Installing symfony/contracts (v1.1.11): Extracting archive
  - Installing symfony/event-dispatcher (v4.4.37): Extracting archive
  - Installing pimple/pimple (v3.5.0): Extracting archive
  - Installing rockettheme/toolbox (1.6.0): Extracting archive
  - Installing symfony/console (v4.4.37): Extracting archive
  - Installing symfony/http-client (v4.4.37): Extracting archive
  - Installing symfony/polyfill-iconv (v1.24.0): Extracting archive
  - Installing symfony/polyfill-php74 (v1.24.0): Extracting archive
  - Installing symfony/process (v4.4.37): Extracting archive
  - Installing twig/twig (v1.44.6): Extracting archive
  - Installing willdurand/negotiation (3.1.0): Extracting archive
  0/50 [>---------------------------]   0%
 10/50 [=====>----------------------]  20%
 30/50 [================>-----------]  60%
 50/50 [============================] 100%
Generating optimized autoload files
Class ParsedownExtraTest located in ./vendor/erusev/parsedown-extra/test/ParsedownExtraTest.php does not comply with psr-0 autoloading standard. Skipping.
25 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

In UniformResourceIterator.php line 109:

  Failed to open dir: plugins:// does not exist.  

install [-s|--symlink] [-p|--plugin PLUGIN] [-t|--theme THEME] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--env [ENV]] [--lang [LANG]] [--] <command> [<destination>]

usermod: no changes

In UniformResourceIterator.php line 109:
mwalbeck commented 2 years ago

Oh, I think I see the problem here. There is an issue with my example docker-compose file. I copied it from one of my other projects and forgot to update the image, so the issue is you aren't actually trying to run the flox image. If updated the README so the example docker-compose should be good now.

TheDaveAbides commented 2 years ago

Thanks, I think it's doing what it's supposed to do now.

Now I need to figure out what to do with the nginx config example. Like I said, pretty new at this.