Comments (15)
Ok.... False alarm. Uploading themes works in Chrome, but I was using Firefox. Resolved the issue.
from docker-wordpress.
@huegelc with this new version it worked just fine installing themes, plugin and activate them. Thanks for your help.
from docker-wordpress.
Hard to say despite that message, but please check your permissions, might find the cause.
from docker-wordpress.
Here is a more complete error after enabling debug in WB:
rror occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wp-includes/update.php on line 502
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/update.php:502) in /var/www/html/wp-includes/option.php on line 837
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/update.php:502) in /var/www/html/wp-includes/option.php on line 838
from docker-wordpress.
With the default configuration I can't upload themes due to 413 Request Entity Too Large
. To remedy this, I added a PHP uploads.ini
, which is picked up by the WP container. At /usr/local/etc/php/conf.d/uploads.ini
in the WP container, it shows:
file_uploads = On
memory_limit = 128M
upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 1800
I also used the USE_NGINX_CONF_FILES=true
.env option on the proxy. At /etc/nginx/conf.d/uploadsize.conf
in the proxy container it shows:
client_max_body_size 2G;
The theme is ~20MB, but returns a 400 Bad Request
. I am able to upload images ~400KB. I have cleared the cache and cookies, but still get this error.
from docker-wordpress.
Maybe because the DNS changed?
Non-authoritative answer:
Name: api.wordpress.org
Address: 198.143.164.251
Try using the new IP:
extra_hosts:
+ - "api.wordpress.org:198.143.164.251"
from docker-wordpress.
What do you mean? Where would I add the WordPress IP?
from docker-wordpress.
https://github.com/huegelc/wordpress-docker-letsencrypt/blob/master/docker-compose.yml
from docker-wordpress.
@huegelc
Have you tried to commenting this out #VIRTUAL_PROTO: https
?
from docker-wordpress.
I tried both IPs you listed above. Still returning 400 Bad Request.
from docker-wordpress.
I´ll take a look at this.
from docker-wordpress.
I'm not sure it is the WP API, as updates to plugins work just fine
from docker-wordpress.
Hmm..I´ve rebuild everything from scratch and I cannot reproduce the issue.
from docker-wordpress.
I can try rebuilding from scratch as well. Were you able to load themes the size of ~20MB?
from docker-wordpress.
Just tried on a brand new VPS, with the new proxy files. Still getting 400 Bad Request
from docker-wordpress.
Related Issues (20)
- can not access https (nginx report 500 Internal Server Error) HOT 4
- Problems creating a second WordPress install with a shared database HOT 2
- First run of docker container and ssl certificate is shown in-secure HOT 8
- admin area not working HOT 1
- How do you backup your wordpress installs? HOT 1
- Wordpress monitoring HOT 1
- Split DB and WP service declarations into a separate docker-compose file HOT 2
- "Error establishing a database connection" while deploying the container, possible problem with passwords that have symbols HOT 1
- please upgrade wpcli with PHP 7.x HOT 1
- issue with the certificate
- SMTP settings HOT 1
- Wordpress cant curl to itself HOT 1
- Lets encrypt certificates are installed with the name of the proxy HOT 1
- Is there a way to host multiple wordpress sites using same db? Or multisite wordpress? HOT 1
- Https: Error Connection HOT 1
- ERROR: Network webproxy declared as external, but could not be found. Please create the network manually using `docker network create webproxy` and try again.
- Usage of REPLACE_ environmental variables. HOT 2
- Get rid of Apache web server in favor of nginx
- wp-config.php missing configuration HOT 4
- wordpress 6.0.2 and mysql 8.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wordpress.