{"action":"created","issue":{"url":"https://api.github.com/repos/wodby/docker4wordpress/issues/39","repository_url":"https://api.github.com/repos/wodby/docker4wordpress","labels_url":"https://api.github.com/repos/wodby/docker4wordpress/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/wodby/docker4wordpress/issues/39/comments","events_url":"https://api.github.com/repos/wodby/docker4wordpress/issues/39/events","html_url":"https://github.com/wodby/docker4wordpress/issues/39","id":391191649,"node_id":"MDU6SXNzdWUzOTExOTE2NDk=","number":39,"title":"MacOS permissions issue (-dev-macos is not working)","user":{"login":"solosik","id":1409152,"node_id":"MDQ6VXNlcjE0MDkxNTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1409152?v=4","gravatar_id":"","url":"https://api.github.com/users/solosik","html_url":"https://github.com/solosik","followers_url":"https://api.github.com/users/solosik/followers","following_url":"https://api.github.com/users/solosik/following{/other_user}","gists_url":"https://api.github.com/users/solosik/gists{/gist_id}","starred_url":"https://api.github.com/users/solosik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solosik/subscriptions","organizations_url":"https://api.github.com/users/solosik/orgs","repos_url":"https://api.github.com/users/solosik/repos","events_url":"https://api.github.com/users/solosik/events{/privacy}","received_events_url":"https://api.github.com/users/solosik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-14T17:02:37Z","updated_at":"2018-12-20T10:49:04Z","closed_at":null,"author_association":"NONE","body":"Hello guys,\r\n\r\nI've moved my project to a new MacOS machine and now it seems that I have a permissions issue.\r\nI will be very appreciated for any help.\r\n\r\nThank you.\r\n\r\n## Issue Description\r\nThe whole wp-content/upload folder is not writable. This issue persists even with additional steps from your local development docs (I'm using -dev-macos PHP tag).\r\n\r\nPlease note also, that I'm using: docker4wordpress + wordpress-composer (WP 5.0.1) + docker-sync.\r\n\r\n## Debug Details\r\n\r\n### Codebase\r\nmounted codebase\r\n  \r\n### Host OS \r\nmacOS Mojave 10.14.2\r\n\r\n### PHP .env variables\r\n```yml\r\n### --- PHP ----\r\n\r\n#PHP_TAG=7.2-dev-4.9.3\r\n#PHP_TAG=7.1-dev-4.9.3\r\n#PHP_TAG=5.6-dev-4.9.3\r\nPHP_TAG=7.2-dev-macos-4.9.3\r\n#PHP_TAG=7.1-dev-macos-4.9.3\r\n#PHP_TAG=5.6-dev-macos-4.9.3\r\n\r\n```\r\n\r\n### docker-sync.yml output\r\n```yml\r\nversion: \"2\"\r\n\r\nsyncs:\r\n  docker-sync:\r\n    src: './'\r\n    sync_userid: '501'\r\n    sync_excludes: ['.gitignore', '.git/', '.idea/']\r\n#  docker-sync-another-project:\r\n#    src: '/absolute/path/to/project/codebase'\r\n#    sync_userid: '1000'\r\n#    sync_excludes: ['.gitignore', '.git/', '.idea/']\r\n\r\n```\r\n\r\n### Docker info output\r\n```\r\nContainers: 8\r\n Running: 8\r\n Paused: 0\r\n Stopped: 0\r\nImages: 8\r\nServer Version: 18.09.0\r\nStorage Driver: overlay2\r\n Backing Filesystem: extfs\r\n Supports d_type: true\r\n Native Overlay Diff: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 468a545b9edcd5932818eb9de8e72413e616e86e\r\nrunc version: 69663f0bd4b60df09991c08812a60108003fa340\r\ninit version: fec3683\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.9.125-linuxkit\r\nOperating System: Docker for Mac\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 1.952GiB\r\nName: linuxkit-025000000001\r\nID: FRU6:JGTF:SGQ5:ISFG:6MBT:WFWB:MBDZ:YI3J:GT6V:GNJ3:I6ML:SVPN\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 93\r\n Goroutines: 111\r\n System Time: 2018-12-14T16:49:33.661341175Z\r\n EventsListeners: 3\r\nHTTP Proxy: gateway.docker.internal:3128\r\nHTTPS Proxy: gateway.docker.internal:3129\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\nProduct License: Community Engine \r\n```\r\n\r\n### Docker compose file\r\n```yml\r\nversion: \"3\"\r\n\r\nservices:\r\n   mariadb:\r\n    image: wodby/mariadb:$MARIADB_TAG\r\n    container_name: \"${PROJECT_NAME}_mariadb\"\r\n    stop_grace_period: 30s\r\n    environment:\r\n      MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD\r\n      MYSQL_DATABASE: $DB_NAME\r\n      MYSQL_USER: $DB_USER\r\n      MYSQL_PASSWORD: $DB_PASSWORD\r\n    volumes:\r\n#      - ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.\r\n      - ./db-data:/var/lib/mysql # I want to manage volumes manually.\r\n\r\n   php:\r\n    image: wodby/wordpress-php:$PHP_TAG\r\n    container_name: \"${PROJECT_NAME}_php\"\r\n    environment:\r\n      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025\r\n      DB_HOST: $DB_HOST\r\n      DB_USER: $DB_USER\r\n      DB_PASSWORD: $DB_PASSWORD\r\n      DB_NAME: $DB_NAME\r\n## Read instructions at https://wodby.com/stacks/wordpress/docs/local/xdebug/\r\n#      PHP_XDEBUG: 1\r\n#      PHP_XDEBUG_DEFAULT_ENABLE: 1\r\n#      PHP_XDEBUG_REMOTE_CONNECT_BACK: 0\r\n#      PHP_IDE_CONFIG: serverName=my-ide\r\n#      PHP_XDEBUG_REMOTE_HOST: 172.17.0.1 # Linux\r\n#      PHP_XDEBUG_REMOTE_HOST: 10.254.254.254 # macOS\r\n#      PHP_XDEBUG_REMOTE_HOST: 10.0.75.1 # Windows\r\n    volumes:\r\n#      - ./:/var/www/html\r\n## For macOS users (https://wodby.com/stacks/wordpress/docs/local/docker-for-mac/)\r\n     # - ./:/var/www/html:cached # User-guided caching\r\n      - docker-sync:/var/www/html # Docker-sync\r\n## For XHProf and Xdebug profiler traces\r\n#      - files:/mnt/files\r\n\r\n   nginx:\r\n    image: wodby/nginx:$NGINX_TAG\r\n    container_name: \"${PROJECT_NAME}_nginx\"\r\n    depends_on:\r\n      - php\r\n    environment:\r\n#      NGINX_PAGESPEED: \"on\"\r\n      NGINX_STATIC_OPEN_FILE_CACHE: \"off\"\r\n      NGINX_ERROR_LOG_LEVEL: debug\r\n      NGINX_BACKEND_HOST: php\r\n      NGINX_VHOST_PRESET: wordpress\r\n      NGINX_SERVER_ROOT: /var/www/html/web\r\n    volumes:\r\n#      - ./:/var/www/html\r\n# Options for macOS users (https://wodby.com/stacks/wordpress/docs/local/docker-for-mac/)\r\n     # - ./:/var/www/html:cached # User-guided caching\r\n      - docker-sync:/var/www/html # Docker-sync\r\n    labels:\r\n      - 'traefik.backend=nginx'\r\n      - 'traefik.port=80'\r\n      - 'traefik.frontend.rule=Host:${PROJECT_BASE_URL}'\r\n\r\n   mailhog:\r\n    image: mailhog/mailhog\r\n    container_name: \"${PROJECT_NAME}_mailhog\"\r\n    labels:\r\n      - 'traefik.backend=mailhog'\r\n      - 'traefik.port=8025'\r\n      - 'traefik.frontend.rule=Host:mailhog.${PROJECT_BASE_URL}'\r\n\r\n#  postgres:\r\n#    image: wodby/postgres:$POSTGRES_TAG\r\n#    container_name: \"${PROJECT_NAME}_postgres\"\r\n#    stop_grace_period: 30s\r\n#    environment:\r\n#      POSTGRES_PASSWORD: $DB_PASSWORD\r\n#      POSTGRES_DB: $DB_NAME\r\n#      POSTGRES_USER: $DB_USER\r\n#    volumes:\r\n#      - ./postgres-init:/docker-entrypoint-initdb.d # Place init file(s) here.\r\n#      - /path/to/postgres/data/on/host:/var/lib/postgresql/data # I want to manage volumes manually.\r\n\r\n#  apache:\r\n#    image: wodby/apache:$APACHE_TAG\r\n#    container_name: \"${PROJECT_NAME}_apache\"\r\n#    depends_on:\r\n#      - php\r\n#    environment:\r\n#      APACHE_LOG_LEVEL: debug\r\n#      APACHE_BACKEND_HOST: php\r\n#      APACHE_VHOST_PRESET: php\r\n#    volumes:\r\n#      - ./:/var/www/html\r\n## For macOS users (https://wodby.com/stacks/wordpress/docs/local/docker-for-mac/)\r\n##      - ./:/var/www/html:cached # User-guided caching\r\n##      - docker-sync:/var/www/html # Docker-sync\r\n#    labels:\r\n#      - 'traefik.backend=apache'\r\n#      - 'traefik.port=80'\r\n#      - 'traefik.frontend.rule=Host:${PROJECT_BASE_URL}'\r\n\r\n#  varnish:\r\n#    image: wodby/varnish:$VARNISH_TAG\r\n#    container_name: \"${PROJECT_NAME}_varnish\"\r\n#    depends_on:\r\n#      - nginx\r\n#    environment:\r\n#      VARNISH_SECRET: secret\r\n#      VARNISH_BACKEND_HOST: nginx\r\n#      VARNISH_BACKEND_PORT: 80\r\n#      VARNISH_PURGE_KEY: key\r\n#      VARNISH_CONFIG_PRESET: wordpress\r\n#      VARNISH_PURGE_EXTERNAL_REQUEST_HEADER: X-Real-IP\r\n#    labels:\r\n#      - 'traefik.backend=varnish'\r\n#      - 'traefik.port=6081'\r\n#      - 'traefik.frontend.rule=Host:varnish.${PROJECT_BASE_URL}'\r\n\r\n#  redis:\r\n#    container_name: \"${PROJECT_NAME}_redis\"\r\n#    image: wodby/redis:$REDIS_TAG\r\n\r\n#  adminer:\r\n#    container_name: \"${PROJECT_NAME}_adminer\"\r\n#    image: wodby/adminer:$ADMINER_TAG\r\n#    environment:\r\n## For PostgreSQL:\r\n##      ADMINER_DEFAULT_DB_DRIVER: pgsql\r\n#      ADMINER_DEFAULT_DB_HOST: $DB_HOST\r\n#      ADMINER_DEFAULT_DB_NAME: $DB_NAME\r\n#    labels:\r\n#      - 'traefik.backend=adminer'\r\n#      - 'traefik.port=9000'\r\n#      - 'traefik.frontend.rule=Host:adminer.${PROJECT_BASE_URL}'\r\n\r\n#  webgrind:\r\n#    image: wodby/webgrind:$WEBGRIND_TAG\r\n#    container_name: \"${PROJECT_NAME}_webgrind\"\r\n#    environment:\r\n#      WEBGRIND_PROFILER_DIR: /mnt/files/xdebug/profiler\r\n#    labels:\r\n#      - 'traefik.backend=webgrind'\r\n#      - 'traefik.port=8080'\r\n#      - 'traefik.frontend.rule=Host:webgrind.${PROJECT_BASE_URL}'\r\n#    volumes:\r\n#      - files:/mnt/files\r\n\r\n   pma:\r\n    image: phpmyadmin/phpmyadmin\r\n    container_name: \"${PROJECT_NAME}_pma\"\r\n    environment:\r\n      PMA_HOST: $DB_HOST\r\n      PMA_USER: $DB_USER\r\n      PMA_PASSWORD: $DB_PASSWORD\r\n      PHP_UPLOAD_MAX_FILESIZE: 1G\r\n      PHP_MAX_INPUT_VARS: 1G\r\n    labels:\r\n      - 'traefik.backend=pma'\r\n      - 'traefik.port=80'\r\n      - 'traefik.frontend.rule=Host:pma.${PROJECT_BASE_URL}'\r\n\r\n#  athenapdf:\r\n#    image: arachnysdocker/athenapdf-service:$ATHENAPDF_TAG\r\n#    container_name: \"${PROJECT_NAME}_athenapdf\"\r\n#    environment:\r\n#      WEAVER_AUTH_KEY: weaver-auth-key\r\n#      WEAVER_ATHENA_CMD: \"athenapdf -S\"\r\n#      WEAVER_MAX_WORKERS: 10\r\n#      WEAVER_MAX_CONVERSION_QUEUE: 50\r\n#      WEAVER_WORKER_TIMEOUT: 90\r\n#      WEAVER_CONVERSION_FALLBACK: \"false\"\r\n\r\n#  blackfire:\r\n#    image: blackfire/blackfire\r\n#    container_name: \"${PROJECT_NAME}_blackfire\"\r\n#    environment:\r\n#      BLACKFIRE_SERVER_ID: XXXXX\r\n#      BLACKFIRE_SERVER_TOKEN: YYYYY\r\n\r\n#  solr:\r\n#    image: wodby/solr:$SOLR_TAG\r\n#    container_name: \"${PROJECT_NAME}_solr\"\r\n#    environment:\r\n#      SOLR_HEAP: 1024m\r\n#    labels:\r\n#      - 'traefik.backend=solr'\r\n#      - 'traefik.port=8983'\r\n#      - 'traefik.frontend.rule=Host:solr.${PROJECT_BASE_URL}'\r\n\r\n#  elasticsearch:\r\n#    image: wodby/elasticsearch:$ELASTICSEARCH_TAG\r\n#    environment:\r\n#      ES_JAVA_OPTS: \"-Xms500m -Xmx500m\"\r\n#    ulimits:\r\n#      memlock:\r\n#        soft: -1\r\n#        hard: -1\r\n\r\n#  kibana:\r\n#    image: wodby/kibana:$KIBANA_TAG\r\n#    depends_on:\r\n#      - elasticsearch\r\n#    labels:\r\n#      - 'traefik.backend=kibana'\r\n#      - 'traefik.port=5601'\r\n#      - 'traefik.frontend.rule=Host:kibana.php.docker.localhost'\r\n\r\n#  node:\r\n#    image: wodby/node:$NODE_TAG\r\n#    container_name: \"${PROJECT_NAME}_node\"\r\n#    working_dir: /app\r\n#    labels:\r\n#      - 'traefik.backend=node'\r\n#      - 'traefik.port=3000'\r\n#      - 'traefik.frontend.rule=Host:front.${PROJECT_BASE_URL}'\r\n#    expose:\r\n#      - \"3000\"\r\n#    volumes:\r\n#      - ./path/to/your/single-page-app:/app\r\n#    command: sh -c 'npm install && npm run start'\r\n\r\n#  memcached:\r\n#    container_name: \"${PROJECT_NAME}_memcached\"\r\n#    image: wodby/memcached:$MEMCACHED_TAG\r\n\r\n#  opensmtpd:\r\n#    container_name: \"${PROJECT_NAME}_opensmtpd\"\r\n#    image: wodby/opensmtpd:$OPENSMTPD_TAG\r\n\r\n#  rsyslog:\r\n#    container_name: \"${PROJECT_NAME}_rsyslog\"\r\n#    image: wodby/rsyslog:$RSYSLOG_TAG\r\n\r\n#  xhprof:\r\n#    image: wodby/xhprof:$XHPROF_TAG\r\n#    restart: always\r\n#    volumes:\r\n#      - files:/mnt/files\r\n#    labels:\r\n#      - 'traefik.backend=xhprof'\r\n#      - 'traefik.port=8080'\r\n#      - 'traefik.frontend.rule=Host:xhprof.${PROJECT_BASE_URL}'\r\n\r\n   portainer:\r\n    image: portainer/portainer\r\n    container_name: \"${PROJECT_NAME}_portainer\"\r\n    command: --no-auth -H unix:///var/run/docker.sock\r\n    volumes:\r\n      - /var/run/docker.sock:/var/run/docker.sock\r\n    labels:\r\n      - 'traefik.backend=portainer'\r\n      - 'traefik.port=9000'\r\n      - 'traefik.frontend.rule=Host:portainer.${PROJECT_BASE_URL}'\r\n\r\n   traefik:\r\n    image: traefik\r\n    container_name: \"${PROJECT_NAME}_traefik\"\r\n    command: -c /dev/null --web --docker --logLevel=INFO\r\n    ports:\r\n      - '8000:80'\r\n#      - '8080:8080' # Dashboard\r\n    volumes:\r\n      - /var/run/docker.sock:/var/run/docker.sock\r\n\r\nvolumes:\r\n## Docker-sync for macOS users\r\n  docker-sync:\r\n    external: true\r\n## For Xdebug profiler\r\n#  files:\r\n```\r\n\r\n### Logs output - php\r\n```\r\ntopdiff_php  | [14-Dec-2018 16:42:29] NOTICE: fpm is running, pid 1\r\ntopdiff_php  | [14-Dec-2018 16:42:29] NOTICE: ready to handle connections\r\ntopdiff_php  | [14-Dec-2018 16:44:25] WARNING: [pool www] child 92 said into stderr: \"NOTICE: PHP message: PHP Warning:  file_put_contents(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: Permission denied in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/filesystem/Filesystem.php on line 122\"\r\ntopdiff_php  | [14-Dec-2018 16:44:25] WARNING: [pool www] child 92 said into stderr: \"NOTICE: PHP message: PHP Warning:  include(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: No such file or directory in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\"\r\ntopdiff_php  | [14-Dec-2018 16:44:25] WARNING: [pool www] child 92 said into stderr: \"NOTICE: PHP message: PHP Warning:  include(): Failed opening '/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\"\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:44:25 +0000 \"GET /index.php\" 200\r\ntopdiff_php  | [14-Dec-2018 16:44:27] WARNING: [pool www] child 93 said into stderr: \"NOTICE: PHP message: PHP Warning:  file_put_contents(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: Permission denied in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/filesystem/Filesystem.php on line 122\"\r\ntopdiff_php  | [14-Dec-2018 16:44:27] WARNING: [pool www] child 93 said into stderr: \"NOTICE: PHP message: PHP Warning:  include(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: No such file or directory in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\"\r\ntopdiff_php  | [14-Dec-2018 16:44:27] WARNING: [pool www] child 93 said into stderr: \"NOTICE: PHP message: PHP Warning:  include(): Failed opening '/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\"\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:44:27 +0000 \"GET /index.php\" 200\r\ntopdiff_php  | [14-Dec-2018 16:44:28] WARNING: [pool www] child 92 said into stderr: \"NOTICE: PHP message: PHP Warning:  file_put_contents(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: Permission denied in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/filesystem/Filesystem.php on line 122\"\r\ntopdiff_php  | [14-Dec-2018 16:44:28] WARNING: [pool www] child 92 said into stderr: \"NOTICE: PHP message: PHP Warning:  include(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: No such file or directory in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\"\r\ntopdiff_php  | [14-Dec-2018 16:44:28] WARNING: [pool www] child 92 said into stderr: \"NOTICE: PHP message: PHP Warning:  include(): Failed opening '/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\"\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:44:28 +0000 \"GET /index.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:44:30 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:44:35 +0000 \"POST /wp-admin/async-upload.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:45:30 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:46:30 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:48:32 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:49:32 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:50:32 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:51:32 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:52:32 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:53:32 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\ntopdiff_php  | 172.18.0.8 -  14/Dec/2018:16:55:42 +0000 \"POST /wp-admin/admin-ajax.php\" 200\r\n```\r\n\r\n### Logs output - nginx\r\n```\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: using the \"epoll\" event method\r\ntopdiff_nginx | 2018/12/14 16:42:29 [info] 1#1: [ngx_pagespeed 1.13.35.2-0] SharedMemCache: pagespeed_default_shm/metadata_cache, sectors = 128, entries/sector = 2226,  64-byte blocks/sector = 4452, total footprint: 52445184\r\ntopdiff_nginx | 2018/12/14 16:42:29 [info] 1#1: [ngx_pagespeed 1.13.35.2-0] Initializing shared memory for path: /var/cache/ngx_pagespeed/ flush .\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: nginx/1.15.6\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0) \r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: OS: Linux 4.9.125-linuxkit\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: start worker processes\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: start worker process 45\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: start worker process 46\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: start worker process 47\r\ntopdiff_nginx | 2018/12/14 16:42:29 [notice] 1#1: start worker process 48\r\ntopdiff_nginx | 2018/12/14 16:42:29 [info] 45#45: [ngx_pagespeed 1.13.35.2-0] Reusing shared memory for path: /var/cache/ngx_pagespeed/ flush .\r\ntopdiff_nginx | 2018/12/14 16:42:29 [info] 47#47: [ngx_pagespeed 1.13.35.2-0] Reusing shared memory for path: /var/cache/ngx_pagespeed/ flush .\r\ntopdiff_nginx | 2018/12/14 16:42:29 [info] 46#46: [ngx_pagespeed 1.13.35.2-0] Reusing shared memory for path: /var/cache/ngx_pagespeed/ flush .\r\ntopdiff_nginx | 2018/12/14 16:42:29 [info] 48#48: [ngx_pagespeed 1.13.35.2-0] Reusing shared memory for path: /var/cache/ngx_pagespeed/ flush .\r\ntopdiff_nginx | 2018/12/14 16:44:25 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/\", client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 2018/12/14 16:44:25 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/index.php\", client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 2018/12/14 16:44:25 [error] 45#45: *1 FastCGI sent in stderr: \"PHP message: PHP Warning:  file_put_contents(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: Permission denied in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/filesystem/Filesystem.php on line 122\r\ntopdiff_nginx | PHP message: PHP Warning:  include(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: No such file or directory in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\r\ntopdiff_nginx | PHP message: PHP Warning:  include(): Failed opening '/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\" while reading response header from upstream, client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", upstream: \"fastcgi://172.18.0.4:9000\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:44:25 +0000] \"GET / HTTP/1.1\" 200 347 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:44:27 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/\", client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 2018/12/14 16:44:27 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/index.php\", client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 2018/12/14 16:44:27 [error] 45#45: *1 FastCGI sent in stderr: \"PHP message: PHP Warning:  file_put_contents(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: Permission denied in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/filesystem/Filesystem.php on line 122\r\ntopdiff_nginx | PHP message: PHP Warning:  include(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: No such file or directory in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\r\ntopdiff_nginx | PHP message: PHP Warning:  include(): Failed opening '/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\" while reading response header from upstream, client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", upstream: \"fastcgi://172.18.0.4:9000\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:44:27 +0000] \"GET / HTTP/1.1\" 200 347 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:44:28 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/\", client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 2018/12/14 16:44:28 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/index.php\", client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:44:28 +0000] \"GET / HTTP/1.1\" 200 347 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:44:28 [error] 45#45: *1 FastCGI sent in stderr: \"PHP message: PHP Warning:  file_put_contents(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: Permission denied in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/filesystem/Filesystem.php on line 122\r\ntopdiff_nginx | PHP message: PHP Warning:  include(/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php): failed to open stream: No such file or directory in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\r\ntopdiff_nginx | PHP message: PHP Warning:  include(): Failed opening '/var/www/html/web/wp-content/uploads/cache/1c90c6f62738a1c4e06e5e79254a3b93fadb4109.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/web/wp-content/themes/topdifference/vendor/illuminate/view/Engines/PhpEngine.php on line 43\" while reading response header from upstream, client: 172.18.0.3, server: default, request: \"GET / HTTP/1.1\", upstream: \"fastcgi://172.18.0.4:9000\", host: \"topdiff.docker.localhost:8000\"\r\ntopdiff_nginx | 2018/12/14 16:44:30 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:44:30 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:44:35 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/wp-admin/async-upload.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/async-upload.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 2018/12/14 16:44:35 [warn] 45#45: *1 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000001, client: 172.18.0.3, server: default, request: \"POST /wp-admin/async-upload.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:44:35 +0000] \"POST /wp-admin/async-upload.php HTTP/1.1\" 200 171 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:45:30 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:45:30 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:46:30 [notice] 45#45: *1 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:46:30 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:48:32 [notice] 45#45: *9 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:48:32 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:49:32 [notice] 45#45: *9 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:49:32 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:50:32 [notice] 45#45: *9 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:50:32 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:51:32 [notice] 45#45: *9 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:51:32 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\ntopdiff_nginx | 2018/12/14 16:52:32 [notice] 45#45: *9 \"/wp-admin$\" does not match \"/wp-admin/admin-ajax.php\", client: 172.18.0.3, server: default, request: \"POST /wp-admin/admin-ajax.php HTTP/1.1\", host: \"topdiff.docker.localhost:8000\", referrer: \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\"\r\ntopdiff_nginx | 172.18.0.3 - - [14/Dec/2018:16:52:32 +0000] \"POST /wp-admin/admin-ajax.php HTTP/1.1\" 200 78 \"http://topdiff.docker.localhost:8000/wp-admin/upload.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/wodby/docker4wordpress/issues/comments/448954441","html_url":"https://github.com/wodby/docker4wordpress/issues/39#issuecomment-448954441","issue_url":"https://api.github.com/repos/wodby/docker4wordpress/issues/39","id":448954441,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODk1NDQ0MQ==","user":{"login":"solosik","id":1409152,"node_id":"MDQ6VXNlcjE0MDkxNTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1409152?v=4","gravatar_id":"","url":"https://api.github.com/users/solosik","html_url":"https://github.com/solosik","followers_url":"https://api.github.com/users/solosik/followers","following_url":"https://api.github.com/users/solosik/following{/other_user}","gists_url":"https://api.github.com/users/solosik/gists{/gist_id}","starred_url":"https://api.github.com/users/solosik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solosik/subscriptions","organizations_url":"https://api.github.com/users/solosik/orgs","repos_url":"https://api.github.com/users/solosik/repos","events_url":"https://api.github.com/users/solosik/events{/privacy}","received_events_url":"https://api.github.com/users/solosik/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T10:49:04Z","updated_at":"2018-12-20T10:49:04Z","author_association":"NONE","body":"Thank you for your answer and your time.\r\n\r\nI will try again from scratch with the latest version 5.4.0.\r\n\r\nI'm using a Sage starter theme from Roots that uses Blade as its templates engine.\r\nNormally after refresh, all built Blade templates should be stores inside wp-content/uploads/cache folder, but since it doesn't have write permissions it can't put them there. Cache folder is always empty.\r\n\r\nAs well as media upload is not working due to the same permissions issues.\r\n\r\nIf I'm setting write permissions and www-data user manually, everything is working fine, just as expected."}}
{"actor":{"display_login":"solosik"}}