Git Product home page Git Product logo

Comments (15)

avidsapp avatar avidsapp commented on August 24, 2024 2

Ok.... False alarm. Uploading themes works in Chrome, but I was using Firefox. Resolved the issue.

from docker-wordpress.

evertramos avatar evertramos commented on August 24, 2024 1

@huegelc with this new version it worked just fine installing themes, plugin and activate them. Thanks for your help.

from docker-wordpress.

evertramos avatar evertramos commented on August 24, 2024

Hard to say despite that message, but please check your permissions, might find the cause.

from docker-wordpress.

chuegel avatar chuegel commented on August 24, 2024

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.

avidsapp avatar avidsapp commented on August 24, 2024

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.

chuegel avatar chuegel commented on August 24, 2024

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.

avidsapp avatar avidsapp commented on August 24, 2024

What do you mean? Where would I add the WordPress IP?

from docker-wordpress.

chuegel avatar chuegel commented on August 24, 2024

https://github.com/huegelc/wordpress-docker-letsencrypt/blob/master/docker-compose.yml

from docker-wordpress.

evertramos avatar evertramos commented on August 24, 2024

@huegelc

Have you tried to commenting this out #VIRTUAL_PROTO: https?

from docker-wordpress.

avidsapp avatar avidsapp commented on August 24, 2024

I tried both IPs you listed above. Still returning 400 Bad Request.

from docker-wordpress.

chuegel avatar chuegel commented on August 24, 2024

I´ll take a look at this.

from docker-wordpress.

avidsapp avatar avidsapp commented on August 24, 2024

I'm not sure it is the WP API, as updates to plugins work just fine

from docker-wordpress.

chuegel avatar chuegel commented on August 24, 2024

Hmm..I´ve rebuild everything from scratch and I cannot reproduce the issue.

from docker-wordpress.

avidsapp avatar avidsapp commented on August 24, 2024

I can try rebuilding from scratch as well. Were you able to load themes the size of ~20MB?

from docker-wordpress.

avidsapp avatar avidsapp commented on August 24, 2024

Just tried on a brand new VPS, with the new proxy files. Still getting 400 Bad Request

from docker-wordpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.