10up / wp-local-docker-v2

ARCHIVED: A simple Docker based development environment for WordPress.
MIT License
484 stars 81 forks source link

403 Forbidden (Image file) #141

Open varvino opened 4 years ago

varvino commented 4 years ago

Describe the bug

Steps to Reproduce

  1. Fresh install Xubuntu 20.0.4 on VirtualBox
  2. 10updocker create with default settings
  3. 403 Forbidden error on images in theme directory and recursive directories

Expected behavior

Have the image show up.

Environment information



version: 5.4.2
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: false
user_registration: 0
default_comment_status: open
multisite: false
user_count: 1
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /var/www/html
wordpress_size: 39.45 MB (41366923 bytes)
uploads_path: /var/www/html/wp-content/uploads
uploads_size: 5.56 MB (5825857 bytes)
themes_path: /var/www/html/wp-content/themes
themes_size: 108.00 MB (113243596 bytes)
plugins_path: /var/www/html/wp-content/plugins
plugins_size: 10.33 MB (10836105 bytes)
database_size: 1.16 MB (1212416 bytes)
total_size: 164.49 MB (172484897 bytes)

### wp-active-theme ###

name: Name
version: undefined
author: Name
author_website: (undefined)
parent_theme: none
theme_features: automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, menus
theme_path: /var/www/html/wp-content/themes/theme

### wp-themes-inactive (1) ###

Twenty Twenty: version: 1.4, author: the WordPress team

### wp-mu-plugins (1) ###

portfolio-custom-post-types.php: author: (undefined), version: (undefined)

### wp-plugins-active (6) ###

Advanced Custom Fields PRO: version: 5.8.7, author: Elliot Condon (latest version: 5.8.12)
All-in-One WP Migration: version: 6.77, author: ServMask (latest version: 7.25)
Classic Editor: version: 1.5, author: WordPress Contributors
Contact Form 7: version: 5.2.1, author: Takayuki Miyoshi
Timber: version: 1.16.0, author: Jared Novack + Upstatement (latest version: 1.17.0)
WordPress Importer: version: 0.7, author: wordpressdotorg

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1690
imagemagick_version: ImageMagick 6.9.10-86 Q16 x86_64 2020-01-13 https://imagemagick.org
imagick_limits: 
    imagick::RESOURCETYPE_AREA: 16 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 786432
    imagick::RESOURCETYPE_MAP: 16 GB
    imagick::RESOURCETYPE_MEMORY: 8 GB
    imagick::RESOURCETYPE_THREAD: 4
gd_version: 2.2.5
ghostscript_version: not available

### wp-server ###

server_architecture: Linux 5.4.0-42-generic x86_64
httpd_software: nginx/1.19.1
php_version: 7.3.20 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 30
memory_limit: 256M
max_input_time: 60
upload_max_size: 150m
php_post_max_size: 150m
curl_version: 7.61.1 OpenSSL/1.1.1c
suhosin: false
imagick_availability: true

### wp-database ###

extension: mysqli
server_version: 5.7.31
client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/html/wp-content
WP_PLUGIN_DIR: /var/www/html/wp-content/plugins
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_LOCAL_DEV: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable```
tylercherpak commented 2 years ago

Hey @varvino

Is this still an issue on the latest version of wp-local-docker? You can update my running npm i -g wp-local-docker. Let me know if you have any questions. Thanks.